Skip to content

Support multiline SSE data frames in stream_job_logs #11

Description

@dejaguarkyng

The live log parser handles one data line per SSE event. SSE allows multiple data: lines per event, which should be joined before JSON parsing. Improve stream_job_logs so it handles multiline event payloads and final buffered events correctly.

Acceptance criteria:

  • Multiple data: lines in one SSE event are accumulated according to SSE semantics before parsing.
  • The parser handles events split across chunks.
  • Malformed events are ignored without breaking the stream.
  • Tests cover multiline stdout/stderr events and terminal events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions