Repository navigation
Show hosted usage dashboard by default - #165
lawrencecchen wants to merge 3 commits into
Conversation
|
Warning Review limit reachedNext included review available in 7 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
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. Comment |
# Conflicts: # cmd/subrouter/sr.go # cmd/subrouter/sr_hosted_login_test.go
|
I have read the CLA Document v2.2 and I hereby sign the CLA 1 out of 2 committers have signed the CLA. |
|
Thank you @lawrencecchen. This is carried in #397 on current |
Bare sr on a hosted cmux credential source fell through to the local account store: it listed local accounts, offered a local switch, and could auto-import ~/.codex auth. Route it, and sr status, to the hosted usage dashboard as team mode already does, and tell a hosted user with no accounts how to add one. Carries #165 by Lawrence Chen.
* Show the hosted usage dashboard for bare sr Bare sr on a hosted cmux credential source fell through to the local account store: it listed local accounts, offered a local switch, and could auto-import ~/.codex auth. Route it, and sr status, to the hosted usage dashboard as team mode already does, and tell a hosted user with no accounts how to add one. Carries #165 by Lawrence Chen. * Keep sr status honoring an explicit local server override; isolate hosted default tests from server env * Keep bare sr and argless sr switch local under SUBROUTER_SERVER=local on hosted storage
|
Thanks @lawrencecchen. This landed in #397, which carries your change (hosted usage dashboard for bare sr) plus a fix so SUBROUTER_SERVER=local still wins, and credits you in the description. |
Summary
srandsr statusthrough the full usage dashboardsr-gcpaccount-add instructions after the dashboardTesting
go test ./cmd/subrouter -count=1go test -p 1 ./... -count=1https://staging.sr.cmux.comDeployment
Issues
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
When using hosted accounts,
srandsr statusnow open the full usage dashboard by default.sr-gcpaccount-add instructions are shown after the dashboard.Written for commit 9fbba90. Summary will update on new commits.