notify-bridge: let a gate supply its own notification headline and summary - #465
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedNext included review available in 3 minutes. View limit detailsLimit details: You’ve used the included review currently available. Your 85 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Comment |
…empty like {summary}
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Gate notifications read
{label}/{question}today, and on a respond gate the first question is afile:line, so the banner ends up full of paths. This lets the thing that opens a gate hand over its own friendlier copy.{headline}and{summary}in anrt.notify.eventBridgestemplate now fall back tometa.headline/meta.summarywhen the event payload has no field of that namelabel/ the first question label, so a rule can switch to the new fields before every opener sets themheadline/summarystill wins, so the herd-watchdog rule works as beforeThe board side (sets the meta copy, switches its rule, and gives triage notifications a click target) is a separate PR in the apps repo.
Tests:
lib/__tests__/notify-bridge.test.ts46/46, rt-client settings suites green,tscclean.🤖 Generated with Claude Code