Repository navigation
fix: suppress truncated silent heartbeat replies - #170650
glenn-agent wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesThis PR suppresses truncated NO_REPLY prefixes during final heartbeat delivery. Example: A heartbeat returns NO_R with showOk disabled.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Partial Merge readiness⛔ Blocked before merge - 3 items remain Keep this PR open: it addresses a current heartbeat suppression bug, but its new classification bypasses configured OK acknowledgements. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherThe shared heartbeat classifier receives agent reply payloads and produces acknowledgement, failure, or delivery outcomes for the channel dispatcher. flowchart TD
A[Scheduled heartbeat] --> B[Agent reply payload]
B --> C[Heartbeat normalization]
C --> D[Outcome classification]
D --> E[Quiet acknowledgement]
D --> F[Configured channel delivery]
Technical reviewBest possible solution: Recognize truncated quiet replies consistently while preserving configured acknowledgements, ordinary alerts, structured content, and existing routes. Do we have a high-confidence way to reproduce the issue? Source establishes that a successful heartbeat with automatic replies, a valid destination, and final NO_R reaches delivery on current main; no target code or tests were executed. Is this the best way to solve the issue? The shared normalization owner is the appropriate repair boundary, but quiet-token recognition must also reach its existing acknowledgement decision. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5c69645a021e. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1, Tests +5. Total +6 across 2 files. Added test files: 0. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 13, 2026, 12:51 AM ET / 04:51 UTC. |
|
Thanks @glenn-agent for identifying the leak and adding the regression. #170190 now covers it at the shared sentinel owner, including configured acknowledgements and final delivery across channels. Closing this one as superseded. |
Summary
NO_RNO_REPLYhandling unchangedFixes #170158.
Testing
pnpm test src/infra/heartbeat-runner.ack-token-heartbeat-acks.test.ts --maxWorkers=1node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfogit diff --checkNotes
pnpm check:changedwas attempted in the disposable worktree; all earlier ratchets and production core typecheck passed, but the full changed-file gate currently fails in an unrelated core test graph onsrc/commands/config-preflight-snapshot.test.tsimporting missingreadConfigPreflightSnapshotfrom./config-preflight-snapshot.js.