Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
spindle/engine: stream logs to websocket master
Logs are streamed for each running pipeline on a websocket at /logs/{pipelineID}. engine.TailStep demuxes stdout and stderr from the container's logs and pipes that out to corresponding stdout and stderr channels. These channels are maintained inside engine's container struct, key'd by the pipeline ID, and protected by a read/write mutex. engine.LogChannels fetches the stdout/stderr chans as recieve-only if the pipeline is known to exist. Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
Author Anirudh Oppiliappan Date (Jun 12, 2025, 4:00 PM UTC) Commit 7f7d89ac 7f7d89ac561f40993247a710c8ce3b5892df4cc0 Parent d643cad8 d643cad86bd3d5b0c12cd30bf6d00d4df56929e1 Change ID xlollvpu xlollvpulokyxurllzwprtyqrulnnoxz