Repository navigation
Conversation
…e progress cap to 1200
resolveBackgroundTaskTerminalResult() was returning {} for non-blocked
completions, making background task results appear as bare 'Background
task done' with no payload. Now falls back to cleaned progressSummary.
Also raises ACP_BACKGROUND_TASK_PROGRESS_MAX_LENGTH from 240 to 1200
chars so progress summaries don't truncate mid-sentence.
Fix openclaw#74070
Greptile SummaryFixes two related issues with background task terminal result handling: the non-blocked completion path in Confidence Score: 5/5Safe to merge — minimal, targeted fix with no side effects. Both changes are straightforward and correct. The No files require special attention. Reviews (1): Last reviewed commit: "fix(background-task): return progressSum..." | Re-trigger Greptile |
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep this PR open: it addresses a real ACP background-task message-loss bug that current main still has, but the submitted branch is conflicting with the refactored helper location, lacks required contributor real-behavior proof, and needs the known silent-token guard before merge. Canonical path: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. So I’m closing this here because the remaining work is already tracked in the canonical issue. Review detailsBest possible solution: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. Do we have a high-confidence way to reproduce the issue? Yes by source inspection: successful ACP background tasks persist Is this the best way to solve the issue? No, not as submitted. Returning progress as a fallback terminal summary is the right narrow direction, but the patch must be ported after the helper split and strip silent control tokens before returning user-visible terminal text. Security review: Security review cleared: The diff only changes ACP background-task string handling and does not touch dependencies, workflows, secrets, package metadata, or code-execution paths. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 66880a5d736c. |
|
Confirming the bug from production use, and flagging one concern that matches clawsweeper's review note on #74070. Reproduction confirmed in production. Running an equivalent local patch since 2026-05-06 across a Mac Studio M4 Max with 27 active ACP-backed crons (validate-predictions, health-summary, market-pipeline workers, etc.). Before the local patch: bare Concern matching clawsweeper's remaining-risk note. The unconditional const cleaned = normalized.replace(/\s*ANNOUNCE_SKIP\s*$/i, "").trim();
if (!cleaned) return {};
return { terminalSummary: cleaned };That closes the gap clawsweeper flagged (control-token leakage) without changing the happy-path behavior. Worth adding before merge IMO. Otherwise the +2/-2 shape is exactly the right narrow scope. Once this lands with the strip guard, it would let us retire one local source patch. |
|
Heads up: this PR needs to be updated against current |
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper applied the proposed close for this PR.
|
Fix #74070\n\n1.
resolveBackgroundTaskTerminalResult()now falls back toprogressSummaryasterminalSummaryfor non-blocked completions (was returning{})\n2. RaisesACP_BACKGROUND_TASK_PROGRESS_MAX_LENGTHfrom 240 to 1200 chars