Skip to content

test: verify notification system#112

Open
cbarber wants to merge 11 commits intomainfrom
test-notification-system
Open

test: verify notification system#112
cbarber wants to merge 11 commits intomainfrom
test-notification-system

Conversation

@cbarber
Copy link
Owner

@cbarber cbarber commented Feb 15, 2026

Testing end-to-end PR notification with session ID tracking


🤖 Created by agent

session(opencode): ses_3e4e2231effe8G3yclgH8X9Z7t

Required for shell.env plugin hook support (OpenCode PR #12012). Enables proper environment variable injection without command string modification.

Authored By: claude-code (claude-sonnet-4-5)

commit-id:83576793
Session-scoped pr-poll daemon needs to know which session triggered it. Prepending export to bash commands makes session ID available to shell scripts.

Authored By: opencode (claude-sonnet-4-5)

commit-id:295171f4
Session-scoped daemons know exactly which session to notify. Bypassing anvil discovery for explicit session targets reduces latency and ensures correct routing.

Authored By: opencode (claude-sonnet-4-5)

commit-id:4da15748
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
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
Global daemon caused multi-session race conditions and died with first shell. Session-scoped daemons started by spr/forge provide better isolation and lifecycle management.

Authored By: opencode (claude-sonnet-4-5)

commit-id:75e4b699
Session ID in commit body flows to PR description via spr, enabling pr-notify to route notifications to the correct agent session without scanning message history.

Authored By: opencode (claude-sonnet-4-5)

commit-id:695d6cf9
Prevents .pr-poll* files from polluting git repos and being accidentally committed. Uses repo path hash for unique state directory per repository.

Authored By: opencode (claude-sonnet-4-5)

commit-id:4594c472
Derives PRs to poll from current branch (via spr status or gh pr list) instead of scanning session message history. Eliminates expensive session queries and makes polling stateless.

Authored By: opencode (claude-sonnet-4-5)

commit-id:bf151b95
Reads session(opencode): <id> from PR body instead of scanning message history. Requires PR number parameter and notifies exactly one session.

Authored By: opencode (claude-sonnet-4-5)

commit-id:8a64c50a
session(opencode): ses_3e4e2231effe8G3yclgH8X9Z7t

commit-id:d0969c8c
@cbarber
Copy link
Owner Author

cbarber commented Feb 15, 2026

Test comment to trigger notification! 🔔


🤖 Posted by agent

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

Comments