Commit dd4beba
fix: target the AHB tables' current Formatversion, not a pinned one
AHB_PID_URL pointed at /ahb/FV2604/{pid}. It is the pipeline's single source of
truth for AHB deep links: makoralle's markdown serializer formats it directly,
and makorele's sequence-diagram renderer splits it on {pid} into the PRE/SUF the
viewer HTML bakes in — which the web app reads back as overlay.ahbBase for the
clickable PIDs. So one pinned FV froze every generated artifact to the version it
happened to be rendered with, and those links rot when the next FV publishes.
Point it at /ahb/current/ instead, and guard the constant in test_config.py so it
cannot silently regress to a pinned FV.
Verified /ahb/current/ serves the PIDs used in the tests (55001, 17115, 19116).
The split now yields SUF = "", which the viewer template concatenates, so it is a
no-op there.
NOTE this does not retro-fix already-rendered artifacts: the dataset's committed
viewer HTMLs still carry PRE = ".../ahb/FV2604/". Updating those is a text
substitution in the data repo, the same mechanism recolor_sequence_svgs used for
the palette work — no re-render, no Vision cost.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent f32966b commit dd4beba
3 files changed
Lines changed: 28 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments