Skip to content

Conversation

@kubasieron
Copy link
Contributor

Description

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

@snippet-bot
Copy link

snippet-bot bot commented Jan 3, 2023

No region tags are edited in this PR.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jan 3, 2023
@kubasieron kubasieron force-pushed the airflow-db-cleanup-dag-update branch from 18c88fb to 0201d43 Compare January 3, 2023 13:01
@leahecole
Copy link
Collaborator

Just to double check, we're no longer supporting the Airflow 1 version of this DAG and it's been removed from the docs too?

@kubasieron
Copy link
Contributor Author

Just to double check, we're no longer supporting the Airflow 1 version of this DAG and it's been removed from the docs too?

We are supporting it, but now script in composer/workflows/airflow_db_cleanup.py works both for Airflow 1 and 2, so I feel like there is no need for script for Airflow 1 only, however I was not sure about it, so if you think differently, I'll create separate for Airflow 1 and 2.

@kubasieron kubasieron force-pushed the airflow-db-cleanup-dag-update branch from eedf8e4 to 8aad464 Compare January 5, 2023 11:12
@kubasieron kubasieron requested a review from a team as a code owner January 5, 2023 11:12
@leahecole leahecole added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 5, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 5, 2023
@leahecole
Copy link
Collaborator

Requesting changes in addition to what Eugene pointed out

@kubasieron kubasieron force-pushed the airflow-db-cleanup-dag-update branch from e350601 to a6e359c Compare January 5, 2023 23:18
@kubasieron kubasieron requested review from leahecole and removed request for rafalbiegacz January 5, 2023 23:22
@kubasieron kubasieron force-pushed the airflow-db-cleanup-dag-update branch 2 times, most recently from abaa0e5 to a300410 Compare January 9, 2023 11:53
Copy link
Contributor

@kosteev kosteev left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: redundant brackets (len("+composer")) -> len("+composer")

Copy link
Contributor

Choose a reason for hiding this comment

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

typo in "processf"

@leahecole leahecole assigned leahecole and unassigned dandhlee Jan 9, 2023
@kubasieron kubasieron force-pushed the airflow-db-cleanup-dag-update branch from a300410 to 9ce7432 Compare January 9, 2023 16:12
@leahecole leahecole added automerge Merge the pull request once unit tests and other checks pass. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jan 9, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 9, 2023
@leahecole leahecole added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed automerge Merge the pull request once unit tests and other checks pass. labels Jan 9, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 9, 2023
@leahecole
Copy link
Collaborator

I am admin merging because there have not been changes that would break lint since the last successful run, and we seem to be having kokoro problems

@leahecole leahecole merged commit f396dc1 into GoogleCloudPlatform:main Jan 10, 2023
telpirion pushed a commit that referenced this pull request Mar 13, 2023
* Fix and adjust to Airflow 2.3 db cleanup DAG

* Remove cleanup Task and TaskSet tables

* removing duplicated airflow_1 file + some minor fixes

* fix lint errors

* small fix

* small fix  in deletion

* separate dag logic between airflow versions

* move session closing to finally part

* lint fixes

* import order fix

Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants