Repository navigation
test: restore first-turn binding coverage - #179592
Merged
Merged
Conversation
Contributor
Author
|
@clawsweeper review |
Contributor
|
🦞👀 Re-review progress:
|
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
This was referenced Oct 21, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.