ci: escape regex metacharacters in baseline links for .lycheeignore #744
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 164 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.305
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #744"
general
weight: 0.35
f-hollow
Description
The
pr-check-linksworkers append the baseline link dump verbatim to.lycheeignore, whose lines lychee parses as regexes. Any baseline URL containing regex metacharacters aborts the whole check with a parse error before a single link is verified.This is live on
maintoday: the provisioning QR-code URL incontent/blog/2026/05/simple-provisioning/(qrcode.html?data={%22ver%22...}) contains{...}, which lychee rejects as an invalid repetition quantifier:As a result, every PR whose diff touches the
blog_0-9a-fbucket currently failscheck-linksregardless of its own links (seen on #742, whereblog_0-9a-ffails andblog_g-zpasses).The fix escapes regex metacharacters in the baseline dump before appending, so baseline URLs match literally.
Related
Testing
Verified the sed transform on the offending URL:
which is a valid regex matching the URL literally.