Commit 03b5b49
committed
Address carbolymer review on PR #1180
- Add changelog fragment with single-line description (no hard wraps in
the YAML block scalar).
- derive_name_candidates: cap at two-token names. The previous loop
emitted a single-token URL like cardano.cardano.intersectmbo.org as
its last candidate. If that subdomain ever resolves (wildcard DNS,
future deploy, catch-all), probe_site would silently accept it and
rewrite every cardano-* link to the wrong site. An early break after
the suffix strip prevents the heuristic from ever emitting a URL
whose subdomain is a single bare token.
- Add --retry 3 --retry-delay 2 --retry-all-errors to all five curl
sites. Every probe was previously a single-shot attempt (5s connect,
10s max). Worst case: Phase 3 validation downgrades a perfectly
valid rewritten URL into an unclickable <span>, silently shipping a
regression. Other failure modes: probe_site falling through to a
wrong candidate, or the CHaP index fetch killing the whole build on
a CDN hiccup.1 parent c5c01a0 commit 03b5b49
2 files changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
157 | 160 | | |
158 | 161 | | |
159 | 162 | | |
160 | | - | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
345 | 349 | | |
346 | 350 | | |
347 | 351 | | |
348 | | - | |
| 352 | + | |
349 | 353 | | |
350 | 354 | | |
351 | 355 | | |
| |||
408 | 412 | | |
409 | 413 | | |
410 | 414 | | |
411 | | - | |
| 415 | + | |
412 | 416 | | |
413 | 417 | | |
414 | 418 | | |
| |||
456 | 460 | | |
457 | 461 | | |
458 | 462 | | |
459 | | - | |
| 463 | + | |
460 | 464 | | |
461 | 465 | | |
462 | 466 | | |
| |||
0 commit comments