You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a foreground bash command is detached to background (ctrl+b), the StdoutPipe + Wait handoff after detach can race and truncate the command's trailing output (#684). Minor robustness follow-up.
Steps to Reproduce
Run a bash command that emits output right up to the moment it exits.
Detach it to background mid-run (ctrl+b).
Read the shell output via BashOutput / /tasks; trailing lines emitted near process exit can be missing.
Expected Behavior
All output up to process exit is captured and readable after a detach.
Actual Behavior
Trailing output can be truncated due to a StdoutPipe + Wait race in the detach handoff.
Notes
Relevant code: the bash detach path (internal/agent/tools/bash*.go) and internal/services/background_shell_service.go.
Activity
fix(tools): wait for pipe readers before reaping detached bash shells (…
chore(release): 0.128.0 [skip ci]
inference-gateway-releaser commentedon Jul 3, 2026
🎉 This issue has been resolved in version 0.128.0 🎉
The release is available on:
Your semantic-release bot 📦🚀