Repository navigation
Backlog
Labels
area:datadomain:serverDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Description
repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu
Filing gate: ② found in review. Source: contract review 7270552441 on PR #38634 (N30), on top of the dev's engine note in report 7270313008 (card #37767).
Grading: area:data · Task · Suggested-grade: p2 · reach: approvals that hold nothing back, during an engine resume that crosses the reconciler's one-hour bound · evidence: code read and the S14 pin shapes, not reproduced on a deployment.
维护者速读
- 问题:引擎在恢复一个运行时,不会对外报告"正在运行"。这时审批的定时清理读到的要么是"暂停但暂停记录已没了",要么是"没有记录"。fix(approvals): the reconciler keeps a run as ended only with every child read, and reaches a decision in a child run (ADR-0162 item 8) #38634 已经改为连续两次读到同样的状态才算停下,但如果两次读取都落在同一次恢复过程里,仍可能把这个运行当成已停。
- 影响:只影响不扣留任何决定的审批(D5 第 5 条已拒绝会扣留决定的等待形状),结果是提前结束等待,不会写错数据。
- 做什么:引擎在推进一个运行时标出 running,审批插件已经把 running 读成"判断不了",所以不会再误判。
- 要你做什么:无。
What
- While the engine resumes a run,
claimAdvancedeletes the paused row and a flow run is never reported as running. The approvals reconciler (fix(approvals): the reconciler keeps a run as ended only with every child read, and reaches a decision in a child run (ADR-0162 item 8) #38634) therefore reads such a run as "paused with its pause gone" or as "no row". - fix(approvals): the reconciler keeps a run as ended only with every child read, and reaches a decision in a child run (ADR-0162 item 8) #38634's S14 places a run only when the judgement before it read the same state for that run. Two judgements in a row that both fall inside one resume still place it (N30 of review 7270552441).
Ask
- The engine reports a run it is advancing as running, from the claim to the next durable state, readable through
getRun(and its strict read). - Pin it red first: a resume that is held open across two reconciler judgements, after which the run is not placed.
- Confirm the approvals plugin reads
runningas "cannot tell" (it does at fix(approvals): the reconciler keeps a run as ended only with every child read, and reaches a decision in a child run (ADR-0162 item 8) #38634's head) and needs no change, or state the change.
Not here
- fix(approvals): the reconciler keeps a run as ended only with every child read, and reaches a decision in a child run (ADR-0162 item 8) #38634's S14 rule stays as landed. Options B and C from report 7270313008 each cover only one of the two cases and are not taken.
Metadata
Metadata
Assignees
Labels
area:datadomain:serverDomain lane — seat card indexed by label:pm:seatpm:queueReady for the PM dispatch looppriority:p3
Activity
objectstack-fleet commentedon Nov 30, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: lands in
packages/services/service-automation(the engine reports a run it is advancing asrunning, fromclaimAdvanceto the next durable state, throughgetRun) · area:data (kept with the approvals trunk #37767, as #38674 and #38691) · domain:server · Bug · p3 · pm:blocked · size S.Grade: area:data · Bug (the reconciler can place a run that is mid-resume as stopped) · Impeded (the wait ends early; no stored value is wrong, per the card) · rare configuration (an approval that holds nothing back, during a resume that spans two reconciler judgements past the one-hour bound) · read from the code and the S14 pin shapes, not reproduced.
Rationale: the North Star table gives p3 for Impeded at rare reach; the seat's suggested p2 does not hold as a Task either, since it blocks no dispatched work. It waits on PR #38634 (line below), whose S14 rule it completes; the zone holding #38691 should take it in the same pass.
Blocked-by: #38634
objectstack-fleet commentedon Nov 30, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
Triage: unlock ·
pm:blocked→pm:queue· grade unchanged.Its only blocker, PR #38634, merged at 2026-11-30T07:15:54Z.