mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 22:01:47 +00:00
Extends the existing core dump collection functionality to also upload core dumps to Sentry for better crash analysis and monitoring. Features: - Automatically detects Sentry DSN from SENTRY_CI_DSN_URL Buildkite secret - Supports manual DSN override via --sentry-ci-dsn CLI parameter - Falls back to SENTRY_DSN environment variable - Uses sentry-cli for uploading debug files and creating notification events - Includes build metadata (commit, branch, build ID) as Sentry tags - Graceful fallback when sentry-cli is not available - Does not interfere with existing BuildKite artifact upload workflow Usage: # Automatic in CI (uses SENTRY_CI_DSN_URL secret) node scripts/runner.node.mjs --coredump-upload # Manual DSN override node scripts/runner.node.mjs --coredump-upload --sentry-ci-dsn "https://dsn@sentry.io/project" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
70 KiB
Executable File
70 KiB
Executable File