[GH-ISSUE #3095] [Issue]: Notification sound plays when rewrite agents are still working #1656

Closed
opened 2026-10-21 05:41:23 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jun 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3095

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The chat message notification sound appears to play when rewrite agents are processing, rather than only when the final completed message is shown. The user expected the sound to trigger after the completed result appears.

Expected behavior

The notification sound should not fire while rewrite agents are still working; it should play only when the actual completed message is shown.

Actual behavior

The notification sound is still playing at rewrite-agent time instead of at the end result.

Steps to reproduce

  1. Have rewrite agents working on a chat message.
  2. Observe when the notification sound plays.
  3. Check whether the sound occurs before the completed message is displayed.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

Reported by DSBwizzard in Discord on 2026-06-30. The user believes this behavior differs from the intended notification timing.

Discord message: Discord message from DSBwizzard
Discord message link: https://discord.com/channels/1417099416812392641/1495493775617687775/1521518152339685447
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord message transcript (1 message)
[2026-06-30T14:09:55.958Z] DSBwizzard: If I recall, wasn;t the litttle "notification sound" for a chat message supposed to not fire if rewrite agents were working, and instead sound off only when the actual completed message was shown? Cause for me it is still making that noise at rewrite-agent time, not the end result.
[Discord message: https://discord.com/channels/1417099416812392641/1495493775617687775/1521518152339685447]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jun 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3095 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The chat message notification sound appears to play when rewrite agents are processing, rather than only when the final completed message is shown. The user expected the sound to trigger after the completed result appears. ## Expected behavior The notification sound should not fire while rewrite agents are still working; it should play only when the actual completed message is shown. ## Actual behavior The notification sound is still playing at rewrite-agent time instead of at the end result. ## Steps to reproduce 1. Have rewrite agents working on a chat message. 2. Observe when the notification sound plays. 3. Check whether the sound occurs before the completed message is displayed. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context Reported by DSBwizzard in Discord on 2026-06-30. The user believes this behavior differs from the intended notification timing. Discord message: Discord message from DSBwizzard Discord message link: https://discord.com/channels/1417099416812392641/1495493775617687775/1521518152339685447 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord message transcript (1 message)</summary> ```text [2026-06-30T14:09:55.958Z] DSBwizzard: If I recall, wasn;t the litttle "notification sound" for a chat message supposed to not fire if rewrite agents were working, and instead sound off only when the actual completed message was shown? Cause for me it is still making that noise at rewrite-agent time, not the end result. [Discord message: https://discord.com/channels/1417099416812392641/1495493775617687775/1521518152339685447] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:41:23 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 30, 2026):

Fixed in the v2.0.9 prep patch. Held rewrite-agent messages now keep their postProcessingPending marker until the final text_rewrite event lands, so the notification hooks should wait for the completed rewritten message instead of firing on the pre-rewrite placeholder.\n\nVerified with pnpm regression:prompt, pnpm check, and pnpm version:check.

<!-- gh-comment-id:4844725933 --> @SpicyMarinara commented on GitHub (Jun 30, 2026): Fixed in the v2.0.9 prep patch. Held rewrite-agent messages now keep their `postProcessingPending` marker until the final `text_rewrite` event lands, so the notification hooks should wait for the completed rewritten message instead of firing on the pre-rewrite placeholder.\n\nVerified with `pnpm regression:prompt`, `pnpm check`, and `pnpm version:check`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1656
No description provided.