Skip to content

Conversation

@varundeepsaini
Copy link

@varundeepsaini varundeepsaini commented Dec 6, 2025

Changes

Fixes: #4006

Wait for app in DELETING state before creating a new app. When a DAB app is destroyed and immediately redeployed, the create fails with "An app with the same name already exists" because the app is still in DELETING state. This change adds a wait before create to handle this race condition.

I couldn't replicate the issue locally but have added unit tests to verify the behavior.

Tests

  • make test run locally
  • relevant change in docs/ folder
  • covered with integration tests in internal/acceptance
  • using Go SDK
  • using TF Plugin Framework
  • has entry in NEXT_CHANGELOG.md file

@varundeepsaini varundeepsaini requested review from a team as code owners December 6, 2025 15:39
@varundeepsaini varundeepsaini requested review from hectorcast-db and removed request for a team December 6, 2025 15:39
@varundeepsaini
Copy link
Author

@alexott have made the changes. Please review again
@andrewnester can you also take a look

@varundeepsaini
Copy link
Author

@andrewnester bump ^^

@github-actions
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/terraform

Inputs:

  • PR number: 5263
  • Commit SHA: 10b6e91d2b3e7853b721b75d6ee7eaaf22c03657

Checks will be approved automatically on success.

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.

Deploying an app immediately after it is deleted fails

2 participants