Skip to content

test: expect the re-vendored revision's activation event in the server restart journey - #5779

Merged
max-sixty merged 1 commit into
mainfrom
fix/server-lifetime-activation-event
Nov 9, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/server-lifetime-activation-event

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Since #5716, test_init_restarts_a_served_page_onto_the_replacement_contract fails in both of its cases ([session] and [persistent]) on Linux and macOS. In scheduled run 42604289041 it failed with assert ['note', 'comment', 'activation'] == ['note', 'comment'].

#5716 added the activation event, which a page read appends when it activates a revision that no reply or note names. Re-vendoring a served page onto a new layer makes such a revision, so the replacement server's first read writes one. #5716 updated the model test for the same case (test_revendoring_serializes_with_a_worker_report_entering_the_log expects ["report", "activation"]). It missed this journey, which runs only nightly. The journey now expects the activation for revision 2, after the one comment. It still checks that the retried comment wasn't taken twice. The test's coverage of the restart itself is unchanged: the URL, lifetime, claim and revision contract carry over.

Both cases fail on main 28c3b37f3 with --run-nightly and pass with this change.

Refs #4225 — automated triage

…r restart journey

#5716 made a page read that activates a new revision append an `activation`
event naming its bundle. Re-vendoring a served page onto a new layer is such a
revision, so the replacement server's first read now writes one after the
comment it took. The journey still expected the log to hold only the note and
the comment, and it runs only nightly, so #5716's own CI never ran it. The
journey now expects that activation for revision 2, and still checks that the
retried comment was not taken twice.

Refs #4225
@max-sixty
max-sixty merged commit c00ab24 into main Nov 9, 2026
6 checks passed
@max-sixty
max-sixty deleted the fix/server-lifetime-activation-event branch November 9, 2026 14:27
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.

2 participants