Skip to content

Conversation

@dada-engineer
Copy link
Contributor

@dada-engineer dada-engineer commented Sep 24, 2025

closes: #56025

The model validator signature of TriggerDAGRunPostBody was defined to match a before validator, it is using a after validator though. This validator type should expect the instaniated model itself not the class and a values dict.

Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

Thanks for catching this.

LGTM.

CI need fixing.

@pierrejeambrun
Copy link
Member

CI need fixing.

That looks unrelated, let me rebase your branch and start again the CI

@pierrejeambrun pierrejeambrun force-pushed the fix/56025-dag-run-post-body-validation branch from 8126d10 to 3333306 Compare September 24, 2025 08:21
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!
Just rebased again to fix the CI error.

@jason810496 jason810496 force-pushed the fix/56025-dag-run-post-body-validation branch from 3333306 to 16684f5 Compare September 25, 2025 04:23
@bugraoz93
Copy link
Contributor

Thanks for the PR!

@pierrejeambrun pierrejeambrun added this to the Airflow 3.1.1 milestone Sep 30, 2025
@pierrejeambrun pierrejeambrun added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Sep 30, 2025
@pierrejeambrun pierrejeambrun merged commit bfb7ecb into apache:main Sep 30, 2025
205 of 209 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 30, 2025
…ggerDAGRunPostBody (#56025) (#56026)

(cherry picked from commit bfb7ecb)

Co-authored-by: Daniel Gellert <gellertd@protonmail.com>
Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
pierrejeambrun pushed a commit that referenced this pull request Oct 1, 2025
…ggerDAGRunPostBody (#56025) (#56026)

(cherry picked from commit bfb7ecb)

Co-authored-by: Daniel Gellert <gellertd@protonmail.com>
Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
pierrejeambrun pushed a commit that referenced this pull request Oct 1, 2025
…ggerDAGRunPostBody (#56025) (#56026) (#56256)

(cherry picked from commit bfb7ecb)

Co-authored-by: Daniel Gellert <gellertd@protonmail.com>
Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
dabla pushed a commit to dabla/airflow that referenced this pull request Oct 12, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
…stBody (apache#56025) (apache#56026)

Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
@fredthomsen
Copy link
Contributor

Is this coming into the 3.0.x line? because without this then manual DAG triggering in 3.0.x is effectively broken correct?

@dada-engineer
Copy link
Contributor Author

@fredthomsen IMO it is broken yes, and I think it will be part of 3.1.1

@potiuk
Copy link
Member

potiuk commented Oct 22, 2025

Yes. We generally practically never fix things in past branch if new release is already out. You should simply upgrade to latest version of airflow released when it is released to fix any bugs.

That's our policy. The only exception is 2.11 that will get security and critical fixes unti April 2026 (also our policy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TriggerDAGRunPostBody model validator issue

6 participants