-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Problem
The webhook buffer file (.data/webhook-buffer/webhook-github.jsonl) grows without bound. After accumulating ~37k events over a few weeks of active use, it reached 560MB and OrgLoop crashed on startup with:
Failed to start: Cannot create a string longer than 0x1fffffe8 characters
The process stays alive (systemd reports active (running)) but the event loop never starts — all incoming events are silently dropped.
Expected Behavior
The buffer should have rotation, truncation, or a size cap so it doesn't grow forever. Processed events should be prunable.
Suggested Fix
Options (any would work):
- Auto-rotate — truncate processed events after successful delivery
- Size cap — drop or archive oldest events when file exceeds a configurable limit
- Stream reading — don't load the entire file into a single string; read line-by-line
Environment
- OrgLoop CLI (latest as of 2026-03-28)
- Node.js v22 on Ubuntu 24.04 ARM64
- ~37k GitHub webhook events over ~3 weeks of use
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels