Skip to content

Integrate Sentry error tracking #10

Closed

Description

@ElbertePlinio

Agent plan

Goal: Integrate Sentry (@sentry/node) in the MCP server + CLI entry points so runtime errors are tracked.

Checklist:

  • Create Sentry project + DSN (org: pickforge)
  • Init @sentry/node in @pickforge/picklab CLI and picklab-mcp-server entry points
  • Telemetry consent: opt-out env var (PICKLAB_TELEMETRY=0) documented in README
  • Set per-key rate limit on DSN (public repo)
  • CI: source map upload (SENTRY_AUTH_TOKEN secret)
  • Validation: trigger test error, confirm event in Sentry with readable stack
  • PR/review

Validation:

  • Manual: forced error reaches Sentry with source-mapped stack
  • bun run build + vitest suite

Current status: Blocked
Next action: waiting on Sentry org auth token + project creation

Activity

  1. ElbertePlinio commented on Jul 8, 2026

    @ElbertePlinio
    MemberAuthor

    Progress update:

    • Sentry project created (org pickforge, project picklab)
    • DSN issued: https://25cc6307aeca0d1d454e0af21bee5498@o4511699702317056.ingest.us.sentry.io/4511699813990400
    • Per-key rate limit set: 100 events/min
    • Sentry MCP configured at user scope (all local agent sessions)
    • CI upload token (blocked: needs org token created in Sentry UI)
    • SDK integration

    Consent decision: reporting on by default with visible opt-out.
    Blocked: only the CI token step.
    Next: SDK integration

  2. ElbertePlinio commented on Jul 8, 2026

    @ElbertePlinio
    MemberAuthor

    Progress update:

    • SDK integration (init in both bins, redaction hardening, breadcrumbs dropped)
    • Sourcemaps + tag-gated CI upload (skips until secret exists)
    • Docs (README, INSTALL, UNRELEASED)
    • 3-model review panel + fixes applied
    • Codex PR review loop
    • SENTRY_AUTH_TOKEN secret (waiting on org token)

    PR: #11
    Next: Codex review loop, then merge

  3. ElbertePlinio commented on Jul 8, 2026

    @ElbertePlinio
    MemberAuthor

    Progress update:

    Merged: #11

  4. ElbertePlinio commented on Jul 8, 2026

    @ElbertePlinio
    MemberAuthor

    Final update:

    • SENTRY_AUTH_TOKEN secret set (2026-07-08); CI symbol/sourcemap uploads active from the next tagged release

    All checklist items done — closing. Post-release verification note: after the first tagged release, confirm in Sentry that a test crash symbolicates (native + JS).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions