Skip to content

37767 后续:引擎标出正在推进的运行,让审批清理不把恢复中的运行当成已停 #38708

Backlog

Description

@objectstack-fleet

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

Ask

  1. 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).
  2. Pin it red first: a resume that is held open across two reconciler judgements, after which the run is not placed.
  3. Confirm the approvals plugin reads running as "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

Blocked-by: #38634
Related: #37767, #38634, #38674, #38691.

Activity

  1. added
    priority:p2
    pm:blocked
    on Nov 30, 2026
  2. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: lands in packages/services/service-automation (the engine reports a run it is advancing as running, from claimAdvance to the next durable state, through getRun) · 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

  3. added
    domain:server
    and removed
    priority:p2
    on Nov 30, 2026
  4. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    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.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:datadomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions