You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ui-server: a failed checkout's mask is described to the worker as a path that appeared mid-turn #4503
area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.blockedWaiting on another issue or an upstream dependency. Say which in the body.priority: p3Someday. Needs a driving use case before it starts.type: fixSomething is broken and must behave the way it is documented.
Found in the round-3 independent review of PR #4490 (finding F148), which fixes #4486. Line numbers are at the PR's head c1f7103a1.
restrictFailedCheckouts (packages/ui-server/src/brain/checkout-restrictions.ts:7-14) passes failed checkouts as appeared paths to get a full-subtree mask. resolveWorkerProtection then labels them "appeared during an active turn; awaiting quarantine" (packages/ui-sdk/src/server/worker-protection.ts:122), and the governed worker note prints that reason verbatim (packages/ui-sdk/src/server/worker-sandbox.ts:597). The checkout existed before admission and no quarantine is pending.
Scope
Keep the mask and report its real cause: a failed checkout capture. Out of scope: mask coverage (#4491).
Acceptance criteria
The protection entry for a failed checkout carries a reason naming the failed capture, both in the worker note and in status protectedPaths.
Paths that really appeared mid-turn keep their current reason.
A test asserts the note text for a failed checkout.
area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.blockedWaiting on another issue or an upstream dependency. Say which in the body.priority: p3Someday. Needs a driving use case before it starts.type: fixSomething is broken and must behave the way it is documented.
Activity