Merged
Conversation
neel-astro
approved these changes
Oct 17, 2025
Contributor
neel-astro
left a comment
There was a problem hiding this comment.
left minor nits around messaging/cleanup, but otherwise changes LGTM
cloud/deploy/deploy.go
Outdated
Comment on lines
793
to
794
| if forceUpgradeToAF3 { | ||
| fmt.Println("Warning: --force-upgrade-to-af3 is deprecated and no longer required. Support will be removed in a future release.") |
Contributor
There was a problem hiding this comment.
nit: we can drop this, since we have marked the flag as deprecated, and that standard warning message would show up whenever users try to use the flag.
Contributor
There was a problem hiding this comment.
This also means that we can drop the argument forceUpgradeToAF3 from all these methods till cmd/cloud/deploy.go upstream
Contributor
Author
There was a problem hiding this comment.
Updated the code to address this and revalidated the changes. Updated the functional test case in the PR description.
Co-authored-by: Neel Dalsania <[email protected]>
neel-astro
approved these changes
Oct 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Allow Airflow 2 --> 3 upgrades without requiring
--force-upgrade-to-af3. The flag now logs a deprecation warning when used, and the relevant runtime-version checks/tests were updated accordingly.🎟 Issue(s)
Related #34813
🧪 Functional Testing
astro deployagainst an AF2 (≥12.0.0) deployment to confirm AF3 upgrade succeeds with and without the flag.With flag:
📸 Screenshots
📋 Checklist
make testbefore taking out of draftmake lintbefore taking out of draft