Skip to content

Conversation

@ethanndickson
Copy link
Member

Generated with mux

Prevents git operations from blocking on editor/credential prompts when running in SSH workspaces, matching LocalRuntime behavior.

Changes

  • Import and apply NON_INTERACTIVE_ENV_VARS in SSHRuntime.exec()
  • Add test verifying env vars are set for both runtime types

Before

SSHRuntime.exec() only exported options.env, so SSH workspaces could hang when git tried to open an editor or prompt for credentials.

After

Both LocalRuntime and SSHRuntime now apply NON_INTERACTIVE_ENV_VARS (GIT_EDITOR, GIT_TERMINAL_PROMPT, etc.) to prevent blocking prompts.

Prevents git operations from blocking on editor/credential prompts
when running in SSH workspaces, matching LocalRuntime behavior.

- Import and apply NON_INTERACTIVE_ENV_VARS in SSHRuntime.exec()
- Add test verifying env vars are set for both runtime types
@ethanndickson ethanndickson added this pull request to the merge queue Dec 2, 2025
Merged via the queue into main with commit 1e3dce5 Dec 2, 2025
13 checks passed
@ethanndickson ethanndickson deleted the ssh-runtime-non-interactive-env-vars branch December 2, 2025 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant