Add `--fix` flag to `astro dev upgrade-test` by jeremybeard · Pull Request #1997 · astronomer/astro-cli
Navigation Menu
{{ message }}
astronomer / astro-cli Public
- Notifications You must be signed in to change notification settings
- Fork 106
Merged
Add --fix flag to astro dev upgrade-test#1997
jeremybeard merged 1 commit intomainfrom
Add --fix flag to astro dev upgrade-test#1997
jeremybeard merged 1 commit intomainfrom
Conversation
Copy link
Contributor
jeremybeard
commented
Jan 5, 2026
jeremybeard
commented
Description
This change adds a new --fix flag to the astro dev upgrade-test command to automatically fix linting issues reported by ruff.
🧪 Functional Testing
- Added unit test coverage for ruff command
- Tested on example Airflow 2 DAG, which fixed all identified issues
📸 Screenshots
📋 Checklist
- Rebased from the main (or release if patching) branch (before testing)
- Ran
make testbefore taking out of draft - Ran
make lintbefore taking out of draft - Added/updated applicable tests
- Tested against Astro-API (if necessary).
- Tested against Houston-API and Astronomer (if necessary).
- Communicated to/tagged owners of respective clients potentially impacted by these changes.
- Updated any related documentation
jeremybeard
requested review from
kushalmalani and
neel-astro
as code owners
neel-astro approved these changes Jan 5, 2026
Copy link
Contributor
neel-astro
left a comment
neel-astro
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a straightforward, simple flag addition
jeremybeard
deleted the
upgrade-test-fix-flag
branch
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
