Skip to content

PR 2: Remove --dangerous-skip-interactive, use global --no-input for non-interactive approval#113

Closed
natefikru wants to merge 4 commits intonate/tvc-non-interactive-loginfrom
nate/tvc-non-interactive-approve
Closed

PR 2: Remove --dangerous-skip-interactive, use global --no-input for non-interactive approval#113
natefikru wants to merge 4 commits intonate/tvc-non-interactive-loginfrom
nate/tvc-non-interactive-approve

Conversation

@natefikru
Copy link
Copy Markdown

@natefikru natefikru commented Mar 30, 2026

Summary

Depends on PR 1 (#112).

  • Removes the --dangerous-skip-interactive flag from deploy approve
  • Uses the global --no-input flag (from PR 1) to skip interactive manifest approval prompts
  • Breaking change: scripts using --dangerous-skip-interactive must switch to --no-input

Test plan

  • cargo test --test deploy_approve (6 tests: non-interactive skip, interactive prompts, reject, error cases)
  • cargo test --test global_flags (2 tests: flag recognition)
  • cargo clippy --all-targets --all-features -- -D warnings
  • Manual: tvc --no-input deploy approve --manifest <path> --skip-post skips prompts and outputs JSON
  • Manual: tvc deploy approve --manifest <path> still shows interactive prompts

@natefikru natefikru force-pushed the nate/tvc-non-interactive-approve branch 4 times, most recently from bdc6824 to 61e502e Compare March 30, 2026 16:26
@natefikru natefikru force-pushed the nate/tvc-non-interactive-approve branch from 3a0d588 to 1f2df1a Compare March 30, 2026 16:36
@natefikru natefikru changed the title PR 2: Add non-interactive deploy approve with --yes flag PR 2: Remove --dangerous-skip-interactive, use global --no-input for non-interactive approval Mar 30, 2026
@natefikru
Copy link
Copy Markdown
Author

Merged into PR #112

@natefikru natefikru closed this Mar 30, 2026
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