Skip to content

feat(pr-notify): accept explicit session ID parameter#94

Open
cbarber wants to merge 1 commit intospr/main/295171f4from
spr/main/4da15748
Open

feat(pr-notify): accept explicit session ID parameter#94
cbarber wants to merge 1 commit intospr/main/295171f4from
spr/main/4da15748

Conversation

@cbarber
Copy link
Owner

@cbarber cbarber commented Feb 1, 2026

@cbarber
Copy link
Owner Author

cbarber commented Feb 2, 2026

🚀

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Approved via 🚀 comment

@cbarber cbarber changed the base branch from spr/main/33e5748a to spr/main/295171f4 February 2, 2026 13:03
@cbarber cbarber force-pushed the spr/main/4da15748 branch 3 times, most recently from 6e39d2d to 55b76d0 Compare February 2, 2026 13:16
echo "ERROR: Explicit session requires custom message" >&2
exit 1
fi
bash "${SCRIPT_DIR}/anvil" --session "$EXPLICIT_SESSION" "$CUSTOM_MESSAGE"
Copy link
Owner Author

Choose a reason for hiding this comment

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

Why does this need a custom message instead of the default?

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
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