fix(reply): make overflow fallback deterministic for empty recovery payloads#19551
Draft
Jackten wants to merge 3 commits intoopenclaw:mainfrom
Draft
fix(reply): make overflow fallback deterministic for empty recovery payloads#19551Jackten wants to merge 3 commits intoopenclaw:mainfrom
Jackten wants to merge 3 commits intoopenclaw:mainfrom
Conversation
This was referenced Feb 17, 2026
c3e13e0 to
7ddddfc
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
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.
Summary
meta.errorwascontext_overflow.runReplyAgent.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
Security Impact (required)
No)No)No)No)No)Yes, explain risk + mitigation:N/ARepro + Verification
Environment
Steps
meta.error.kind = context_overflowwithpayloads: []and unavailable session reset context.Expected
Actual
Evidence
Attach at least one:
Regression tests added:
returns a deterministic overflow fallback when error meta has no payloadsreturns a deterministic overflow fallback when error payload normalizes to emptyHuman Verification (required)
What you personally verified (not just CI), and how:
pnpm vitest run src/auto-reply/reply/agent-runner.runreplyagent.test.tspassed (25 tests).pnpm testpassed.pnpm buildpassed.Note:
pnpm checkreports pre-existing repository-wide formatting issues (Format issues found in above 1121 files) unrelated to this PR's touched files.Compatibility / Migration
Yes)No)No)N/AFailure Recovery (if this breaks)
src/auto-reply/reply/agent-runner-execution.tssrc/auto-reply/reply/agent-runner.tssrc/auto-reply/reply/agent-runner.runreplyagent.test.tsRisks and Mitigations
AI assistance