Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation to enforce skip_cleanup=false cannot be used with backends #36857

Open
wants to merge 1 commit into
base: f-controlling-destroys
Choose a base branch
from

Conversation

SarahFrench
Copy link
Member

@SarahFrench SarahFrench commented Apr 4, 2025

(Work split out of #36848)

This PR:

  • Adds validation to stop users setting skip_cleanup=false in a run block with a backend block
    • This is because using a backend block implies skip_cleanup=true
    • We could pivot to making backend and skip_cleanup mutually exclusive?
  • Adds tests for that validation, and also to show it's ok to set skip_cleanup=true in a run block with a backend block

@SarahFrench SarahFrench added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Apr 4, 2025
@SarahFrench SarahFrench marked this pull request as ready for review April 4, 2025 22:54
@SarahFrench SarahFrench requested a review from a team as a code owner April 4, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog-needed Add this to your PR if the change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant