Repository navigation
fix(ui-react): preserve newer principal outcome after cancellation - #3116
Closed
schlessera wants to merge 1 commit into
Closed
schlessera wants to merge 1 commit into
schlessera wants to merge 1 commit into
Conversation
This was referenced Oct 29, 2026
Merged
Merged
Merged
Closed
This was referenced Nov 14, 2026
Closed
Merged
Merged
Owner
Author
|
Superseded by #4046. That PR carries this branch's single commit ( |
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.
Closes #3093
What changed
Cancellation now revalidates the captured queue entry after deletion succeeds or fails. A newer principal transition keeps its Signed out outcome, and the forgotten cancellation cannot send an orphan status query or install a cancelled receipt entry. Includes a patch changeset for
@schlessera/brain-ui-react.Why this shape
Entry identity is the existing authority check used by takeover. Principal changes settle and forget an entry without changing the lifecycle epoch, so both cancellation continuations need the same narrow check. No terminal ranking, tombstones, queue policy or protocol change.
Proof
a8e80eea1ec045579ee7d69d6019bce5e78afa5e.bun run test packages/ui-react/tests/answer-delivery.test.ts: 71 pass / 0 fail, 351 assertions. Existing cancel/Edit, deletion failure, accepted receipt, logout and disposal cases remain.bun scripts/check-changeset-packages.tsand fullbunx --no-install changeset statuspass; pending plan has the all nineteen packages moving at minor through the existing fixed group, with no major bump.bun run check:pr --base origin/mainpassed: 443 tests, 0 failures, 1,375 assertions; lint/leakage, env docs and changeset checks passed. Hosted candidate proof pending.de24256249aacbe0e64950eb37521503c90c48a0. Synthetic candidate:1324d9f39688db99fad2d36e4d41ac5ba28cb54b, parents basea8e80eea1ec045579ee7d69d6019bce5e78afa5e/ headde24256249aacbe0e64950eb37521503c90c48a0, treeb95560762672af770dbae7daaef8eb0af729a60b; live main/base read back equal before confirmation.Checklist
Anything left open
Hosted qualification is blocked on the live integration reservation for PR #3115; bounded acquisition for this PR exited 1 without requesting confirmation. Resume after that reservation is released, revalidating live main/head/merge parents before acquiring the exact candidate. Issue claim released; preserved branch and PR remain resumable. #3030 explicitly excludes this separate repair from the 0.44.0 commitment; release context will use the live 0.45.0 milestone without modifying that release scope or executing a release.