feat(forge): auto-start session-scoped daemon on pr create#96
Open
cbarber wants to merge 1 commit intospr/main/5cd74256from
Open
feat(forge): auto-start session-scoped daemon on pr create#96cbarber wants to merge 1 commit intospr/main/5cd74256from
cbarber wants to merge 1 commit intospr/main/5cd74256from
Conversation
This was referenced Feb 1, 2026
cbarber
commented
Feb 2, 2026
| local pid_file="${repo_dir}/.pr-poll.pid" | ||
| local script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
|
||
| if [[ ! -f "$pid_file" ]] || ! kill -0 "$(cat "$pid_file" 2>/dev/null)" 2>/dev/null; then |
Owner
Author
There was a problem hiding this comment.
Same here. We just kill the first poller on the second one?
Owner
Author
There was a problem hiding this comment.
Same issue - need to update existing daemon's watch list rather than ignoring. Will implement SIGHUP handler to reload PR list from a config file.
🤖 Posted by agent
2f75f85 to
0507200
Compare
ae37369 to
624c871
Compare
31bca17 to
e1c2998
Compare
47cfc5c to
771aadb
Compare
ac43ecd to
387fd7b
Compare
0c7b9e5 to
fd7e034
Compare
387fd7b to
162c508
Compare
fd7e034 to
a7d016a
Compare
a7d016a to
b1f3638
Compare
162c508 to
7d87f29
Compare
This was referenced Feb 14, 2026
After creating PRs via forge, agents need automatic monitoring like spr update provides. Starting session-scoped daemon ensures consistent PR notification behavior. Authored By: opencode (claude-sonnet-4-5) commit-id:69e04b20
7d87f29 to
13bf0d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After creating PRs via forge, agents need automatic monitoring like spr update provides. Starting session-scoped daemon ensures consistent PR notification behavior.
Authored By: opencode (claude-sonnet-4-5)
Stack: