Expand description
Live job log streaming over SSE.
The log stream is not part of the OpenAPI spec, so it is hand-written
here. Flow: mint a build-scoped token via HarmontClient::log_token,
then HarmontClient::stream_job_logs yields LogEvents per job until
the terminal done event.
Structs§
- LogChunk
- One log chunk.
contentmay hold multiple lines or a partial line — callers buffer and split on\nthemselves. - LogToken
- A minted, build-scoped log token.
Enums§
- LogEvent
- A decoded SSE event from the job log stream.
- Stream
Kind - stdout / stderr / meta, per the server’s
stream_kind(0/1/2).