Skip to content

Conversation

@dstandish
Copy link
Contributor

Don't bother depickling {} object in dag run conf

Also, set the statement timeout a little higher for xcom migration.

@dstandish dstandish requested a review from ephraimbuddy as a code owner May 19, 2025 17:03
@dstandish dstandish force-pushed the skip-empty-dag-run-conf-rows-and-set-statement-timeout branch from e8eb093 to 5d34e0f Compare May 19, 2025 19:49
Copy link
Contributor

@ephraimbuddy ephraimbuddy left a comment

Choose a reason for hiding this comment

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

Should we create a new migration file instead of updating already released migrations? For new release, it would appear as if there's no migration on the version, and upgrading from a previous one like 3.0.1 won't run the migration.

@dstandish
Copy link
Contributor Author

Should we create a new migration file instead of updating already released migrations? For new release, it would appear as if there's no migration on the version, and upgrading from a previous one like 3.0.1 won't run the migration.

I don't think so -- we're just optimizing the existing migrations. We've done this many times before.

If a user is on 3.0.1, they've already passed the problematic migrations. So it remains true that there is no migration between 3.0.1 and 3.0.2.

@dstandish dstandish added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label May 21, 2025
@dstandish dstandish added this to the Airflow 3.0.2 milestone May 21, 2025
@phanikumv phanikumv force-pushed the skip-empty-dag-run-conf-rows-and-set-statement-timeout branch from 89fd264 to a6e6afb Compare May 27, 2025 10:23
dstandish and others added 7 commits May 27, 2025 14:15
Also, set the statement timeout a little higher for xcom migration.
…_pickled_data_from_xcom_table.py

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
@dstandish dstandish force-pushed the skip-empty-dag-run-conf-rows-and-set-statement-timeout branch from a6e6afb to 6b6f3a7 Compare May 27, 2025 21:23
@dstandish dstandish merged commit f75b607 into apache:main May 27, 2025
52 checks passed
@dstandish dstandish deleted the skip-empty-dag-run-conf-rows-and-set-statement-timeout branch May 27, 2025 21:56
@github-actions
Copy link

Backport failed to create: v3-0-test. View the failure log Run details

Status Branch Result
v3-0-test Commit Link

You can attempt to backport this manually by running:

cherry_picker f75b607 v3-0-test

This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
Don't bother depickling `{}` object in dag run conf

Also, set the statement timeout a little higher for xcom migration.


Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
jose-lehmkuhl pushed a commit to jose-lehmkuhl/airflow that referenced this pull request Jul 11, 2025
Don't bother depickling `{}` object in dag run conf

Also, set the statement timeout a little higher for xcom migration.


Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
dstandish added a commit to astronomer/airflow that referenced this pull request Jul 22, 2025
Don't bother depickling `{}` object in dag run conf

Also, set the statement timeout a little higher for xcom migration.

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
(cherry picked from commit f75b607)
dstandish added a commit to astronomer/airflow that referenced this pull request Jul 22, 2025
…pache#50788)

Don't bother depickling `{}` object in dag run conf

Also, set the statement timeout a little higher for xcom migration.

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
(cherry picked from commit f75b607)
dstandish added a commit that referenced this pull request Jul 22, 2025
…50788) (#53619)

Don't bother depickling `{}` object in dag run conf

Also, set the statement timeout a little higher for xcom migration.


(cherry picked from commit f75b607)

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:db-migrations PRs with DB migration backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants