Skip to content

[v3-3-test] Trace the dag-processor job instead of its parent process with memray (#72367) - #72661

Merged
vatsrahul1001 merged 3 commits into
v3-3-testfrom
backport-4c32caa-v3-3-test
Sep 8, 2026
Merged

vatsrahul1001 merged 3 commits into
v3-3-testfrom
backport-4c32caa-v3-3-test

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The tracer was attached to the CLI entry point, which forks before the job
runs and does not follow the child, so anyone who opted into profiling got a
capture of interpreter startup rather than of the work they enabled it to
investigate. Dag-processor memory growth is exactly what this feature exists
to diagnose, and it was the one component of the four that reported on the
wrong process.
(cherry picked from commit 4c32caa)

Co-authored-by: Y-C [email protected]
Co-authored-by: Eason09053360 [email protected]

… with memray (#72367)

The tracer was attached to the CLI entry point, which forks before the job
runs and does not follow the child, so anyone who opted into profiling got a
capture of interpreter startup rather than of the work they enabled it to
investigate. Dag-processor memory growth is exactly what this feature exists
to diagnose, and it was the one component of the four that reported on the
wrong process.
(cherry picked from commit 4c32caa)

Co-authored-by: Y-C <[email protected]>
Co-authored-by: Eason09053360 <[email protected]>
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.2 milestone Sep 8, 2026
@vatsrahul1001 vatsrahul1001 added the type:misc/internal Changelog: Misc changes that should appear in change log label Sep 8, 2026
@vatsrahul1001
vatsrahul1001 merged commit 97841c6 into v3-3-test Sep 8, 2026
69 of 70 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-4c32caa-v3-3-test branch September 8, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants