Skip to content

chore(demo): silence job-control noise on demo shutdown - #41

Merged
BunsDev merged 1 commit into
mainfrom
chore/demo-quiet-cleanup
Jul 7, 2026
Merged

chore(demo): silence job-control noise on demo shutdown#41
BunsDev merged 1 commit into
mainfrom
chore/demo-quiet-cleanup

Conversation

@BunsDev

@BunsDev BunsDev commented Jul 7, 2026

Copy link
Copy Markdown
Member

Follow-up polish to #40: disown the backgrounded stub and adapter so the cleanup kill no longer prints Terminated job-control lines after the demo's closing summary.

Verified: examples/demo/run-demo.sh exits 0 with 18/18 assertions and zero Terminated lines in captured output.

disown the stub and server after backgrounding so the cleanup kill does not
print 'Terminated' lines after the demo's closing summary.

Signed-off-by: Val Alexander <bunsthedev@gmail.com>
Copilot AI review requested due to automatic review settings July 7, 2026 00:52
@BunsDev
BunsDev merged commit 3b98a12 into main Jul 7, 2026
2 checks passed
@BunsDev
BunsDev deleted the chore/demo-quiet-cleanup branch July 7, 2026 00:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR polishes the offline reference demo shutdown behavior by detaching the backgrounded GitHub stub and adapter processes from job control, aiming to prevent Terminated job-control noise during cleanup.

Changes:

  • Disown the demo’s background processes after they’re started to suppress job-control termination messages on shutdown.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/demo/run-demo.sh
Comment on lines +117 to +118
# Detach both from job control so shutdown doesn't print 'Terminated' noise.
disown "$STUB_PID" "$SERVER_PID"
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.

2 participants