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: go-to-k/delstack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.8.0
Choose a base ref
...
head repository: go-to-k/delstack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.9.0
Choose a head ref
  • 3 commits
  • 24 files changed
  • 2 contributors

Commits on Mar 31, 2026

  1. feat: add TerminationProtection awareness to cdk subcommand (#622)

    * feat: make -f flag skip confirmation prompt in cdk subcommand
    
    Align delstack cdk -f behavior with cdk destroy -f by implicitly
    skipping the confirmation prompt when force mode is enabled.
    
    * feat: add TerminationProtection awareness to cdk subcommand
    
    - In interactive mode (-i), TP stacks are hidden without -f, shown
      with * marker when -f is used (consistent with root command)
    - When -f selects TP stacks, a dedicated TP confirmation prompt is
      shown before the general deletion confirmation
    - -y skips all confirmation prompts (both TP and general)
    - Without -f, selecting TP stacks returns TerminationProtectionError
    - Add CheckStack method to CloudFormationStackOperator for combined
      existence + TP status check
    - Add e2e test (cdk_termination_protection) and Makefile targets
    
    * test: add unit tests for CheckStack method
    
    * refactor: extract TP confirmation logic from cdk.go into cdk_confirm.go
    
    Keep cdk.go as an orchestrator with minimal logic.
    
    * test: add unit tests for CdkStackConfirmer
    
    * refactor: make filterTPStacks and joinStackNames receiver methods
    
    * refactor: consolidate TP and deletion confirmation into single Confirm method
    
    * feat: skip deletion confirmation in interactive mode
    
    In interactive mode (-i), the checkbox "OK?" already confirms the
    selection, so the additional "Are you sure?" prompt is redundant.
    Skip it to match root command behavior.
    
    * refactor: remove unused StackExists method, replaced by CheckStack
    go-to-k authored Mar 31, 2026
    Configuration menu
    Copy the full SHA
    a099394 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f3f888 View commit details
    Browse the repository at this point in the history
  3. Release for v2.9.0 (#623)

    * [tagpr] prepare for the next release
    
    * [tagpr] update CHANGELOG.md
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Mar 31, 2026
    Configuration menu
    Copy the full SHA
    e6e2afc View commit details
    Browse the repository at this point in the history
Loading