Skip to content

fix(notifications): Skip push notifications for quiet and no-reply Turns - #3033

Merged
BYK merged 1 commit into
mainfrom
fix/push-skip-quiet-replies
Nov 9, 2026
Merged

BYK merged 1 commit into
mainfrom
fix/push-skip-quiet-replies

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Push notifications did not follow the quiet rules from #2659 and #2875.

notifyReply took the last assistant text from the run transcript. That is the raw model text, so:

  • A Turn that ended with [[NO_REPLY]] pushed a notification with that marker as its preview.
  • A quiet Watch reply still pushed. Slack delivery and the unread count already skip it.

A probe test on main confirmed both: each of these Turns sent one push.

notifyReply now reads the Message that the Turn stored (<turnId>:assistant:N), which is the text that the person sees. When the Turn stored no Message, it skips with no_reply. When the Message is quiet, it skips with the new quiet skip reason. The preview now uses the stored text, so it never shows a marker.

The owning test in reply-notification-task.test.ts now stores the Message like a real Turn and checks that a no-reply Turn and a quiet Turn send nothing.

via @BYK.

--

View Session in Sentry

notifyReply read the raw model text from the run transcript. A Turn that
ended with [[NO_REPLY]] pushed that marker, and a quiet Watch reply pushed
even though Slack and the unread count skip it. It now reads the Message
that the Turn stored, skips when there is none, and skips a Quiet message.

Co-Authored-By: BYK <[email protected]>
@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 9, 2026 7:00pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

15 screenshot changes — 15 changed · 0 added · 0 removed

Review screenshots in Frameshift

Conversation Attachment · Desktop
Conversation Attachment · Desktop
Changed
Conversation Attachment · Mobile
Conversation Attachment · Mobile
Changed
Conversation Attachment Modal · Desktop
Conversation Attachment Modal · Desktop
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Conversation Attachment Zoom · Mobile
Conversation Attachment Zoom · Mobile
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Show 9 more changed screenshots
Conversation Event Log Virtual · Desktop
Conversation Event Log Virtual · Desktop
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversation Text Attachment · Desktop
Conversation Text Attachment · Desktop
Changed
Conversation Unsent Answers · Desktop
Conversation Unsent Answers · Desktop
Changed
Conversation Unsent Answers · Mobile
Conversation Unsent Answers · Mobile
Changed
Memories · Mobile
Memories · Mobile
Changed
Person Profile · Desktop
Person Profile · Desktop
Changed
Push Notifications Tip · Desktop
Push Notifications Tip · Desktop
Changed
Settings Mcp · Desktop
Settings Mcp · Desktop
Changed

@BYK
BYK merged commit 651b440 into main Nov 9, 2026
45 checks passed
@BYK
BYK deleted the fix/push-skip-quiet-replies branch November 9, 2026 21:26
sentry-junior Bot added a commit that referenced this pull request Nov 9, 2026
A reply that only says work continues, such as an ack after handing work
to a child agent, now ends with [[PROGRESS]]. Junior strips the marker,
delivers and shows the reply as usual, and stores meta.progress. The
unread query skips it, and notifyReply (from #3033) skips it with reason
progress. A reply with cards always notifies.

Fixes #3031

Co-Authored-By: BYK <[email protected]>
sentry-junior Bot added a commit that referenced this pull request Nov 10, 2026
A reply that only says work continues, such as an ack after handing work
to a child agent, now ends with [[PROGRESS]]. Junior strips the marker,
delivers and shows the reply as usual, and stores meta.progress. The
unread query skips it, and notifyReply (from #3033) skips it with reason
progress. A reply with cards always notifies.

Fixes #3031

Co-Authored-By: BYK <[email protected]>
sentry-junior Bot added a commit that referenced this pull request Nov 10, 2026
A reply that only says work continues, such as an ack after handing work
to a child agent, now ends with [[PROGRESS]]. Junior strips the marker,
delivers and shows the reply as usual, and stores meta.progress. The
unread query skips it, and notifyReply (from #3033) skips it with reason
progress. A reply with cards always notifies.

Fixes #3031

Co-Authored-By: BYK <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — e64bbcad Deployed Nov 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant