Skip to content

Medium: Build log ring buffer silently drops oldest lines — late-joining subscribers get a different log view #15

@harsharajkumar

Description

@harsharajkumar

In buildExecutor.js:_appendLog (line 267), the in-memory log buffer is capped at 2000 lines using entry.lines.shift() to drop the oldest entry. Subscribers who connected from the beginning already received those dropped lines. Subscribers who connect late (e.g. on page refresh mid-build) will receive a truncated log starting from whatever line 1 currently is, with no indication that earlier lines were dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmediumShould fix soon

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions