Skip to content

Restore nullable ORM fields and drop unreleased corrective migration#63899

Merged
ephraimbuddy merged 3 commits intoapache:mainfrom
astronomer:fix-nullable-orm-fields
Mar 19, 2026
Merged

Restore nullable ORM fields and drop unreleased corrective migration#63899
ephraimbuddy merged 3 commits intoapache:mainfrom
astronomer:fix-nullable-orm-fields

Conversation

@ephraimbuddy
Copy link
Copy Markdown
Contributor

PR #56330 mistakenly changed several ORM-backed columns from nullable to non-nullable. I later added a corrective migration in PR #62234 to backfill existing NULLs, but after revisiting the issue we found the migration was only compensating for the nullability mistake introduced by PR #56330 itself, which has not been released.

Instead of shipping a large corrective migration for an unreleased regression, delete the migration file and restore the affected ORM fields to nullable so the models stay aligned with the actual schema and intended pre-release behavior.

@ephraimbuddy ephraimbuddy force-pushed the fix-nullable-orm-fields branch 2 times, most recently from f54da3b to fd4524b Compare March 19, 2026 12:30
PR apache#56330 mistakenly changed several ORM-backed columns from nullable to
non-nullable. I later added a corrective migration in PR apache#62234 to
backfill existing NULLs, but after revisiting the issue we found the
migration was only compensating for the nullability mistake introduced by
PR apache#56330 itself, which has not been released.

Instead of shipping a large corrective migration for an unreleased
regression, delete the migration file and restore the affected ORM fields
to nullable so the models stay aligned with the actual schema and
intended pre-release behavior.
@ephraimbuddy ephraimbuddy force-pushed the fix-nullable-orm-fields branch from 3d8b00a to 6397fec Compare March 19, 2026 13:24
Copy link
Copy Markdown
Member

@ashb ashb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. There are some that would be "nice" to fix, but not at the cost of a 30+min migration.

@ephraimbuddy ephraimbuddy merged commit 0fddb73 into apache:main Mar 19, 2026
75 checks passed
@ephraimbuddy ephraimbuddy deleted the fix-nullable-orm-fields branch March 19, 2026 14:22
fat-catTW pushed a commit to fat-catTW/airflow that referenced this pull request Mar 22, 2026
…pache#63899)

* Restore nullable ORM fields and drop unreleased corrective migration

PR apache#56330 mistakenly changed several ORM-backed columns from nullable to
non-nullable. I later added a corrective migration in PR apache#62234 to
backfill existing NULLs, but after revisiting the issue we found the
migration was only compensating for the nullability mistake introduced by
PR apache#56330 itself, which has not been released.

Instead of shipping a large corrective migration for an unreleased
regression, delete the migration file and restore the affected ORM fields
to nullable so the models stay aligned with the actual schema and
intended pre-release behavior.

* Return some not nullable fixes

* fixup! Return some not nullable fixes
Suraj-kumar00 pushed a commit to Suraj-kumar00/airflow that referenced this pull request Apr 7, 2026
…pache#63899)

* Restore nullable ORM fields and drop unreleased corrective migration

PR apache#56330 mistakenly changed several ORM-backed columns from nullable to
non-nullable. I later added a corrective migration in PR apache#62234 to
backfill existing NULLs, but after revisiting the issue we found the
migration was only compensating for the nullability mistake introduced by
PR apache#56330 itself, which has not been released.

Instead of shipping a large corrective migration for an unreleased
regression, delete the migration file and restore the affected ORM fields
to nullable so the models stay aligned with the actual schema and
intended pre-release behavior.

* Return some not nullable fixes

* fixup! Return some not nullable fixes
abhijeets25012-tech pushed a commit to abhijeets25012-tech/airflow that referenced this pull request Apr 9, 2026
…pache#63899)

* Restore nullable ORM fields and drop unreleased corrective migration

PR apache#56330 mistakenly changed several ORM-backed columns from nullable to
non-nullable. I later added a corrective migration in PR apache#62234 to
backfill existing NULLs, but after revisiting the issue we found the
migration was only compensating for the nullability mistake introduced by
PR apache#56330 itself, which has not been released.

Instead of shipping a large corrective migration for an unreleased
regression, delete the migration file and restore the affected ORM fields
to nullable so the models stay aligned with the actual schema and
intended pre-release behavior.

* Return some not nullable fixes

* fixup! Return some not nullable fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants