Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pingdotgg/t3code
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: pingdotgg/t3code
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: factory/issue-34354
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 7 files changed
  • 1 contributor

Commits on Nov 11, 2026

  1. fix(server): provider refresh finds CLIs added to the login shell PAT…

    …H after startup
    
    The server read the login shell PATH only once at startup, and provider
    drivers copy the environment when they are built. A provider CLI installed
    later into a directory the login shell puts on PATH stayed "not found on PATH"
    until the server restarted.
    
    A provider refresh (manual, per instance, or a full refresh pass) now re-reads
    the login shell PATH asynchronously when an enabled instance reports its CLI
    as missing. If the shell adds PATH entries, they are merged into the server
    environment and only the missing instances are rebuilt, so installed instances
    keep their sessions.
    
    Fixes #34354
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    4bd7310 View commit details
    Browse the repository at this point in the history
  2. fix(server): recheck login shell PATH for every missing provider, inc…

    …luding on health checks
    
    An instance refresh merged the new login shell PATH into the server
    environment but rebuilt only the refreshed instance, so other missing
    providers kept their stale environment copy and later refreshes saw no new
    PATH entries. The periodic health check never reread PATH at all.
    
    A PATH change now rebuilds every enabled missing instance, and a health-check
    probe that still finds a CLI missing rereads the login shell PATH, at most
    once a minute.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    d874fd0 View commit details
    Browse the repository at this point in the history
  3. fix(server): reread login shell PATH only on provider refreshes, not …

    …health checks
    
    The previous change reread the login shell PATH from periodic health checks
    whenever an enabled provider was missing. Codex and Claude are enabled by
    default, so many users would spawn an interactive login shell (running their
    startup files) about every five minutes, indefinitely.
    
    Drop the health-check hook and its throttle state. PATH is reread only when a
    provider refresh runs while an enabled provider is missing, and every missing
    instance is still rebuilt when the PATH gained entries.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    90643b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d0a2cb2 View commit details
    Browse the repository at this point in the history
Loading