Repository navigation
web: stop advertising retired hosted subrouter - #20163
Conversation
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
41867ec to
a72b0cc
Compare
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
|
All contributors have signed the CLA ✍️ ✅ |
This comment has been minimized.
This comment has been minimized.
|
Passes: CI passes on CI passes on Written by |
|
|
|
DNS/monitoring finding (2026-10-14): this change alone does not stop production from advertising Evidence that the retirement was deliberate: GCP audit log shows |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n invalid one Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merge receipt for |
#20163 made the hosted Subrouter opt-in, so nothing calls defaultHostedSubrouterURL and the sr.cmux.com constants it returned. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The CLI config endpoint advertised
sr.cmux.comeven when the hosted Subrouter URL was unset. That retired origin has no DNS, so newsr loginclients attempted a dead exchange path. Make hosted Subrouter opt-in: whenSUBROUTER_HOSTED_URLis absent, omit thesubrouterblock from public CLI config instead of publishing a dead default.Validation:
heavy --mem 4G bun test web/tests/cli-config-route.test.tsThe released CLI fallback in subrouter recognizes the omitted block and directs users to the legacy/team-server path.
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Stops the CLI config endpoint from advertising the retired hosted Subrouter origin, which has no DNS and previously sent new
sr loginclients down a dead exchange path. Hosted Subrouter is now opt-in.SUBROUTER_HOSTED_URLis unset, the public CLI config omits thesubrouterblock instead of publishing the dead default.Validation:
heavy --mem 4G bun test web/tests/cli-config-route.test.ts— 7 tests passed.Written for commit 8814110. Summary will update on new commits.
Summary by CodeRabbit