Skip to content

Conversation

@amoghrajesh
Copy link
Contributor

There could be cases when custom executors (edge for example faced it), where we do not log where the worker is trying to connect during task startup time.

Edge: https://github.com/apache/airflow/blob/main/providers/edge3/src/airflow/providers/edge3/cli/worker.py#L188-L204

VS celery / KE: https://github.com/apache/airflow/blob/main/task-sdk/src/airflow/sdk/execution_time/execute_workload.py#L58-L64

I figured it is better to have double logs for debugging than none. I could remove it for celery / KE and rest if needed, but this one is more important.


^ 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.

@amoghrajesh amoghrajesh added this to the Airflow 3.1.2 milestone Oct 27, 2025
@amoghrajesh amoghrajesh self-assigned this Oct 27, 2025
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Good for me. The title anticipated "Move" but I see "Add - is the log to be deleted on some other place?

@jscheffl jscheffl force-pushed the move-log-to-supervise branch from 7a48d04 to edd63b6 Compare October 27, 2025 21:49
@amoghrajesh
Copy link
Contributor Author

Good for me. The title anticipated "Move" but I see "Add - is the log to be deleted on some other place?

Nope, no deletions anywhere. I could delete in "execute_workload.py" to avoid duplicates, will send a PR to do that

@amoghrajesh amoghrajesh added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Oct 28, 2025
@amoghrajesh amoghrajesh merged commit cd32d1b into apache:main Oct 28, 2025
83 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 28, 2025
(cherry picked from commit cd32d1b)

Co-authored-by: Amogh Desai <amoghrajesh1999@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Oct 28, 2025
(cherry picked from commit cd32d1b)

Co-authored-by: Amogh Desai <amoghrajesh1999@gmail.com>
jason810496 pushed a commit that referenced this pull request Oct 28, 2025
…7409)

(cherry picked from commit cd32d1b)

Co-authored-by: Amogh Desai <amoghrajesh1999@gmail.com>
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:task-sdk backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch 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.

4 participants