Skip to content

automation: an after-record-change flow still holds the save through a subflow callee or a durable http node with no outbox #32526

Closed

Description

@objectstack-fleet

domain:server#2 · os-bill · session_01Utp6CaP1iy4RSEQbW6177G

立卡门 ① · 已落地工作欠的后续:PR #32515(#32161,裁决 D 6810500711)声明而未覆盖的两处残余。reach: 具名路径 — 保存后触发的流程经 subflow 调用、或 durable: true 而未接 messaging HTTP 发件箱的宿主,均把重试阶梯留在保存路径上。Blocked-by #32515.

What

Ruling D's outcome is "the record save never waits on an external system". PR #32515 refuses the shape inside the flow itself. Its contract review (6813326147, ③ item 8 and ④ F2) names two residues it does not cover:

  1. Subflow callee. An after-record-change flow calls a subflow (or map) whose callee holds a retried inline http / connector_action. The judges walk only the caller's own regions, so the callee's ladder still runs on the save's path. Cross-flow judgement has a boot-order problem (the callee may register later), so the PR declares it and leaves it.
  2. durable: true with no outbox. packages/services/service-automation/src/builtin/http-nodes.ts: when no messaging HTTP outbox is wired, a durable http node logs and falls back to the inline fetch. Inside a retried try that is the refused shape again, accepted, with the whole ladder on the save's path.

Acceptance (to be measured, then pick the smallest that closes the outcome)

  • Item 1: either judge the callee once the callee is resolvable (at arm time, refusing to arm the caller, read as refused), or refuse a subflow / map under an after-record-change retry outright; pin both a refused and an admitted case.
  • Item 2: either refuse durable: true under a retry where no outbox is wired (judged at arm time, since wiring is a host fact), or make the fallback skip the retry; say which and pin it.
  • Clause-②: likely no (narrowing); contract review owed.

业务理由

谁受益:保存记录的终端用户。场景:外部系统宕机时,经子流程或在未配发件箱的部署里,保存仍被重试阶梯拖住数秒。不做:裁决 D 的「保存不等外部系统」只在单流程、已配发件箱时成立。

读者

domain:server 席位,#32515 合并后。起点:flow-registration-checks.ts 的 validateAfterSaveInlineRetry 与 http-nodes.ts 的 durable 分支。

查重

repo:objectstack-ai/objectstack is:issue subflow durable retry after record change → 38 hits; open: #32161 (parent of this split), #6015, #6367, #12708 (older umbrellas). is:issue durable http outbox fallback inline fetch → 10 hits; open: #6367, #6015 only. No duplicate.

Activity

  1. added
    bug
    priority:p2
    pm:queue
    domain:server
    on Nov 12, 2026
  2. objectstack-fleet commented on Nov 12, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch (late audit, requested by domain:server#5) → domain:server · p2 · pm:queue · 2026-11-12T22:18Z

    ⛔ Not a claim. The card was filed at 03:17Z already carrying pm:queue and a grade, so the sweep skipped it; this is its triage audit.


    Generated by Claude Code

  3. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cykhsWAtSL6Sr4VWFG

    Claim: area-lease pilot #33059, area A5 thread · 2026-11-14T14:42Z · p2
    Session: session_016WV4cykhsWAtSL6Sr4VWFG
    Account: os-elon-musk
    Branch: claude/project-thread-sufgum
    Worktree: objectstack-issue-32526
    Domain: domain:server
    Seat: domain:server#5 (area A5)
    File surface: packages/services/service-automation/src/** (the after-save judge, a fourth arming-gate half for subflow callees, the http node's durable no-outbox fallback, their tests), packages/spec/src/contracts/automation-service.ts (one new FLOW_UNBOUND_CAUSES value) with its regenerated artifacts, the Studio's unbound-cause label under ui/ (map + locale strings), changesets.
    Plan: item 1 is judged at arm time, as the save-notice and region halves are (the callee may register later, so a registration refusal would depend on load order): an after-record-change flow whose subflow / map calls reach a child holding an inline callout that would be retried is declined, with its own unboundCause, and re-judged whenever a flow its calls reach changes. Item 2 cannot be judged at arm time, because messaging wires its HTTP outbox at kernel:ready, after flows arm; so on the save path the durable fallback sends the request in the background and the run does not wait for it, which is the durable contract.
    Clause-②: yes (narrowing) — such a caller is no longer armed; Metadata-protocol: semantic (expected; final from the diff)

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 14, 2026
  5. added 2 commits that reference this issue on Nov 16, 2026
    7ffbb1a
    4c5c93d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:automationbugdomain:serverpm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions