This repository was archived by the owner on Aug 4, 2026. It is now read-only.
Commit 6e891ff
committed
fix: make the redirect gate actually gate, and stop fighting the canonical
Both from CodeRabbit's review, both real.
The coverage check called pytest.skip when the mkdocs build failed. A skip
exits pytest 0, so the workflow would have read it as a pass and deployed
redirects that had never been compared against the site they replace — on the
one deploy that cannot be redone afterwards. The skip bought a quieter local
run without mkdocs installed and paid for it with the entire point of the
check. It fails now; verified by moving mkdocs.yml aside, which turns both
tests red instead of green.
The stubs also carried robots: noindex, which contradicts the rel=canonical
sitting two lines above it — one asks a crawler to consolidate the page onto
the new URL, the other asks it to drop the page, and the second can stop the
first from being acted on or carry across to the target. The comment in this
file claimed the canonical was what moved search ranking while the markup was
undermining it. Removed, with a note on why it is not an oversight.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U9zFxq8V4qxG4aMzJhGBFn1 parent 5157c71 commit 6e891ff
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
65 | | - | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
0 commit comments