Repository navigation
fix(desktop): unblock the release lane's INV-6 contract self-check - #10912
Merged
Merged
Conversation
…ection test PR #10904 replaced the source-inspection test testChatSelectionIsLimitedToSettledMessageBodies with the manifest-backed .github/scripts/check_chat_selection_boundary.py, leaving testCompletedChatTranscriptLayoutConvergesAcrossRepeatedResizes as the behavioral coverage in ChatTimelineContinuityTests. The INV-6 hermetic contract self-check still required the removed name, so every desktop release-candidate run has failed the M1 pre-tag readiness gate since. Failure-Class: none
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.
Bug
Every Build Desktop Release Candidate run has failed since 19:18 UTC today — the
tag-releasejob dies in Run ownership-scoped M1 pre-tag readiness:Failed runs: 30574233502 (
afa5a990), 30581710658 (891813db), 30583095844 (65fba020). Desktop tagging/release is blocked while it is red.Root cause
agent-continuity-gauntlet-lib.py'scontinuity_contract_self_check_failures()requires a fixed list of test names to be present inChatTimelineContinuityTests.swift.PR #10904 (
e74755cd69) removedtestChatSelectionIsLimitedToSettledMessageBodies— the source-inspection tripwire — and replaced it with the manifest-backed.github/scripts/check_chat_selection_boundary.py, whose own docstring records where the Swift-side coverage went: "Behavioral resize coverage remains in ChatTimelineContinuityTests." That coverage istestCompletedChatTranscriptLayoutConvergesAcrossRepeatedResizes, added by the same PR. The INV-6 needle was never repointed.Fix
One line: point the INV-6 needle at the surviving behavioral test for the same failure class. This is the same repair as #10873, which repointed this identical needle after the previous rename.
The gate is not weakened — the static boundary it used to assert now runs as a first-class manifest check (
chat-selection-boundary), and INV-6 keeps requiring real coverage in the file.Tested
origin/main(65fba020):python3 desktop/macos/scripts/agent-continuity-gauntlet-lib.py --self-check→ same INV-6 message, exit 1.self-check passed (R3 race actions + resilience wiring + exact voice authority + query-specific terminal evidence + rotation-aware trace cursor + INV-6 hermetic contract gates + owner-switch)— including the owner-switch vitest kernel check (rannpm ciindesktop/macos/agentfirst).desktop/macos/scripts/desktop-core-harness.sh --self-check --skip-backend-contracts→desktop-flow-lint OK (59 flows, 142 registered actions)thendesktop-core-harness self-check passed.testCompletedChatTranscriptLayoutConvergesAcrossRepeatedResizesexists inChatTimelineContinuityTests.swift, and that no other file still references the removed name.Failure-Class: none
🤖 automated by hourly watchdog — tested and merged