feat(pr-notify): accept explicit session ID parameter#94
Merged
Conversation
This was referenced Feb 1, 2026
Owner
Author
|
🚀 |
6e39d2d to
55b76d0
Compare
cbarber
commented
Feb 9, 2026
| echo "ERROR: Explicit session requires custom message" >&2 | ||
| exit 1 | ||
| fi | ||
| bash "${SCRIPT_DIR}/anvil" --session "$EXPLICIT_SESSION" "$CUSTOM_MESSAGE" |
Owner
Author
There was a problem hiding this comment.
Why does this need a custom message instead of the default?
Owner
Author
There was a problem hiding this comment.
This comment is unanswered
Owner
Author
There was a problem hiding this comment.
The explicit session path is for manual testing/debugging - when you already know the session ID and want to send a custom notification directly without extracting from a PR. The normal flow (PR number only) auto-extracts the session ID from the PR description.
🤖 Posted by agent
55b76d0 to
a028a49
Compare
063adbc to
cab95a6
Compare
This was referenced Feb 14, 2026
cab95a6 to
86f8e5a
Compare
a028a49 to
045468e
Compare
045468e to
79b4fca
Compare
79b4fca to
c0ea4a6
Compare
816e276 to
ff1c6ae
Compare
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
c0ea4a6 to
38abebe
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.
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
Stack: