Repository navigation
fix(server): deliver child results to running Claude turns - #39528
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
EvidenceRun a real Claude Haiku parent, delegate an asynchronous child that sleeps 5 seconds and returns CHILD_RESULT_OK, then run foreground Bash Environment: isolated web dev servers, fresh synthetic data, Chromium 1280×800, light theme, real claude-haiku-5-5. Recordings crop out the private workspace panel.
Reproduction driver, identical prompt, base runtime transcript, head runtime transcript. The transcripts confirm child completion inside the foreground command interval on both commits. Excluding the READY setup turn, base uses two parent runs and head uses one. Not shown:
|


Fixes #39441.
Claude completion notices were queued until the parent turn ended. The adapter still advertised that steering interrupts tools, even after #39018 switched steering to Claude's
nextpriority. Update the adapter capability so eligible notices can reach the active turn at a tool boundary.Reproduction and verification
In two fresh, isolated Linux web environments at 1280 × 800, I started a real Claude Haiku 5.5 parent and delegated to a synthetic Replay child. While the child worked, the parent ran
sleep 18; printf 'FOREGROUND_OK\n'in foreground Bash. I compared the visible timeline and the server's run and notice records.FOREGROUND_OK, and Claude acknowledged the child result in the same turn.The live captures compare
db51b6719f11with that revision plus the fix. The PR branch is based on194726492b45, where the updated integration test failed on the base adapter and passed with the patch.vp run check:changedpassed with 483 tests. The live check used the web client and covered delegated completion. Native clients were outside this pass.Evidence
The 38-second walkthrough starts with the baseline screenshot, pauses on the patched run while the parent is still working, then plays the key part of the actual recording at 0.55×. It ends on the completed patched timeline.
issue-39441-claude-notice-before-after.mp4
Before and after screenshots
Before · result delivered in a second run
After · result delivered in the original run
Model used for the patch and PR: GPT-6.2 Sol. Harness: Codex in T3 Code.