Skip to content

Recover failed staging and verify concurrent successful generation cutover - #521

Merged
zzylol merged 3 commits into
mainfrom
test/successful-generation-cutover
Sep 8, 2026
Merged

zzylol merged 3 commits into
mainfrom
test/successful-generation-cutover

Conversation

@zzylol

@zzylol zzylol commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Before this PR

A failed Collector publication left the backend staging slot occupied, so retrying the same successor returned 409. Successful cutover under concurrent HTTP queries was not exercised.

After this PR

Failed Collector publication discards only its staged backend generation. Active generations cannot be discarded. The production-process test retries successfully while 40 requests run, verifies consistent results, rejects retired-generation writes, and consumes the successor generation through the real Collector Rust runtime.

Verification

The extended process regression failed before cleanup and passes after it. Focused lifecycle tests verify retry and active-reader protection. Stacked on #520; no automatic merge. This tests a same-semantic runtime generation successor, not arbitrary semantic workload replacement.

@zzylol
zzylol changed the base branch from test/collector-runtime-shared-updates to main September 8, 2026 20:18
@zzylol
zzylol merged commit efdcc31 into main Sep 8, 2026
1 check passed
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