Skip to content

Conversation

@dstandish
Copy link
Contributor

(cherry picked from commit 2a581ab)

@boring-cyborg boring-cyborg bot added area:db-migrations PRs with DB migration area:Scheduler including HA (high availability) scheduler kind:documentation labels Oct 2, 2024
@dstandish dstandish force-pushed the aip-78-schedule-backfills-in-the-scheduler branch from f05eca4 to 5763191 Compare October 3, 2024 02:53
@dstandish dstandish marked this pull request as ready for review October 3, 2024 16:29
dstandish and others added 3 commits October 3, 2024 15:56
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
@dstandish dstandish merged commit 1b4c6d5 into apache:main Oct 5, 2024
@dstandish dstandish deleted the aip-78-schedule-backfills-in-the-scheduler branch October 5, 2024 13:34
@jscheffl
Copy link
Contributor

jscheffl commented Oct 6, 2024

It seems that this PR broke the "Non DB" tests for Always and CLI in https://github.com/apache/airflow/actions/runs/11200846409/job/31135117858?pr=42773 and on main.

Any idea on how to fix this (easily) w/o reversion?

@dstandish
Copy link
Contributor Author

It seems that this PR broke the "Non DB" tests for Always and CLI in https://github.com/apache/airflow/actions/runs/11200846409/job/31135117858?pr=42773 and on main.

Any idea on how to fix this (easily) w/o reversion?

I took a quick look but cannot reproduce locally.

I am unavailable most of today.

@jscheffl
Copy link
Contributor

jscheffl commented Oct 6, 2024

It seems that this PR broke the "Non DB" tests for Always and CLI in https://github.com/apache/airflow/actions/runs/11200846409/job/31135117858?pr=42773 and on main.
Any idea on how to fix this (easily) w/o reversion?

I took a quick look but cannot reproduce locally.

I am unavailable most of today.

Thanks for checking. I saw it on multiple PRs and might be it is related to non DB tests and threading?
On my Laptop I can re-produce via:

git checkout main
git pull
breeze ci-image build --python 3.8  # ensure this is up-to-date
breeze testing non-db-tests --parallel-test-types "Always CLI"

Whereas interesting that it does not show-up in canary tests :-( I don't understand why, checked with different parallelism and not able to get this green locally.

@dstandish
Copy link
Contributor Author

i'll look now

kunaljubce pushed a commit to kunaljubce/airflow that referenced this pull request Oct 13, 2024
This is part of AIP-78.  Here we make it so for dag runs queued as part of a backfill, the scheduler will set them running in accordance with concurrency controls and schedule their tasks etc.  Currently, backfill's concurrency is evaluated independently of DAG.max_active_runs.

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
This is part of AIP-78.  Here we make it so for dag runs queued as part of a backfill, the scheduler will set them running in accordance with concurrency controls and schedule their tasks etc.  Currently, backfill's concurrency is evaluated independently of DAG.max_active_runs.

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
This is part of AIP-78.  Here we make it so for dag runs queued as part of a backfill, the scheduler will set them running in accordance with concurrency controls and schedule their tasks etc.  Currently, backfill's concurrency is evaluated independently of DAG.max_active_runs.

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
This is part of AIP-78.  Here we make it so for dag runs queued as part of a backfill, the scheduler will set them running in accordance with concurrency controls and schedule their tasks etc.  Currently, backfill's concurrency is evaluated independently of DAG.max_active_runs.

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 area:Scheduler including HA (high availability) scheduler kind:documentation

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

3 participants