Skip to content

release: Sentry sourcemap upload runs with empty SENTRY_ORG and SENTRY_PROJECT #140

Closed

Description

@ElbertePlinio

In release run 34374557374 (v0.4.0) the optional "Upload the candidate tarball's sourcemaps to Sentry" step ran because SENTRY_AUTH_TOKEN is set, but the SENTRY_ORG and SENTRY_PROJECT repository variables were empty, so the upload could not target a project and the workflow continued with a warning as designed. No 0.4.0 sourcemaps are on Sentry, so opted-in fatal reports will not symbolicate.

  • Set repository variables SENTRY_ORG=pickforge and SENTRY_PROJECT=picklab (set 2026-09-10; picklab is the Sentry project whose DSN packages/cli/src/telemetry.ts reports to)
  • Gate the step on both variables as well as the token so it is skipped cleanly when unset (already in release.yml since c55ca40, before v0.4.0; the 0.4.0 run took the skip branch)
  • Inject debug IDs before packing so installed absolute frame paths can resolve (ci(release): inject Sentry debug IDs before packing the CLI #211; 0.5.0 and 0.6.0 uploaded maps but shipped no debug IDs)
  • Verify symbolication on the next release with the step 10 check in docs/releases/CHECKLIST.md

Refs #98, #127.

Activity

  1. ElbertePlinio commented on Sep 10, 2026

    @ElbertePlinio
    MemberAuthor

    Repository variables set: SENTRY_ORG=pickforge, SENTRY_PROJECT=picklab (the project behind the CLI telemetry DSN). The three-way gate already exists in release.yml (c55ca40), so the 0.4.0 run skipped the upload rather than failing. Remaining: verify symbolication on the next release.

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