Skip to content

Phones page: phone streams send the admission token as the first message - #1427

Merged
ejc3 merged 1 commit into
mainfrom
fix/phones-admit-message
Oct 29, 2026
Merged

ejc3 merged 1 commit into
mainfrom
fix/phones-admit-message

Conversation

@ejc3

@ejc3 ejc3 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

main fails pnpm typecheck in fleet/web since #1425 merged after #1422: core/phones.ts:329 still passed the direct token to frameSocketUrl (now 2 to 3 arguments) and built a DrawSource without admit. The phone plan now sets admit on each source, which the frame worker sends as the socket's first message, and the URL carries no token.

Contract: phone streams authenticate exactly as the wall's direct streams do after #1425.

Evidence: pnpm lint, pnpm typecheck (failed on main, passes here), pnpm test 355 passed, phones e2e (playwright.phones.config.ts) 12 passed. opens each phone stream with the direct seat's admission token now checks admit on the source and no admit in the URL.

#1425 moved the direct token out of the frame URL into the socket's
first message (DrawSource.admit) after #1422 had passed it to
frameSocketUrl, so main's fleet/web failed typecheck (core/phones.ts:329:
frameSocketUrl takes 2 to 3 arguments, DrawSource needs admit). The
phone plan now sets admit on each source and builds the URL without it.

Test: phones.test.ts "opens each phone stream with the direct seat's
admission token" checks the source's admit and that the URL carries
none. pnpm lint, typecheck, test (355) and the phones e2e (12) pass.
@ejc3

ejc3 commented Oct 29, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 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-29T11:23:08.406384Z 1bf1454 Manual request
ℹ️ 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.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • 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

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 1bf1454ea4

ℹ️ 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".

@ejc3 ejc3 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

NOT-A-DEFECT: the review bodies on this PR (CodeRabbit's summary or notice, Codex's receipt) carry no finding of their own.

@ejc3
ejc3 merged commit f076c75 into main Oct 29, 2026
11 of 13 checks passed
@ejc3
ejc3 deleted the fix/phones-admit-message branch October 29, 2026 11:24
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