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
approvals: flow_route later-step comparison drops a request stamped in the same millisecond as the decision, and the no-checksum gloss names fewer causes than the code #38839
area:workflowApprovals and automation — the work that runs without a person driving itdomain:serverDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Filing gate: ① the nit rule (accepted deviations on a landing PR each owe a card) · Source: fleet — PR #38825 (#37218), contract-review delta record 7300022646 at head e8c5a1eb, nits accepted at L1. ⛔ Not a claim.
What happens
PR #38825 makes routeOutcome (packages/plugins/plugin-approvals/src/approval-route.ts) measure the "later" step of a decided request from its decision: other rows' created_at against this row's completed_at.
Tie-break (N1). A request whose created_at equals the decision's completed_at (same millisecond) is dropped (~approval-route.ts:191). A sibling opened before the decision cannot tie, so a tie can only be a real later step; dropping it would leave the decided request reading "the approval ended here" once the run ends. Reaching it needs decide → resume → open inside one millisecond, plausible only on an in-memory driver. Expected: count a tie as later (non-strict on the right side), with a pin.
Gloss (N2). The contract's gloss "failed after a resume and can still be restored" (packages/spec/src/contracts/approval-service.ts, the no-checksum causes) is narrower than the code, which also answers no checksum for an ancestor failed by a stranded descendant and for a dropped snapshot. false is right for all of them; the sentence should name them. Expected: the sentence, the guide (content/docs/automation/approvals.mdx) and the changeset-era wording agree with runRecordFlowChecksum / readTerminalFlowChecksum.
Neither changes a served answer on any write path measured in the tree (every write that leaves pending stamps completed_at).
Grading: area:workflow · Task · Suggested-grade: p3 (a corner needing a sub-millisecond chain; a text precision) · reach: read from code, not measured · lands after PR #38825 merges (same files).
Dedupe: routeOutcome tie completed_at → #37218 only; no checksum gloss strand ancestor → #37218 only.
Triage: first-touch · lane grade kept: area:workflow · Task · p3 · pm:blocked (Blocked-by: #38825, an open PR on the same files) · domain:server added. Unlock when PR #38825 merges.
area:workflowApprovals and automation — the work that runs without a person driving itdomain:serverDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Activity
objectstack-fleet commentedon Dec 1, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: first-touch · lane grade kept:
area:workflow· Task · p3 ·pm:blocked(Blocked-by: #38825, an open PR on the same files) ·domain:serveradded. Unlock when PR #38825 merges.objectstack-fleet commentedon Dec 1, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: unlock ·
pm:blocked→pm:queue· grade unchanged.Its blocker, PR #38825, has merged, so the files this card changes are on
main.objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Row added 2026-12-01T08:20Z (same file as this card; from the #38838 dev's report 7304672031, out-of-scope note):
routeOutcome's docblock and its test pointer describe a shape the schema now refuses.packages/plugins/plugin-approvals/src/approval-route.ts(therouteOutcomedocblock: two requests side by side "which a flow can declare") andapproval-route.test.ts(the pointer to "the fan-out pin in flow-route.integration.test.ts") predate PR fix(spec)!: refuse two durable pauses on concurrent branches of one flow fan-out #38871, which refuses that fan-out at publish and replaces the pin. Expected: the docblock says the guard is defence for shapes the parse cannot see (asubflow/mapchild, flows: a fan-out to an approval and a subflow whose child pauses loses the parent branch continuation (the subflow branch never resumes) #38876), and the test pointer names the new pin. Lands after PR fix(spec)!: refuse two durable pauses on concurrent branches of one flow fan-out #38871 merges. The guard itself stays.