tektoncd / results

Long term storage of execution results.
Apache License 2.0
77 stars 73 forks source link

Streaming API for Logs #601

Closed adambkaplan closed 11 months ago

adambkaplan commented 1 year ago

Feature Request

Provide an API that allows logs for TaskRuns/PipelineRuns to be streamed directly as bytes that can be consumed/read as text.

Use cases

We need a better mechanism for serving large logs as a stream of text. The current implementation requires all of the log data to be streamed before base64 decoding. This will not scale to mutli-gigabyte log files.

Originally posted by @adambkaplan in https://github.com/tektoncd/results/issues/588#issuecomment-1711819117