Skip to content

[v3-2-test] Show the task ID attributes (ti_id, task_id, etc.) once, not on every log line (#66036)#66421

Merged
ashb merged 1 commit into
v3-2-testfrom
backport-66036-to-v3-2-test
May 5, 2026
Merged

[v3-2-test] Show the task ID attributes (ti_id, task_id, etc.) once, not on every log line (#66036)#66421
ashb merged 1 commit into
v3-2-testfrom
backport-66036-to-v3-2-test

Conversation

@ashb
Copy link
Copy Markdown
Member

@ashb ashb commented May 5, 2026

A recent PR changed the structured log output to include these attributes on
every log message, which is very helpful for when the task logs make it to an
external system, but when viewing them in Airflow directly it quickly becomes
"noise" as they never change.

This PR "extracts" them out and shows them once at the the start just after
the source info and removes it from every other message.

They are also injected back in to the copy and download content

(cherry picked from commit d139d37)

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label May 5, 2026
@ashb
Copy link
Copy Markdown
Member Author

ashb commented May 5, 2026

I had to manually backport this and re-write the tests.

PTAL @bbovenzi

Comment thread airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/Logs.test.tsx Outdated
… log line (#66036)

A recent PR changed the structured log output to include these attributes on
every log message, which is very helpful for when the task logs make it to an
external system, but when viewing them in Airflow directly it quickly becomes
"noise" as they never change.

This PR "extracts" them out and shows them once at the the start just after
the source info and removes it from every other message.

They are also injected back in to the copy and download content

(cherry picked from commit d139d37)
Comment thread airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/Logs.test.tsx Outdated
@ashb ashb force-pushed the backport-66036-to-v3-2-test branch from 1fb546f to ab8d5ec Compare May 5, 2026 14:23
@ashb ashb merged commit 4eff338 into v3-2-test May 5, 2026
110 checks passed
@ashb ashb deleted the backport-66036-to-v3-2-test branch May 5, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants