Skip to content

Conversation

@amoghrajesh
Copy link
Contributor

Remove hardcoded start_time with relative calculation to prevent test
failures in CI. The old pattern used start_time=16000
which could result in negative durations when we calculate durations time.monotonic() < 16000,
causing the timeout logic to fail.

I repkace that with populating start_time relative to current monotonic time,
to guarantee the processor always runs for exactly
(timeout + 1) seconds, to ensure consistent timeout behaviour across
all environments.


^ 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 airflow-core/newsfragments.

@eladkal eladkal added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Aug 19, 2025
@potiuk potiuk merged commit 28278de into apache:main Aug 19, 2025
58 checks passed
amoghrajesh added a commit that referenced this pull request Aug 20, 2025
…lation (#54641)

(cherry picked from commit 28278de)

Co-authored-by: Amogh Desai <amoghrajesh1999@gmail.com>
mangal-vairalkar pushed a commit to mangal-vairalkar/airflow that referenced this pull request Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:DAG-processing changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants