Skip to content

fix(tests): count rehearsal-authored provenance statements in the guide - #199

Merged
alphastorm merged 1 commit into
mainfrom
fix/rehearsal-provenance-count
Nov 17, 2026
Merged

alphastorm merged 1 commit into
mainfrom
fix/rehearsal-provenance-count

Conversation

@alphastorm

Copy link
Copy Markdown
Owner

The carry-all rehearsal test asserted that the successor guide always contains the generated component-provenance statement. The rehearsal only authors that statement when it replaces copied provenance claims in the predecessor guide. The v0.20.0 guide has no such claims, so once v0.20.0 is ready the rehearsal authors nothing and the assertion fails. v0.20.0 finalization's suite hit this failure, and main's CI would hit it after publication.

The test now asserts that the guide holds exactly as many generated statements as the rehearsal reports authoring. It still checks that every authored statement survives retargeting.

Verification:

  • run_tests.py --pattern test_release_rehearsal.py on main (v0.19.0 predecessor, claims authored): 2 tests OK.
  • The same test on a clone of the finalized v0.20.0 release head (no claims): ran without skipping, OK. It failed before the change.

- The carry-all rehearsal replaces copied provenance claims in the predecessor guide with the generated statement.
- A predecessor guide without such claims (v0.20.0 onward) needs none, so assert the guide holds exactly as many generated statements as the rehearsal authored.
@alphastorm
alphastorm merged commit bab43d7 into main Nov 17, 2026
9 checks passed
@alphastorm
alphastorm deleted the fix/rehearsal-provenance-count branch November 17, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant