Skip to content

ci: stop overriding SENTRY_AUTH_TOKEN with a literal in eas.json - #2247

Open
MusabShakeel576 wants to merge 1 commit into
masterfrom
claude/in-app-store-review-yxs26b
Open

ci: stop overriding SENTRY_AUTH_TOKEN with a literal in eas.json#2247
MusabShakeel576 wants to merge 1 commit into
masterfrom
claude/in-app-store-review-yxs26b

Conversation

@MusabShakeel576

Copy link
Copy Markdown
Contributor

eas.json build-profile env values are static strings — they are not shell-expanded — so "SENTRY_AUTH_TOKEN": "$SENTRY_AUTH_TOKEN" passed the literal string "$SENTRY_AUTH_TOKEN" to sentry-cli, which Sentry rejects as an invalid token (HTTP 401). Because a build-profile env value also takes precedence over the EAS-hosted environment variable of the same name, this override silently shadowed the real (rotated) production token, so source-map upload 401'd on both Android and iOS regardless of rotation.

Remove the key so the EAS-hosted production SENTRY_AUTH_TOKEN is used directly. SENTRY_ALLOW_FAILURE=true stays as a safety net.

Claude-Session: https://claude.ai/code/session_017LWh8sKPgZWEF7JNvFxq3g

eas.json build-profile `env` values are static strings — they are not
shell-expanded — so "SENTRY_AUTH_TOKEN": "$SENTRY_AUTH_TOKEN" passed the
literal string "$SENTRY_AUTH_TOKEN" to sentry-cli, which Sentry rejects
as an invalid token (HTTP 401). Because a build-profile env value also
takes precedence over the EAS-hosted environment variable of the same
name, this override silently shadowed the real (rotated) production
token, so source-map upload 401'd on both Android and iOS regardless of
rotation.

Remove the key so the EAS-hosted `production` SENTRY_AUTH_TOKEN is used
directly. SENTRY_ALLOW_FAILURE=true stays as a safety net.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017LWh8sKPgZWEF7JNvFxq3g
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
solid-app Ignored Ignored Jul 14, 2026 11:23am
solid-app-staging Ignored Ignored Jul 14, 2026 11:23am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants