Skip to content

fix(ci): align restart withdrawal expectations - #204972

Merged
vincentkoc merged 1 commit into
mainfrom
fix-ci-restart-withdrawal-expectations-20261125
Nov 24, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix-ci-restart-withdrawal-expectations-20261125

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The queued-input withdrawal test still expected graceful restart to cancel acknowledged input. The restart-preservation change in #204848 intentionally keeps that input queued for replay, so the existing assertion fails on main.

User Impact

Restores coverage of the intended restart behavior without changing runtime behavior.

Why This Change Was Made

The existing parameterized case now checks queued state, no terminal cause, and a pending receipt without a cancellation flag for restart. Stop, timeout, discard, and other cancellation assertions remain in the same test.

Evidence

  • Baseline 25efa334d232: the exact restart case fails with expected cancelled, actual queued.
  • Candidate 091284b2c474: all 17 withdrawal tests pass with the pinned OpenClaw Bun runtime.
  • Fresh local review: no actionable correctness or security findings.
  • Formatting, lint, and the selected gateway-methods TypeScript graph pass.
  • The test run completed before a runner transport loss during lint. Only lint and types were repeated, successfully, on a fresh runner.
  • Hosted CI: passed.

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

clawsweeper Bot commented Nov 24, 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 24, 2026
@clawsweeper clawsweeper Bot added the P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. label Nov 24, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 24, 2026 23:51
@vincentkoc
vincentkoc enabled auto-merge (squash) November 24, 2026 23:52
@vincentkoc
vincentkoc merged commit 9eb3df6 into main Nov 24, 2026
177 checks passed
@vincentkoc
vincentkoc deleted the fix-ci-restart-withdrawal-expectations-20261125 branch November 24, 2026 23:59
@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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant