Skip to content

test(gateway): scope actor traces to active input staging - #202049

Merged
vincentkoc merged 1 commit into
mainfrom
fix-chat-custody-trace-fixture-20261120
Nov 19, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix-chat-custody-trace-fixture-20261120

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The pre-ACK persistence test fails for an idle chat because it still requires trace names from an actor wrapper removed by #201790. The active-run staging path still uses that wrapper.

User Impact

No user-visible behavior changes. This updates the Gateway test to match the current persistence paths without changing admission, authority, or storage behavior.

Why This Change Was Made

Require actor command queue/execute traces only for active-run input staging. Preserve the shared started acknowledgement and all three persistence-phase assertions for each variant.

Evidence

  • Scheduled CI failure: the idle variant passed its transcript-phase checks, then failed on the retired queue trace at line 115.
  • The owning change removed the ordinary transcript-turn wrapper while retaining active pending-input staging.
  • Native macOS proof with Node 24.22.1 and pinned Bun 1.4.4-canary.1+191755ec1: the original two variants produced the same idle queue-trace failure (one failed, one passed); the candidate passed both variants. All 15 existing chat-send diagnostics tests passed.
  • Scoped Gateway-methods types, typed lint, formatting, and diff checks passed. No production behavior, timeout, or authority assertions changed.
  • Local ClawSweeper review of 70f100d4ff01dd35a5383179aad8ebfb3be78862…94cd427cd1e46d96ff6e05d01287936817146558 found no correctness or security findings (0.97 confidence). The original hosted failure was on Linux; focused local proof was on macOS, with PR CI covering the current merge context.

@vincentkoc vincentkoc self-assigned this Nov 19, 2026
@clawsweeper

clawsweeper Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Nov 19, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 19, 2026 20:24
@vincentkoc
vincentkoc enabled auto-merge (squash) November 19, 2026 20:26
@vincentkoc
vincentkoc merged commit 00924bd into main Nov 19, 2026
186 checks passed
@vincentkoc
vincentkoc deleted the fix-chat-custody-trace-fixture-20261120 branch November 19, 2026 20:34
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant