Skip to content

Navigation Menu

Sign in
Sign up
This repository was archived by the owner on Jun 22, 2026. It is now read-only.

fix(app delete): reject positional app names - #7396

Open
KirtiRamchandani wants to merge 1 commit into
aws:mainline from
KirtiRamchandani:fix/app-delete-reject-positional-name
Open

fix(app delete): reject positional app names #7396
KirtiRamchandani wants to merge 1 commit into
aws:mainline from
KirtiRamchandani:fix/app-delete-reject-positional-name

Conversation

@KirtiRamchandani

@KirtiRamchandani KirtiRamchandani commented May 31, 2026

Copy link
Copy Markdown

Rejects positional application names for copilot app delete so copilot app delete example-app fails before it can delete the default workspace application. The command examples and command reference now show --name for deleting a specific application.

Fixes #6048

Tests run:

  • go test ./internal/pkg/cli -run TestAppDeleteCommandRejectsPositionalAppName
  • go test ./internal/pkg/cli -run 'Test(AppDeleteCommandRejectsPositionalAppName|DeleteAppOpts_(Ask|Execute))'
  • git diff --check

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.

Copy link
Copy Markdown
Author

The failing Summary / Mergify Merge Queue checks here are from the repository-wide Mergify config, not this PR's code. The check-run output reports actions.queue.method and actions.queue.commit_message_template as invalid extra inputs.

Opened #7398 to move the squash merge strategy and commit-message settings onto queue_rules, which should address the shared Mergify validation failure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Accidental deletion caused by undocumented --name default in app delete command

1 participant

AltStyle によって変換されたページ (->オリジナル) /