Repository navigation
fix(platform): quarantine legacy runs at protocol cutover - #4539
Merged
Merged
Conversation
yannickmonney
marked this pull request as ready for review
October 8, 2026 10:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first upgrade to automation run leases can otherwise let a previous image claim or replay unfinished work without the new lease/effect protocol. Migration 0163 atomically puts unfinished legacy runs on hold, preserves their original state and evidence, and rejects incompatible execution writes. Five existing execution queues receive a shared protocol mapping, so old workers cannot consume newly admitted work.
Held runs remain visible and occupy their task. An authorized, exact-identity Request stop records the decision and requests owned session cancellation while keeping the outcome unknown and the hold in place. UI, REST/OpenAPI and EN/DE/FR documentation expose that distinction. The CLI refuses targets below the installed ledger or any installed writer capability before mutation.
Compatibility and limits
Validation status
Current head
f1dc6f93combines the independently reviewed cutover and CI repairs with main's parser repair (1c5cb8b0). The merge preserves all 147 nonshared feature files and 21 nonshared parser files byte for byte; the shared manual register contains both sets of entries. Normal commit hooks and current scoped format, conflict and manual guards pass. Fresh complete hosted validation is required before merge.The previous head
017a1dd4passed actual 1,740/1,740 backend checks across 236/236 lanes, with no required lane skipped. Its other CI jobs exposed type, formatting, unused-code, queue-fixture, organization-writer-fixture and build-metadata defects. Those failures remain visible. The reviewed repairs preserve the assertions and add missing-source refusal coverage; causal focused tests pass. Docker protocol validation now precedes version metadata, and the final image retains both labels. These changes require fresh current-head CI; the earlier native result is not a result for this head.The original 144-file predecessor also passed the complete isolated native harness (1,734/1,734 over 235/235). Current-source hosted checks own final acceptance while shared local resources are constrained.
Checklist
Test plan