Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix task sdk client dry-run mode #46524

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

feluelle
Copy link
Member

@feluelle feluelle commented Feb 6, 2025

The run_after field was missing in the fake dag run response, resulting in the following error upon calling the supervise function:

ValidationError: 1 validation error for TIRunContext
dag_run.run_after
  Field required [type=missing, input_value={'dag_id': 'test_dag', 'r...', 'run_type': 'manual'}, 
input_type=dict]
    For further information visit https://errors.pydantic.dev/2.10/v/missing

related to: #45732, #46492


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

The `run_after` field was missing in the fake dag run response.
@feluelle feluelle merged commit 7af4571 into apache:main Feb 6, 2025
62 checks passed
insomnes pushed a commit to insomnes/airflow that referenced this pull request Feb 6, 2025
* Fix task sdk client dry-run mode

The `run_after` field was missing in the fake dag run response.

* Fix trailing whitespaces
insomnes pushed a commit to insomnes/airflow that referenced this pull request Feb 6, 2025
* Fix task sdk client dry-run mode

The `run_after` field was missing in the fake dag run response.

* Fix trailing whitespaces
niklasr22 pushed a commit to niklasr22/airflow that referenced this pull request Feb 8, 2025
* Fix task sdk client dry-run mode

The `run_after` field was missing in the fake dag run response.

* Fix trailing whitespaces
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 17, 2025
* Fix task sdk client dry-run mode

The `run_after` field was missing in the fake dag run response.

* Fix trailing whitespaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants