Skip to content

Check for running resources with --fail-on-active-runs before any mutative operation during deploy - #2743

Merged
andrewnester merged 3 commits into
mainfrom
fix/fail-on-running-early
Apr 22, 2025
Merged

Check for running resources with --fail-on-active-runs before any mutative operation during deploy#2743
andrewnester merged 3 commits into
mainfrom
fix/fail-on-running-early

Conversation

@andrewnester

@andrewnesterandrewnester commented Apr 22, 2025

Copy link
Copy Markdown
Contributor

Changes

Check for running resources with --fail-on-active-runs before any mutative operation during deploy
Fixes#2671

Why

We should check for running resources and fail if there are any earlier before any mutative operations such as artifacts folder clean up happens

Tests

Added acceptance test

@andrewnesterandrewnester changed the title Check running resources in bundle earlyCheck for running resources with --fail-on-active-runs earlierApr 22, 2025
Comment threadNEXT_CHANGELOG.md Outdated
Comment threadacceptance/bundle/deploy/fail-on-active-runs/script Outdated
Comment threadacceptance/bundle/deploy/fail-on-active-runs/script Outdated
@andrewnesterandrewnester changed the title Check for running resources with --fail-on-active-runs earlierCheck for running resources with --fail-on-active-runs before any mutative operation during deployApr 22, 2025
@andrewnesterandrewnester changed the title Check for running resources with --fail-on-active-runs before any mutative operation during deployCheck for running resources with --fail-on-active-runs before any mutative operation during deployApr 22, 2025
@andrewnester
andrewnester added this pull request to the merge queueApr 22, 2025
Merged via the queue into main with commit 8eb31ccApr 22, 2025
@andrewnester
andrewnester deleted the fix/fail-on-running-early branch April 22, 2025 11:03
deco-sdk-taggingBot added a commit that referenced this pull request Apr 23, 2025
## Release v0.249.0
### CLI
* Added `exclude-from` and `include-from` flags support to sync command ([#2660](#2660))
### Bundles
* Correctly translate paths to local requirements.txt file in environment dependencies ([#2736](#2736))
* Check for running resources with --fail-on-active-runs before any mutative operation during deploy ([#2743](#2743))
denik pushed a commit that referenced this pull request May 20, 2026
…utative operation during deploy (#2743)
## Changes
Check for running resources with `--fail-on-active-runs` before any
mutative operation during deploy
Fixes#2671 ## Why
We should check for running resources and fail if there are any earlier
before any mutative operations such as artifacts folder clean up happens
## Tests
Added acceptance test
<!-- If your PR needs to be included in the release notes for next
release,
add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
denik pushed a commit that referenced this pull request May 20, 2026
## Release v0.249.0
### CLI
* Added `exclude-from` and `include-from` flags support to sync command ([#2660](#2660))
### Bundles
* Correctly translate paths to local requirements.txt file in environment dependencies ([#2736](#2736))
* Check for running resources with --fail-on-active-runs before any mutative operation during deploy ([#2743](#2743))
Sign up for freeto 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.

Artifacts clean up bug fix causing issues

2 participants

@andrewnester@pietern