Skip to content

Comments

Add --fix flag to astro dev upgrade-test#1997

Merged
jeremybeard merged 1 commit intomainfrom
upgrade-test-fix-flag
Jan 5, 2026
Merged

Add --fix flag to astro dev upgrade-test#1997
jeremybeard merged 1 commit intomainfrom
upgrade-test-fix-flag

Conversation

@jeremybeard
Copy link
Contributor

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

Screenshot 2026-01-05 at 12 01 52 PM

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before 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

Copy link
Contributor

@neel-astro 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 jeremybeard merged commit a78829b into main Jan 5, 2026
5 of 6 checks passed
@jeremybeard jeremybeard deleted the upgrade-test-fix-flag branch January 5, 2026 17:27
Sign up for free to 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.

2 participants