Conversation
WalkthroughA conditional check was added in the goroutine inside the Changes
Sequence Diagram(s)sequenceDiagram
participant Process
participant Goroutine
participant UpstreamCmd
Process->>Goroutine: Start goroutine to wait for UpstreamCmd exit
Goroutine->>UpstreamCmd: Wait for exit (cmd.Wait())
UpstreamCmd-->>Goroutine: Return error (could be "signal: killed")
alt error is "signal: killed"
Goroutine-->>Goroutine: Suppress sending error to p.cmdWaitChan
else other errors
Goroutine->>Process: Send error to p.cmdWaitChan
end
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🔇 Additional comments (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Improves #125 so after force termination, the process can be restarted. Supersedes #128 with a much simpler fix.
Summary by CodeRabbit