Skip to content

Fix terminal launch blocking srepd until window closed#238

Merged
clcollins merged 1 commit into
mainfrom
srepd/fix-terminal-blocking
May 30, 2026
Merged

Fix terminal launch blocking srepd until window closed#238
clcollins merged 1 commit into
mainfrom
srepd/fix-terminal-blocking

Conversation

@clcollins
Copy link
Copy Markdown
Owner

Summary

Replace blocking stdout/stderr pipes + cmd.Wait() with cmd.Start() + background goroutine for zombie reaping. srepd returns to normal immediately after the terminal opens.

Confirmed working with ptyxis — no longer freezes.

Closes #237

🤖 Generated with Claude Code

Replace blocking stdout/stderr pipes and cmd.Wait() with
cmd.Start() and background goroutine for process reaping.
srepd returns to normal immediately after terminal opens.

Closes #237

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.63%. Comparing base (0d0986a) to head (33e8078).

Files with missing lines Patch % Lines
pkg/tui/commands.go 0.00% 4 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #238      +/-   ##
==========================================
+ Coverage   67.73%   68.63%   +0.90%     
==========================================
  Files          26       26              
  Lines        3790     3740      -50     
==========================================
  Hits         2567     2567              
+ Misses       1088     1038      -50     
  Partials      135      135              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@clcollins clcollins merged commit 033b357 into main May 30, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terminal launch blocks srepd until terminal window is closed (ptyxis, possibly others)

2 participants