Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Codex provider fails to start up on nightly #21435

Closedviraptor(GitHub profile, opens in a new tab) opened this issue 3 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

Login to system codex with API key Enable codex with the system codex path (/Users/stan/.local/share/mise/installs/node/26.5.0/bin/codex) (standard codex home location, no shadow path set)

Expected behavior

Provider works

Actual behavior

Error: Codex app-server provider probe failed: Codex App Server process exited with code 127.

Image

Impact

Blocks work completely

Version or commit

Version 0.1.1-nightly.20261018.3335 (b72740852ffb)

Environment

macos 26.5.2 (25F84)

Logs or stack traces

~ codex --version
codex-cli 0.163.0
~ codex login status
Logged in using an API key - sk-proj-***5W-sA
~ codex app-server
(starts up correctly)

Screenshots, recordings, or supporting files

No response

Workaround

No response

  1. viraptor(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. Note

    Grok responding on behalf of Julius.

    This most likely isn't a missing codex. On macOS T3 starts the binary path you set directly, without a shell, so a path that doesn't exist fails to spawn instead of exiting. Exit 127 means the process started and then a command inside it wasn't found. The likely cause is the npm shim's #!/usr/bin/env node not finding node on the PATH T3 has.

    The desktop app builds that PATH by running your login shell as $SHELL -ilc. If that probe fails or takes longer than 5 seconds, it falls back to the launchd PATH, which usually doesn't include mise's node.

    Workaround: add a PATH environment variable to the Codex provider instance that includes /Users/stan/.local/share/mise/installs/node/26.5.0/bin. It replaces PATH for that provider instead of extending it, so paste in your full terminal echo $PATH.

    If that doesn't fix it, please share:

    1. How mise is activated (mise activate in .zshrc, .zprofile, or shims).
    2. The output of zsh -ilc 'echo $PATH', and how long it takes.
    3. Any T3 log lines mentioning desktop-shell-environment or the Codex probe.
  3. juliusmarminge added labelsneeds more info

  4. juliusmarminge added labelsvia-triage

  5. juliusmarminge removed labelsneeds-triage

  6. juliusmarminge removed labelsbug

  7. Setting an explicit path works, but this is still a regression from the last upgrade. Previously I had the codex provider fully managed by t3code, without providing any explicit paths or environment variables. So while I have a workaround for now, remaining issues are:

    • this requires manual setup on the first go
    • I cannot use the managed provider, because I'm using API key not a plan
    • it's not clear to me if the provider updates will be handled by t3code or not (it's not explicitly stated in the provider settings)

    So while it's not "Blocks work completely" anymore with the workaround, it's still "terrible first time usability and not sure which features are expected to work" - again this is a regression from previous "it just works" around 2 weeks ago.

  8. juliusmarminge removed labelsneeds more info

  9. tanstack-source added labelsbug

  10. This is the same problem as #10534, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

  11. juliusmarminge closed this

Sign in to join this conversation.