Skip to content

fix(hub): withdraw an outdated coordinator's approval on the open page - #189

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-12147-withdraw-an-outdated-coordinators-open-approval-before-the
Nov 5, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-12147-withdraw-an-outdated-coordinators-open-approval-before-the

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

The conversation route's once-per-park guard now keys on the park's signalName instead of correlationId. Interchange never fills correlationId on an approval park's SignalAwaited, so the guard never fired. An outdated coordinator's approval stayed up until the 30-second reconcile pass, and an answer in that window landed on the old coordinator. signalName is required on every park and embeds the approval's unique correlation id.

Fixes CL-12147.

Verification

A throwaway route test, deleted afterwards, served an approval park with only signalName and requested the events route twice:

Before After
upgrade calls none exactly one, for the project

bun run lint, format:check, typecheck and test (290 pass) pass.

Approval parks leave the correlation id field empty, so the
once-per-park check compared nothing to nothing and never replaced the
coordinator; the question stayed up until the regular pass and an
answer landed on the old coordinator. Key the check on the signal name
every park carries.
@linear-code

linear-code Bot commented Nov 5, 2026

Copy link
Copy Markdown

CL-12147

@corbits-triage corbits-triage Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No defects reported.

@TheGreatAxios
TheGreatAxios marked this pull request as ready for review November 5, 2026 02:41
@corbits-triage

corbits-triage Bot commented Nov 5, 2026

Copy link
Copy Markdown

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

@TheGreatAxios
TheGreatAxios added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit e4f84c3 Nov 5, 2026
9 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-12147-withdraw-an-outdated-coordinators-open-approval-before-the branch November 5, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant