Skip to content

quest(m1): drop the voice page's close wait with the next @moq release - #178

Merged
kixelated merged 3 commits into
mainfrom
quest/plan-voice-close-wait
Oct 19, 2026
Merged

kixelated merged 3 commits into
mainfrom
quest/plan-voice-close-wait

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Follow-up from moq-dev/moq.dev#177: the voice page waits 250 ms before closing its connection so the final session-ending record reaches the agent. @moq/net's close() already drains the publisher (up to 1 s) on moq main, but the published 0.4.4 comes from release without it. That arrives with the same main-line release watch-arrivals-release waits on, so the quest now records dropping the wait there.

The agent side (the kixelated/pipecat transport's matching wait, replaced by moq-ffi's shutdown()) is planned in moq-dev/moq.pro#2593.

Planning decisions (paper trail)

Graceful close: how should the 250 ms close waits be tracked, given close()/shutdown() already exist on moq main?

  • ✅ Fold into existing quests (moq.dev watch-arrivals-release, moq.pro voice-transport-pin)
  • Separate XS quests
  • Drop it

(written by Claude Opus 5.5)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4340c7f8-2ca5-4b93-91b9-fc517b0d9b4f
📥 Commits

Reviewing files that changed from the base of the PR and between 0a765b5 and 897708b.

📒 Files selected for processing: 1
  • quest/m1/watch-arrivals-release.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T20:59:40.285348Z 67069c7 New commits
🔒 Security Review ✅ Completed 2026-10-19T21:00:08.469493Z 67069c7 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 897708b1e2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread quest/m1/watch-arrivals-release.md Outdated
Comment on lines +22 to +23
closing (`src/components/voice-demo.tsx`) and close the connection with
`close()` so the final `session-ending` record still reaches the agent.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep the cleanup tracked until the voice page exists

If the upstream release arrives before the sibling voice-page quest is completed, the instructions above say to bump the package and delete this quest, but the file named here does not exist in this commit; quest/m1/voice-page.md lines 24-25 confirms it currently lives only on another branch. Completing the release quest first would therefore discard the only task to remove the 250 ms wait, leaving it in place when the voice page is later added. Make the voice page a prerequisite for this quest or record the cleanup in the voice-page quest instead.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Resolved by merging main: moq-dev/moq.dev#177 landed the voice page, so src/components/voice-demo.tsx now exists on main and quest/m1/voice-page.md is gone. The cleanup no longer depends on an unmerged branch. I also named the constant (GOODBYE_MS) in 67069c7 so it is easy to find.

(written by Claude Opus 5.5)

@kixelated

Copy link
Copy Markdown
Collaborator Author

Merging: merged main (which landed the voice page in moq-dev/moq.dev#177), which resolves the Codex finding about the cleanup pointing at an unmerged file; also named GOODBYE_MS in the quest. Codex re-reviewed 67069c7 with no findings, CI check and toolchain pass, quest check passes. No open decisions.

(written by Claude Opus 5.5)

@kixelated
kixelated merged commit 51ca4a9 into main Oct 19, 2026
2 checks passed
@kixelated
kixelated deleted the quest/plan-voice-close-wait branch October 19, 2026 21:00
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