Skip to content

test: restore first-turn binding coverage - #179592

Merged
shakkernerd merged 1 commit into
mainfrom
first-turn-binding-fixture
Oct 21, 2026
Merged

shakkernerd merged 1 commit into
mainfrom
first-turn-binding-fixture

Conversation

@shakkernerd

@shakkernerd shakkernerd commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes the first-turn binding Gateway scenario failing during setup before it can exercise native session binding, streaming, cancellation, and stopped-partial persistence.

User Impact

There is no product behavior change. CI can again run the existing first-turn binding scenario and retain all of its behavioral and lifecycle assertions.

Why This Change Was Made

The synthetic agent defaults still included the retired heartbeat field. Current startup validation correctly rejects that field before the Gateway starts. The test already disables heartbeat processing through the existing process-level test control and restores the prior value during cleanup, so deleting the obsolete config property removes redundant invalid setup without weakening the scenario.

Evidence

The recorded base failure reaches this exact test and stops with an invalid configuration error for agents.defaults.heartbeat before any behavior assertion runs. The fixture, configuration validator, startup admission path, test harness, dependency lock, Vitest configuration, and CI planner are unchanged between that failing revision and this branch's base.

  • Remote changed-file formatting and lint passed with zero warnings or errors.

  • The selected Gateway server test type graph passed.

  • The complete src/gateway/server.chat-first-turn-binding.test.ts suite passed: one file and one test, with every existing scenario assertion unchanged.

  • A fresh independent engineering review concluded clean after inspecting the validator, heartbeat ownership, lifecycle cleanup, related fixtures, and exact-head test result.

  • Canonical autoreview completed scoped-clean with no accepted or actionable P0-P3 findings.

  • Hosted PR CI passed on the exact head. The exact-head ClawSweeper attempt ended before a verdict because its model provider throttled the run; no substantive finding was produced.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Oct 21, 2026
@shakkernerd shakkernerd self-assigned this Oct 21, 2026
@shakkernerd

Copy link
Copy Markdown
Contributor Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 21, 2026
@clawsweeper

clawsweeper Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@shakkernerd
shakkernerd merged commit e4c7348 into main Oct 21, 2026
136 checks passed
@shakkernerd
shakkernerd deleted the first-turn-binding-fixture branch October 21, 2026 15:38
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Fixed: the first-turn binding Gateway scenario now runs its existing behavior and lifecycle assertions.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 22, 2026
Restores the first-turn binding Gateway scenario by removing its retired heartbeat fixture field.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant