Skip to content

service-automation: the boot flow pull declines the first of two served holders of one flow name behind a false 'whose body was refused' warning #34051

Open

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

Found while building #33893 + #33905 (PR #34048, dev report 6898330736 on #33893, out-of-scope finding class a). Measured on the engine with PR #34048's sources; predates that PR. It was not measured through HTTP. Bug only: grade and state are left to triage's first touch.

维护者速读

  • 现象:两个都在服务中的包各带一个同名流程时,引擎开机拉取流程的过程中,先登记的那个包的流程会被 M1 守卫拒绝,并打出一条“另一个包持有的同名流程的正文被拒绝”的警告,而实际上没有任何正文被拒绝。
  • 影响:在第二个包的流程登记、触发键迁移之前,第一个包的流程短暂未装载;日志里有一条误导的警告(refusedBodyWarnings=1)。
  • 先看:packages/services/service-automation/src/plugin.ts 开机流程拉取(约第 2704 行)与 engine.ts 的 loneSharedFlowKey / M1 守卫。

Observed

The registry holds both packages' flow t before the boot pull. Both packages are served. The pull registers the first holder, and M1 declines it with the warning "another package holds a flow named 't' whose body was refused" (refusedBodyWarnings=1). The first holder is re-armed only when the second holder's registration moves the key. No body was refused.

Expected

M1 declines a lone slot of a shared name only when a body really was refused, which needs the refusal record. The boot pull path does not write that record today. Two served holders arriving in one pull both end up armed under PACKAGE/t with no warning.

Seam

plugin.ts boot flow pull → AutomationEngine.registerFlow → loneSharedFlowKey / M1 guard; FlowSlotTable (PR #34048 narrows M1 to two SERVED holders, which does not cover two served holders in one pull).

Prior rulings read: seat ruling 6884403301 amendment 7 ("A disable is reversible and moves no key"); ADR-0150 D4 (one slot per holder); #33893 (served holder keying). No ⛔ conflict.

Dedupe words: boot pull refused body warning both served, M1 transient first holder, whose body was refused false.


Generated by Claude Code

Activity

  1. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:server · lease:A5 · p3 · 2026-11-15T17:47Z

    ⛔ Not a claim.

    During the boot flow pull, the first of two served holders of one flow name is declined behind a false "whose body was refused" warning until the second registers. It is a short window plus a misleading log line, the sibling of #33893 (PR #34048), so p3. A5.

  2. added
    domain:server
    pm:queue
    on Nov 15, 2026
  3. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3

    Ride-along for this card · from PR #34048's L2 delta record 6903460187 (accepted nit N3) · 2026-11-15T23:52Z

    When a co-holder of a flow name is uninstalled with no re-sync, and until the first fold (settleFlowName on placement, first fire or first bare read), one schedule-fired run gets params.flowName as PACKAGE/NAME, and packagedFlowOwner answers no package for a run under that key. Same flow-slot keying area as this card; fix it here, with a pin, when this card is built. Accepted as a stated deviation on PR #34048.


    Generated by Claude Code

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:packagedomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions