Skip to content

Session log rotation: cap per-session file size #13

Description

@Neal006

A chatty server can grow a session file unbounded. Add a size cap (default ~50 MB, env-overridable) to SessionWriter in src/store.ts: when exceeded, stop recording with one stderr warning — same degrade-to-pipe philosophy as the rest of the proxy.

Done when: unit test proves recording stops at the cap and traffic keeps flowing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions