convex-sentinel
This Skill sets up Sentinel production error capture inside your own Convex deployment. It records server function failures, client JS/React crashes, OCC and scale signals into a table in your deployment, redacts secrets at write time by default, and reacts to new errors through the monitor's prod_error event. Data never leaves your deployment, and an optional self-healing cron classifies recurring non-transient errors and hands them to ai-runner to open a fix PR.
npx skills add https://github.com/convex/agent-skills --skill convex-sentinelBefore / After Comparison
2 组After a production failure, developers only learn about it from user reports and scattered logs, digging through several log surfaces to reconstruct a single crash and often taking tens of minutes just to confirm it is real.
This skill writes server failures and client crashes into a single in-deployment table with breadcrumb context, so errors are readable from the CLI the moment they happen and triage starts in minutes.
Capture production errors in your own deployment
Install @convex-dev/sentinel to capture production errors (server function failures, client JS/React crashes, OCC and scale signals) into a table in the user's OWN deployment, redacted at write time, then react to new ones. Data never leaves the user's deployment.
Workflow
- Install the component:
app.use(sentinel)inconvex/convex.config.ts. - Wire the client SDK: a React error boundary plus
window.onerror/unhandledrejectionand breadcrumbs. - Redaction runs at write time and is on by default (default-deny on secret key names and value patterns).
- Read recent errors with the Convex CLI (
convex data,run-once-query); react to new ones via the monitor'sprod_errorevent. - Optionally enable the self-healing cron:
triageclassifies each error and, for recurring non-transient ones, hands it to ai-runner to open a fix PR.
Rules
- Redaction is mandatory and on by default — never store raw secrets; the agent's reads reach the model provider.
- Data stays in the user's deployment; never send it to a third party.
- Sample and cap to control volume and cost.
- Capturing PROD errors needs a deployed cloud app; install works anonymously.
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill