Skip to content

Conversation

@utkarsharma2
Copy link
Contributor

@utkarsharma2 utkarsharma2 commented Aug 29, 2024

Earlier PR create to address the issue was not handling the case for the Example Dags, due to which the example dags were marked as stale since they are not present in the dag_directory. This PR handles that scenarios and update the testcase accordingly.

related: #41432
closes: #41852

@utkarsharma2
Copy link
Contributor Author

@ephraimbuddy I tested it with standalone dag processor in breeze env and it's working as expected.

@utkarsharma2 utkarsharma2 force-pushed the DagParseExamples branch 2 times, most recently from a2f11cf to ecc119e Compare August 29, 2024 11:46
Earlier PR create to address the issue was not handling the case for the Example Dags, due to which the example dags were marked as stale since they are not present in the dag_directory. This PR handles that scenarios and update the testcase accordingly.

related: apache#41432
@potiuk
Copy link
Member

potiuk commented Aug 29, 2024

I believe that was the reason for the Open API test failing ?

@ephraimbuddy
Copy link
Contributor

I believe that was the reason for the Open API test failing ?

Yes. That's my believe too

@ephraimbuddy ephraimbuddy merged commit 435e968 into apache:main Aug 29, 2024
@ephraimbuddy ephraimbuddy deleted the DagParseExamples branch August 29, 2024 13:06
@utkarsharma2
Copy link
Contributor Author

@potiuk / @ephraimbuddy, which PR were the tests failing for?

@utkarsharma2
Copy link
Contributor Author

@potiuk / @ephraimbuddy, which PR were the tests failing for?

Never mind, got it.

@potiuk
Copy link
Member

potiuk commented Aug 29, 2024

@potiuk / @ephraimbuddy, which PR were the tests failing for?

Main tests: https://github.com/apache/airflow/actions?query=event%3Aschedule and PRs that got "full tests needed" because for example they modified dependencies. The problem was in this case that there is non-obvious connection between DAGs diseappearing and Open API tests failing - what was failing there was the test that tries to retrieve example DAG information via the API. Those Open API tests are skipped unless you modify API.

@ephraimbuddy
Copy link
Contributor

@potiuk / @ephraimbuddy, which PR were the tests failing for?

Here: https://github.com/apache/airflow/actions/runs/10613181076/job/29416509993.

An example DAG could not be found

@potiuk
Copy link
Member

potiuk commented Aug 29, 2024

Also v2-10-test were failing - because they also run "full tests" https://github.com/apache/airflow/actions?query=branch%3Av2-10-test

@potiuk
Copy link
Member

potiuk commented Aug 29, 2024

Yep. That was it - It's fixed here for example - I rebased failing cloudant provider and it's green now https://github.com/apache/airflow/actions/runs/10615673609/job/29424342526

@utkarsharma2
Copy link
Contributor Author

utkarsharma2 commented Aug 29, 2024

Yes, I think it's related.

@ephraimbuddy
Copy link
Contributor

@utkarsharma2 , can you backport this to v2-10-test

utkarsharma2 added a commit to astronomer/airflow that referenced this pull request Aug 30, 2024
Earlier PR create to address the issue was not handling the case for the Example Dags, due to which the example dags were marked as stale since they are not present in the dag_directory. This PR handles that scenarios and update the testcase accordingly.

related: apache#41432
(cherry picked from commit 435e968)
@shahar1 shahar1 added this to the Airflow 2.10.1 milestone Aug 30, 2024
shahar1 pushed a commit that referenced this pull request Aug 30, 2024
…1874)

Earlier PR create to address the issue was not handling the case for the Example Dags, due to which the example dags were marked as stale since they are not present in the dag_directory. This PR handles that scenarios and update the testcase accordingly.

related: #41432
(cherry picked from commit 435e968)
@utkarsharma2 utkarsharma2 added the type:bug-fix Changelog: Bug Fixes label Aug 30, 2024
utkarsharma2 added a commit that referenced this pull request Sep 2, 2024
…1874)

Earlier PR create to address the issue was not handling the case for the Example Dags, due to which the example dags were marked as stale since they are not present in the dag_directory. This PR handles that scenarios and update the testcase accordingly.

related: #41432
(cherry picked from commit 435e968)
utkarsharma2 added a commit that referenced this pull request Sep 12, 2024
utkarsharma2 added a commit that referenced this pull request Sep 12, 2024
ephraimbuddy added a commit to astronomer/airflow that referenced this pull request Sep 13, 2024
ephraimbuddy added a commit that referenced this pull request Sep 13, 2024
ephraimbuddy added a commit that referenced this pull request Sep 13, 2024
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Scheduler including HA (high availability) scheduler type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants