Skip to content

Bug Report: events.jsonl gets too big and fills up disk space #82

Description

@molbal

Description

When a script runs for a long time and prints a lot of text to the console, Junie saves all of that output into the session's log file (events.jsonl).

There is currently no limit on how large this file can get. In a recent run, a script printed so much text that the file grew to 459 GB in a few hours, completely filling up the hard drive.

Screenshots

Image Image

Expected Behavior

The app should stop the log file from taking over the computer's storage by:

  • Setting a maximum size limit for the log file.
  • Deleting old text or rotating files when they get too big.
  • Slowing down or pausing if a script prints too much text too quickly.

Actual Behavior

The app keeps writing every line of text to the file until the computer completely runs out of disk space.

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