fix(diagnostics): track model stream progress#86757
Conversation
|
Codex review: passed. Reviewed May 26, 2026, 12:46 AM ET / 04:46 UTC. Summary PR surface: Source +54, Tests +229. Total +283 across 6 files. Reproducibility: yes. at source level: current main tracks model-call start/end activity but streamed chunks do not refresh diagnostic run progress, while active-abort recovery keys on stale lastProgressAgeMs. I did not run a live local-provider repro in this read-only review. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge Security Review detailsBest possible solution: Merge once exact-head checks pass and maintainers accept the chunk/heartbeat progress policy, leaving broader silent-stream or configurable recovery semantics to the linked issue if still needed. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main tracks model-call start/end activity but streamed chunks do not refresh diagnostic run progress, while active-abort recovery keys on stale lastProgressAgeMs. I did not run a live local-provider repro in this read-only review. Is this the best way to solve the issue? Yes: tracking observed stream chunks is narrower than blanket-exempting local providers and preserves recovery for silent or non-streaming calls. Broader timeout or silent-stream semantics would be separate product work. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 711e963723b4. Label changesLabel justifications:
Evidence reviewedPR surface: Source +54, Tests +229. Total +283 across 6 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
|
|
ClawSweeper PR egg ✨ Hatched: 🥚 common Moonlit Lint Imp Hatch commandComment Hatchability rules:
Rarity: 🥚 common. What is this egg doing here?
|
|
🦞✅ Source: What merged:
Automerge notes:
The automerge loop is complete. Automerge progress:
|
Summary: - The PR updates diagnostics to mark streamed model chunks as run progress, keeps silent model calls abortable after the stuck-session timeout, and adds regression coverage for stream progress and recovery behavior. - PR surface: Source +54, Tests +229. Total +283 across 6 files. - Reproducibility: yes. at source level: current main tracks model-call start/end activity but streamed chunks ... covery keys on stale lastProgressAgeMs. I did not run a live local-provider repro in this read-only review. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(diagnostics): track model stream progress - PR branch already contained follow-up commit before automerge: test(diagnostics): cover silent local model aborts - PR branch already contained follow-up commit before automerge: fix(diagnostics): skip stream progress when disabled Validation: - ClawSweeper review passed for head fcc74d9. - Required merge gates passed before the squash merge. Prepared head SHA: fcc74d9 Review: openclaw#86757 (comment) Co-authored-by: Onur Solmaz <2453968+osolmaz@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: osolmaz Co-authored-by: osolmaz <2453968+osolmaz@users.noreply.github.com>
Summary: - The PR updates diagnostics to mark streamed model chunks as run progress, keeps silent model calls abortable after the stuck-session timeout, and adds regression coverage for stream progress and recovery behavior. - PR surface: Source +54, Tests +229. Total +283 across 6 files. - Reproducibility: yes. at source level: current main tracks model-call start/end activity but streamed chunks ... covery keys on stale lastProgressAgeMs. I did not run a live local-provider repro in this read-only review. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(diagnostics): track model stream progress - PR branch already contained follow-up commit before automerge: test(diagnostics): cover silent local model aborts - PR branch already contained follow-up commit before automerge: fix(diagnostics): skip stream progress when disabled Validation: - ClawSweeper review passed for head fcc74d9. - Required merge gates passed before the squash merge. Prepared head SHA: fcc74d9 Review: openclaw#86757 (comment) Co-authored-by: Onur Solmaz <2453968+osolmaz@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: osolmaz Co-authored-by: osolmaz <2453968+osolmaz@users.noreply.github.com>
Summary: - The PR updates diagnostics to mark streamed model chunks as run progress, keeps silent model calls abortable after the stuck-session timeout, and adds regression coverage for stream progress and recovery behavior. - PR surface: Source +54, Tests +229. Total +283 across 6 files. - Reproducibility: yes. at source level: current main tracks model-call start/end activity but streamed chunks ... covery keys on stale lastProgressAgeMs. I did not run a live local-provider repro in this read-only review. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(diagnostics): track model stream progress - PR branch already contained follow-up commit before automerge: test(diagnostics): cover silent local model aborts - PR branch already contained follow-up commit before automerge: fix(diagnostics): skip stream progress when disabled Validation: - ClawSweeper review passed for head fcc74d9. - Required merge gates passed before the squash merge. Prepared head SHA: fcc74d9 Review: openclaw#86757 (comment) Co-authored-by: Onur Solmaz <2453968+osolmaz@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: osolmaz Co-authored-by: osolmaz <2453968+osolmaz@users.noreply.github.com>
Summary: - The PR updates diagnostics to mark streamed model chunks as run progress, keeps silent model calls abortable after the stuck-session timeout, and adds regression coverage for stream progress and recovery behavior. - PR surface: Source +54, Tests +229. Total +283 across 6 files. - Reproducibility: yes. at source level: current main tracks model-call start/end activity but streamed chunks ... covery keys on stale lastProgressAgeMs. I did not run a live local-provider repro in this read-only review. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(diagnostics): track model stream progress - PR branch already contained follow-up commit before automerge: test(diagnostics): cover silent local model aborts - PR branch already contained follow-up commit before automerge: fix(diagnostics): skip stream progress when disabled Validation: - ClawSweeper review passed for head fcc74d9. - Required merge gates passed before the squash merge. Prepared head SHA: fcc74d9 Review: openclaw#86757 (comment) Co-authored-by: Onur Solmaz <2453968+osolmaz@users.noreply.github.com> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: osolmaz Co-authored-by: osolmaz <2453968+osolmaz@users.noreply.github.com>
Makes #86504 merge-ready for the ClawSweeper automerge loop.
The edit pass should inspect the live PR diff, review comments, and failing checks; rebase if needed; keep the contributor branch credited; and stop only when validation is green or an external blocker is proven.
ClawSweeper 🐠 replacement reef notes:
Co-author credit kept:
fish notes: model gpt-5.5, reasoning high; reviewed against fcc74d9.