Repository navigation
Mute issue trigger notifications on every reset - #116
Merged
Merged
Conversation
A new Hookdeck project's default issue triggers carry an email channel,
which goes to every member of the project. Scenarios fail deliveries,
requests and transformations on purpose, so every run emailed the
evals-ci team about failures we caused.
Acquire and release now set channels: {} on every issue trigger, leaving
each one enabled and scoped as it was. Every trigger rather than only the
snapshot's, because in CI a leaked trigger can be recorded as pristine.
A failed mute warns rather than throws. No scorer reads issues, and
alerting-001 scores the agent's trigger before release, so no score moves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From review of #116. A trigger with null or missing channels still emails: the notification service falls through to emailing the team, so skipping it as already muted was wrong. Only an empty object is skipped. The docs said the mute cannot move a score. It changes what alerting-001 starts from: every existing trigger now reads channels: {}, the silent state that scenario fails an agent for leaving. Recorded as an instrument change. Also corrected who the email reaches (organization members with alerts on, gated by the project's notification methods) and noted that project setting needs a dashboard session, so the harness cannot use it. Adds tests for null channels and for muting when the release reset throws. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
leggetter
marked this pull request as ready for review
November 6, 2026 15:26
This was referenced Nov 6, 2026
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.
The
evals-ciproject's default issue triggers email the team, and scenarios fail deliveries, requests and transformations on purpose. So every run has emailed people about failures we caused, since at least 21 August.What changes
muteIssueTriggerNotifications(client)setschannels: {}on every issue trigger that is not already an empty object, including null or missing channels, which still email. Triggers stay enabled and scoped, so issues still open; nobody is notified.FixedProjectSourcecalls it on acquire and on release. A failure warns rather than throws.ProjectSourceinterface says any source that creates or hands out a project must call it.Who the email reached
Every organization member who has not turned alerts off (admins, owners and project members only, for a private project), and only while the project's notification methods include email. That project setting would be the cleaner switch, since it leaves the triggers untouched, but it is writable only with a dashboard session, not a project API key.
This is an instrument change for
alerting-001No scorer reads issues, and the agent's own work is never muted before it is scored: acquire mutes before the agent runs, release mutes after scoring. But the agent now starts with every existing trigger at
channels: {}, which is the silent state that scenario fails an agent for leaving. A default delivery trigger can no longer be passed by confirming it, and an agent that copies its neighbours' shape fails the channel check. Results either side of this change are not comparable for that scenario. #117 covers restoring the default delivery trigger, which the project has not had since 19 August.Already applied by hand
The three live default triggers on
evals-ci(transformation, request, backpressure) were set tochannels: {}on 6 November, before this change.Review
An independent review found nothing blocking. Fixed from it: null channels, the overclaim that no score could move, the recipient wording, a misnamed test, and a missing test for muting when the release reset throws.
Checks
pnpm --filter @hookdeck-evals/hookdeck exec vitest run: 62 passed, seven newpnpm typecheckandpnpm -r build: clean🤖 Generated with Claude Code