Skip to content

fix(bootstrap): Keep run_command from exiting after success#541

Open
Gujiassh wants to merge 1 commit intomicrosoft:mainfrom
Gujiassh:fix/python-bootstrap-follow-up-refresh-20260411
Open

fix(bootstrap): Keep run_command from exiting after success#541
Gujiassh wants to merge 1 commit intomicrosoft:mainfrom
Gujiassh:fix/python-bootstrap-follow-up-refresh-20260411

Conversation

@Gujiassh
Copy link
Copy Markdown

Summary

  • refresh the old setup_env.py success-path fix onto current main
  • stop run_command(..., log_step=None) from exiting even when the subprocess succeeds
  • keep the focused regression coverage for both successful and failing command paths

Validation

  • python3 -m py_compile setup_env.py tests/test_setup_env_run_command.py
  • python3 -m unittest discover -s tests -p 'test_setup_env_run_command.py'

Only abort when subprocess execution actually fails so setup_env can keep progressing through build and model preparation steps after successful commands.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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