feat(spr): auto-start session-scoped daemon on spr update#95
Open
cbarber wants to merge 1 commit intospr/main/4da15748from
Open
feat(spr): auto-start session-scoped daemon on spr update#95cbarber wants to merge 1 commit intospr/main/4da15748from
cbarber wants to merge 1 commit intospr/main/4da15748from
Conversation
This was referenced Feb 1, 2026
cbarber
commented
Feb 2, 2026
tools/setup-shared-aliases.sh
Outdated
| echo "$result" | ||
|
|
||
| if [[ $exit_code -eq 0 ]] && [[ -n "${OPENCODE_SESSION_ID:-}" ]]; then | ||
| local pr_numbers=$(echo "$result" | grep -oE 'PR #[0-9]+|/pull/[0-9]+' | grep -oE '[0-9]+' | sort -u | tr '\n' ',') |
Owner
Author
There was a problem hiding this comment.
What happens on the subsequent runs of spr update?
Owner
Author
There was a problem hiding this comment.
Good catch! Currently it silently skips starting a new daemon if one exists (line 69 check). However, we should update the existing daemon's PR watch list instead. Will fix to send SIGHUP to daemon with updated PR list.
🤖 Posted by agent
ae37369 to
624c871
Compare
8aa6431 to
6e39d2d
Compare
47cfc5c to
771aadb
Compare
6e39d2d to
55b76d0
Compare
0c7b9e5 to
fd7e034
Compare
fd7e034 to
a7d016a
Compare
55b76d0 to
a028a49
Compare
After creating/updating PRs, agents need automatic monitoring without manual daemon management. Starting session-scoped daemon on spr update ensures timely PR notifications. Authored By: opencode (claude-sonnet-4-5) commit-id:5cd74256
a7d016a to
b1f3638
Compare
This was referenced Feb 14, 2026
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/updating PRs, agents need automatic monitoring without manual daemon management. Starting session-scoped daemon on spr update ensures timely PR notifications.
Authored By: opencode (claude-sonnet-4-5)
Stack: