Simplify versioned doc redirects with a single version regex #233
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 194 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.315
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #233"
general
weight: 0.35
He-Pin
Replaces the per-version rewrite rules in
.htaccess(one block of docs/api/japi rules for everyx.y,x.y.zandx.y.z-Mnrelease) with a single pattern per doc type:New releases and milestones no longer need
.htaccesschanges. Only the per-projectcurrentpins still need updating when a project's latest version line changes.Also removes the trailing
snapshotrules, which repeated the rules at the top of the file and could never match.Behaviour
I checked the old and new files side by side on a local Apache httpd, with
[P]swapped for[R]so the target URLs were visible:1.0,1.7.1,1.4.2,1.2.0-M2,2.0.0-M4),current(both the pinned projects and themain-snapshotfallback) andsnapshotgo to the same targets as before.2.0.0-M5) are now proxied to nightlies, which serves its own 404 if the docs don't exist. Before, they 404'd on pekko.apache.org.1x7matched by accident. They no longer match.-RCnversions still aren't matched.content/.htaccessis the same copy ofsrc/main/public/.htaccess.This conflicts with #232 (http 1.4.2 release), which adds a 1.4.2 block. Whichever is merged second should drop that block, because the regex already covers 1.4.2.
🤖 Generated with Claude Code