You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] test_scaffold_doc_matches_root_sssot fails on dev — byte-identity assertion is banner-unaware #1060
tests/test_scaffold_downstream_release_doc.py::test_scaffold_doc_matches_root_sssot (added in #1051) asserts byte-identity between the root docs/DOWNSTREAM_RELEASE.md SSoT and the scaffold copy. #1043's provenance banner stamps a 3-line HTML-comment banner on the scaffold copy, so the assertion has failed on dev since the #1043 merge (verified locally on current dev tip: 1 failed, 2 passed).
Same lesson as the is_transformed fix inside #1043: identity assertions over manifest-synced files must be banner-aware.
Why CI didn't catch it
The test file never runs in CI — see the companion issue about the Project Checks pytest scope. The two bugs compound: an unrun test that silently went red.
Fix
Make the comparison banner-aware: strip the banner block (reuse/expose the Banner transform's own strip helper from scripts/transforms.py — do not re-implement the banner shape) from the scaffold copy before comparing, so the assertion still guards real content drift.
Fixed in #1065 (merged to dev): the identity assertion strips the banner via the new transforms.strip_banner() — the Banner transform's own inverse, not a re-encoded shape — and still guards real content drift.
Activity
fix(setup): resolve scaffolded references to unshipped docs and add t…
fix(ci): banner-aware doc identity test and full shape-test coverage …
c-vigo commentedon Jul 14, 2026
Fixed in #1065 (merged to dev): the identity assertion strips the banner via the new transforms.strip_banner() — the Banner transform's own inverse, not a re-encoded shape — and still guards real content drift.
chore: release 1.2.0 (#253)
chore: release 1.2.0 (#1068)