Skip to content

Emit log stream stopped warning as ndjson - #56474

Merged
jedcunningham merged 2 commits into
apache:mainfrom
ianbuss:issue-56473-eol-marker
Oct 8, 2025
Merged

jedcunningham merged 2 commits into
apache:mainfrom
ianbuss:issue-56473-eol-marker

Conversation

@ianbuss

@ianbuss ianbuss commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Changes the format of the log stream stopped warning emitted by the TaskLogReader to ndjson when it encounters no end of log marker in a stream. Mixing ndjson and non-ndjson means the UI will not show any logs at all.

closes: #56473

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

@jedcunningham

Copy link
Copy Markdown
Member

Merging - static failure is unrelated.

@jedcunningham
jedcunningham merged commit 8782650 into apache:main Oct 8, 2025
1 check passed
github-actions Bot pushed a commit that referenced this pull request Oct 8, 2025
Changes the format of the log stream stopped warning emitted by the TaskLogReader to ndjson when it encounters no end of log marker in a stream. Mixing ndjson and non-ndjson means the UI will not show any logs at all.
(cherry picked from commit 8782650)

Co-authored-by: Ian Buss <ianbuss@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

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 8, 2025
Changes the format of the log stream stopped warning emitted by the TaskLogReader to ndjson when it encounters no end of log marker in a stream. Mixing ndjson and non-ndjson means the UI will not show any logs at all.
(cherry picked from commit 8782650)

Co-authored-by: Ian Buss <ianbuss@users.noreply.github.com>
jedcunningham pushed a commit that referenced this pull request Oct 8, 2025
Changes the format of the log stream stopped warning emitted by the TaskLogReader to ndjson when it encounters no end of log marker in a stream. Mixing ndjson and non-ndjson means the UI will not show any logs at all.
(cherry picked from commit 8782650)

Co-authored-by: Ian Buss <ianbuss@users.noreply.github.com>
dabla pushed a commit to dabla/airflow that referenced this pull request Oct 12, 2025
Changes the format of the log stream stopped warning emitted by the TaskLogReader to ndjson when it encounters no end of log marker in a stream. Mixing ndjson and non-ndjson means the UI will not show any logs at all.
@potiuk potiuk added this to the Airflow 3.1.1 milestone Oct 14, 2025
TyrellHaywood pushed a commit to TyrellHaywood/airflow that referenced this pull request Oct 22, 2025
Changes the format of the log stream stopped warning emitted by the TaskLogReader to ndjson when it encounters no end of log marker in a stream. Mixing ndjson and non-ndjson means the UI will not show any logs at all.
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.

End of log marker text warning is not in json format which breaks UI

7 participants