GeezerVison is showing github.com — fix(server): show a complete Codex login command by saphitv · Pull Request #36678 · pingdotgg/t3code
Conversation
saphitv
commented
Nov 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
A signed-out Codex instance with its own home tells the user to run codex login and set CODEX_HOME separately. Copying just the displayed command signs in the default home instead.
Show the complete command using the instance's home and executable, with shell quoting, server-side path resolution, and POSIX or PowerShell guidance. The default hint stays unchanged. Follow-up to #35004; this does not change the login flow.
Verification
- One focused regression checks the complete PowerShell login command for a custom home containing a curly apostrophe. It fails on
6f66a23 and passes with the fix.
vp run check:changed passed: format, lint, knip, GraphQL, affected typechecks, and 87 tests across 3 files.
- Real web Settings captures use an isolated, signed-out Work instance and the real Codex CLI. OAuth sign-in and native Windows execution were not attempted.
| Before |
After |
 |
 |
Council review
Rounds: 4. All three reviewers finished satisfied with no actionable findings.
| Delegate |
Round 1 |
Round 2 |
Round 3 |
Round 4 |
| Claude Opus 5.5 |
8.5/10 |
7/10 |
9.5/10 |
9.5/10 |
| GPT-6.1 Sol |
9/10 |
9/10 |
9/10 |
9.5/10 |
| GPT-6.1 Terra |
8/10 |
9/10 |
9/10 |
9.5/10 |
Created with GPT-6.1 Sol in the Codex harness.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 6f66a23
Macroscope's review found this PR approvable — Codex sign-in guidance now includes the configured executable and CODEX_HOME in a shell-appropriate command. This changes displayed instructions without changing authentication behavior or executing commands.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
Codex sign-in guidance now uses the effective Codex home, configured executable, and host platform. The updated test checks PowerShell guidance for an unauthenticated Codex provider with a custom Windows home.
Changes: Codex sign-in guidance
| Layer / File(s) |
Summary |
Resolve paths and generate sign-in guidance apps/server/src/provider/CodexProvider.ts, apps/server/src/provider/ProviderRegistry.test.ts |
The status flow resolves the effective Codex home and executable path and passes them with the host platform to accountProbeStatus. When authentication is required, guidance uses a platform-specific login command if a custom home or executable is configured. The test checks PowerShell quoting for a custom Windows home. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
- pingdotgg/t3code#35004: Updates the signed-out Codex hint to include the effective home in the suggested login command.
Suggested labels: bugfix
Suggested reviewers: juliusmarminge
Merge Risk: Minimal · up to 1c752
-
The change shows a complete, correctly quoted sign-in command for a custom Codex home and executable, and it leaves the default hint unchanged. No merge-blocking risk was identified. Native Windows and macOS execution were not exercised.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title names the main change: the Codex sign-in hint now shows a complete login command (the fix is in server code for the signed-out Codex instance with a custom home). It follows the conventional… |
| Description check |
 |
The description follows the template sections (Problem, Change, Scope, Verification). The Problem section explains that the displayed hint omits the custom home, so copying it signs in the default hom… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title names the main change: the Codex sign-in hint now shows a complete login command (the fix is in server code for the signed-out Codex instance with a custom home). It follows the conventional commit form and is specific enough for a teammate scanning history. The title matches the summary and objectives, which describe the complete command with the instance's home and executable.
Full details: Description check
-
Explanation
The description follows the template sections (Problem, Change, Scope, Verification). The Problem section explains that the displayed hint omits the custom home, so copying it signs in the default home. The Change section describes the platform-specific command with shell quoting and server-side path resolution. The Scope section says this is a follow-up to #35004 and a bug fix, but it does not link an issue or say why none is needed, and it does not say whether a maintainer requested the PR. The Verification section lists a regression test, the check run, and before/after screenshots, and it states what was not tested. The template's agent attribution line is present. Only the Scope section is incomplete.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between db162ed and 1c752a7.
Files selected for processing: 2
-
apps/server/src/provider/CodexProvider.ts
apps/server/src/provider/ProviderRegistry.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
maria-rcks
commented
Nov 18, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
Verified in a real dev environment
verified as-is at db162ed482181c6863532d304fa98f5da9e6bd34 on a disposable linux vm, using the real dev web client, repo playwright, google chrome, and codex cli 0.164.0. no source changes.
- reproduced on
github/main (1c41c5ed89) in a separate worktree: settings > providers > a signed-out Work instance showed codex login separately from its home and omitted its configured executable.
- on the exact pr head, created the same instance through the app, with
/home/user/codex work's home and /home/user/.npm-global/bin/codex. the hint now contains one complete posix command. copying it verbatim into sh starts the real oauth login server. inspecting the live child process confirmed CODEX_HOME=/home/user/codex work's home.
- created a project pointing at a real git repo through the app. a real
gpt-6.1-sol turn ran pwd and returned CODEX_LOGIN_VERIFICATION_OK /home/user/login-verification.
- disabling, re-enabling, and refreshing
Work restores the complete signed-out hint. the default codex instance remains available.
- all 79 existing tests in
ProviderRegistry.test.ts passed through blacksmith-check. the pr head also has passing required github checks.
before, main:

after, exact pr head:



redacted command transcript
Not verified
completing browser oauth sign-in and saving new credentials was not exercised; the copied command was stopped after login startup. native windows/powershell and macos execution, electron, ios/android, and relay/tunnel clients were not exercised on this linux vm. the existing powershell quoting test passed, but is not proof of native windows execution.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch has not been deployed
No deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:M
30-99 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|