Repository navigation
fix: prevent false failure warnings after reply retries - #170675
Merged
roboclaw-bot merged 2 commits intoOct 13, 2026
Merged
Conversation
Project the reply owner’s confirmed final source delivery into each retry attempt without changing replay safety or genuine failure metadata. Co-authored-by: obviyus <[email protected]> Co-authored-by: Kimiyu-186 <[email protected]> Co-authored-by: steipete <[email protected]>
Worked on by: - @obviyus - @Kimiyu-186 - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: Kimiyu-186 <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 2d8b95bc-f028-401c-8a83-bd464850839d
roboclaw-bot
marked this pull request as ready for review
October 13, 2026 05:27
Contributor
|
ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment |
roboclaw-bot
deleted the
openclaw/fix-final-delivery-retry-carryover-20261012
branch
October 13, 2026 05:56
Collaborator
Author
|
Merged via squash.
|
This was referenced Oct 13, 2026
steipete
added a commit
that referenced
this pull request
Oct 13, 2026
…merge (#171192) GitHub's statusCheckRollup and mergeStateStatus keep cancelled runs that a newer run of the same workflow/event/job name superseded on the same head (pull_request_target lanes such as ClawSweeper Dispatch draft `opened` runs after `ready_for_review`, and Labeler). After openclaw/ci-gate passes, those PRs are MERGEABLE/UNSTABLE and --auto-merge admission refused them. --auto-merge now selects the immediate squash route for MERGEABLE/UNSTABLE only after one fresh scripts/watch-pr-ci.mjs --completion rollup --once pass at the exact prepared head exits GREEN. The watcher's classifyRollup stays the single supersession owner and the pass also requires the attached ci.yml run to succeed; any unsuperseded failure, hidden or paginated context, missing run identity, pending check, moved head, or watcher error keeps refusing. The watcher gains an opt-in --once flag: one attach and one watch observation without waiting, with --timeout bounding only that pass's evidence reads. This is a one-shot admission predicate, not a pinned snapshot fact: required checks stay server-enforced at dispatch, the exact-head mutation pins the head, and the final stability reread pins the UNSTABLE projection. Pinning rollup contexts would extend the Octopool-allowlisted landing snapshot and the retained-outcome schema. Accepted edge case, documented in merge-admission.md: a new non-required failure on the same head between the pass and dispatch is not rechecked. Measured 2026-10-13: 8 of 80 recently merged final heads (e.g. #170738, #170733, #170675, #170627) had only superseded same-lane cancellations; classifyRollup classifies all four examples GREEN.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
) * fix: prevent false failure warnings after reply retries Project the reply owner’s confirmed final source delivery into each retry attempt without changing replay safety or genuine failure metadata. Co-authored-by: obviyus <[email protected]> Co-authored-by: Kimiyu-186 <[email protected]> Co-authored-by: steipete <[email protected]> * fix: prevent false failure warnings after reply retries Worked on by: - @obviyus - @Kimiyu-186 - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: Kimiyu-186 <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 2d8b95bc-f028-401c-8a83-bd464850839d --------- Co-authored-by: obviyus <[email protected]> Co-authored-by: Kimiyu-186 <[email protected]> Co-authored-by: steipete <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
…merge (openclaw#171192) GitHub's statusCheckRollup and mergeStateStatus keep cancelled runs that a newer run of the same workflow/event/job name superseded on the same head (pull_request_target lanes such as ClawSweeper Dispatch draft `opened` runs after `ready_for_review`, and Labeler). After openclaw/ci-gate passes, those PRs are MERGEABLE/UNSTABLE and --auto-merge admission refused them. --auto-merge now selects the immediate squash route for MERGEABLE/UNSTABLE only after one fresh scripts/watch-pr-ci.mjs --completion rollup --once pass at the exact prepared head exits GREEN. The watcher's classifyRollup stays the single supersession owner and the pass also requires the attached ci.yml run to succeed; any unsuperseded failure, hidden or paginated context, missing run identity, pending check, moved head, or watcher error keeps refusing. The watcher gains an opt-in --once flag: one attach and one watch observation without waiting, with --timeout bounding only that pass's evidence reads. This is a one-shot admission predicate, not a pinned snapshot fact: required checks stay server-enforced at dispatch, the exact-head mutation pins the head, and the final stability reread pins the UNSTABLE projection. Pinning rollup contexts would extend the Octopool-allowlisted landing snapshot and the retained-outcome schema. Accepted edge case, documented in merge-admission.md: a new non-required failure on the same head between the pass and dispatch is not rechecked. Measured 2026-10-13: 8 of 80 recently merged final heads (e.g. openclaw#170738, openclaw#170733, openclaw#170675, openclaw#170627) had only superseded same-lane cancellations; classifyRollup classifies all four examples GREEN.
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: users receive a response-failure warning after a final reply was already delivered, when a provider retry returns an empty response.
User Impact
User impact: a confirmed final reply stays complete across retries without a duplicate send or misleading failure warning. Progress-only, failed, partial, ambiguous, dry-run, and other-destination sends still require a response; a newly accepted steered input needs its own answer. No configuration changes or migration are required.
Why This Change Was Made
The retry loop now projects the existing reply owner's current-source completion into each attempt before normalization and terminal resolution. It does not treat arbitrary tool side effects as completion or alter replay-safety decisions.
Contributors
Work sessions
Evidence
pnpm test src/agents/embedded-agent-runner.source-reply-retry.test.ts --maxWorkers=1: 9 passed, 10.57s Vitest / 42.61s wrapper wall time on the final candidate. The broad CI workflow completed successfully in 740s; per-file CI time was not measured separately.pnpm build: passed (1195.14s), including runtime, SDK declarations, external-plugin artifacts, and Control UI.check:changedstopped on pre-existing UI unused exports; the exact pinned baseline reproduces the identical production/full-tree findings. Not reported as a green aggregate check. Exact-head broad PR CI completed successfully.The separately reported second warning was correlated to a different, genuinely empty announcement run, without same-run successful final delivery. This fix is not claimed to repair that separate path. No paid-provider requests, unsolicited channel test messages, production-state changes, deployment, or restart were performed. After explicit landing authorization, the guarded workflow merged the exact reviewed head as
d19520a262db90421fa54c208e1033a02a509688; landed composition, main containment, co-author trailers, and native completion were verified.View the OpenClaw team session