Chore!: Update ci/cd bot default behaviour to match CLI behaviour #4900
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR brings the CI/CD bot to parity with the CLI in terms of default behaviour.
Prior to this, by default the CI/CD bot would:
With the CLI, running a command like
sqlmesh plan pr_env
results in a much more streamlined experience as it:prod
can be a virtual updateThis PR treats the bot like an automated extension of the CLI thus changes the bot defaults to match the CLI defaults.
Of course, the bot config can still override the defaults as before so the old behaviour can be reinstated.
Caution
This PR may break some workflows.
I suspect that many users have already overridden the bot config to make it behave like the CLI, but this change will result in unexpected behaviour for users that havent. There isn't a lot we can do about this except announce it and include steps to reinstate the old behaviour