Crash Reports

On an uncaught fatal error, Elide writes a Markdown crash report to disk in addition to the terminal error output. Reports capture the failure with restrictive file permissions and secret scrubbing.

Location

Crash reports are written under a per-OS directory. The location can be overridden with the ELIDE_CRASH_ROOT environment variable; otherwise Elide uses the platform convention (XDG on Linux, Library on macOS, LOCALAPPDATA on Windows). Each report file is named ---.md, and a shared manifest.jsonl (JSON Lines) index tracks every report in the directory.

bash
ELIDE_CRASH_ROOT=/tmp/elide-crashes elide run app.ts

Contents

Each report is a Markdown document describing the crash: a header carrying the timestamp, origin (rust for a native panic, otherwise the guest origin), PID, exit code, a de-duplicating signature, build ID, Elide version, target architecture, and OS, followed by the scrubbed backtrace. Reports are written atomically with restrictive permissions, and known secrets are scrubbed from the message, location, and backtrace. There is no toggle to disable crash reporting.

See also