Skip to content

feat(forge): auto-start session-scoped daemon on pr create#96

Open
cbarber wants to merge 1 commit intospr/main/5cd74256from
spr/main/69e04b20
Open

feat(forge): auto-start session-scoped daemon on pr create#96
cbarber wants to merge 1 commit intospr/main/5cd74256from
spr/main/69e04b20

Conversation

@cbarber
Copy link
Owner

@cbarber cbarber commented Feb 1, 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
Copy link
Owner Author

Choose a reason for hiding this comment

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

Same here. We just kill the first poller on the second one?

Copy link
Owner Author

Choose a reason for hiding this comment

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

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

@cbarber cbarber force-pushed the spr/main/69e04b20 branch 2 times, most recently from 31bca17 to e1c2998 Compare February 2, 2026 13:16
@cbarber cbarber force-pushed the spr/main/69e04b20 branch 2 times, most recently from ac43ecd to 387fd7b Compare February 2, 2026 13:21
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
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.

1 participant