Skip to content

fix(cli): confirm deploy when IAM precheck fails - #967

Merged
yaozheng-fang merged 1 commit into
volcengine:mainfrom
evanlowe:fix/studio-deploy-permission-precheck-confirm
Aug 24, 2026
Merged

fix(cli): confirm deploy when IAM precheck fails#967
yaozheng-fang merged 1 commit into
volcengine:mainfrom
evanlowe:fix/studio-deploy-permission-precheck-confirm

Conversation

@evanlowe

Copy link
Copy Markdown
Contributor

Summary

  • prompt before continuing a Studio deployment when required IAM actions are missing
  • default to cancelling unless the user explicitly confirms
  • preserve strict --precheck-only behavior and localize prompts for Volcengine and BytePlus
  • add CLI coverage for declining and accepting the warning

Tests

  • uv run --extra dev pre-commit run --all-files
  • uv run --extra dev --extra extensions pytest tests/cli/test_studio_deploy_permissions.py -q (13 passed)
  • uv run --extra dev --extra extensions pytest (2563 passed, 6 skipped; 2 unrelated timeout failures passed on isolated rerun)
  • isolated rerun: test_generated_project_and_debug_run_api_lifecycle and test_generated_agent_debug_omits_stdio_mcp_on_remote_bind (2 passed)

@yaozheng-fang
yaozheng-fang merged commit 593df11 into volcengine:main Aug 24, 2026
9 checks passed
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.

2 participants