Repository navigation
fix: allow steer messages during active non-streaming runs - #73365
vincentkoc wants to merge 5 commits into
Conversation
Greptile SummaryThis PR replaces the The changes are well-scoped and the new test cases cover all three injection branches. Two minor cleanup items remain: the Confidence Score: 4/5Safe to merge; all findings are P2 style/cleanup items with no impact on runtime correctness. Logic is sound — the new isStopped-aware ternary is applied consistently in both queueEmbeddedPiMessage and queueReplyRunMessage, the abort signal wiring in attempt.ts is correct, and existing compat handles are unaffected. Only P2 issues remain: a dead isStreaming parameter in the function signature and a stale diagnostic reason string. src/auto-reply/reply/agent-runner.ts — the unused isStreaming field in the params type and its call-site in get-reply-run.ts should be removed.
|
53e2f01 to
c02ca40
Compare
|
Thanks, both findings are handled now.
Validation:
|
c02ca40 to
92baa73
Compare
92baa73 to
5e92b57
Compare
|
Codex review: found issues before merge. Reviewed July 3, 2026, 4:58 PM ET / 20:58 UTC. Summary PR surface: Source +64, Tests +289, Docs +1. Total +354 across 16 files. Reproducibility: yes. source-level: PR head adds a default-on steer throttle and targets a removed embedded runner path, while current main already has active/not-stopped admission on the live embedded-agent and reply-run paths. I did not run a live Discord, Telegram, or WebChat replay in this read-only review. Review metrics: 2 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Use the merged current-main replacement as the source of truth; a maintainer should close this protected branch or request a narrow rebuild only for a proven unique remainder without the throttle or changelog edit. Do we have a high-confidence way to reproduce the issue? Yes, source-level: PR head adds a default-on steer throttle and targets a removed embedded runner path, while current main already has active/not-stopped admission on the live embedded-agent and reply-run paths. I did not run a live Discord, Telegram, or WebChat replay in this read-only review. Is this the best way to solve the issue? No. The active/not-stopped fix shape is right, but this branch is no longer the best landing path because current main has the replacement on current files and this PR adds throttle, changelog, and stale-path risk. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 010b61746379. Label changesLabel justifications:
Evidence reviewedPR surface: Source +64, Tests +289, Docs +1. Total +354 across 16 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
5e92b57 to
b29ea4e
Compare
|
@vincentkoc also just submitted this PR a few hours ago on this: #98126 |
|
Closing as superseded by merged #98126 ( #98126 includes this active/non-stopped steer admission fix and adds the Telegram/Codex command-routing and active-run lookup needed for the reported user path. This older replacement branch no longer has a unique fix to land. If a non-Telegram runtime still reproduces after #98126, please open a focused regression against current |
Summary
Credit
This carries forward the focused fix direction from @jetd1 in #65010 and the earlier steer-mode approach from @scottyallen in #52351. Thanks to both contributors; this PR is a clean replacement branch so attribution is preserved while keeping review scope small.
Validation
Notes
Covers the core duplicate reports #48003 and #50880. Telegram-specific delivery bypass (#65222) and interrupt scheduling race work (#65221) remain related follow-up subclusters.
ProjectClownfish replacement details: