Integrate full Sentry telemetry and dSYM uploads#409
Merged
Conversation
Add an opt-in REPOPROMPT_ENABLE_SENTRY build gate that links sentry-cocoa and defines REPOPROMPT_SENTRY_ENABLED, register the sentry-cocoa license, add the DSN Info.plist slot, and document the telemetry privacy model. Refs GH-183
Integrate cameroncooke's Sentry PR stack into the full Sentry worktree while preserving the original Cam-authored commits in branch history.\n\nParents:\n- origin/main baseline\n- origin/pr/331-sentry-09 (contains PRs #326-#331 plus earlier telemetry stack commits)\n- origin/pr/332-sentry-10 (release dSYM tooling)\n\nReconciles the stack with current minimal runtime wiring, keeps privacy-safe telemetry defaults, and removes source-context upload from Sentry debug symbol upload.
This was referenced Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mainAttribution / history
This branch intentionally preserves Cam's original Sentry commits in outgoing history. The integration commit is a merge-style reconciliation commit with parents:
origin/mainorigin/pr/331-sentry-09(contains the telemetry stack through feat(telemetry): instrument Codex runtime events and session persistence #331)origin/pr/332-sentry-10(dSYM/release tooling)That keeps the Cam-authored commits visible in the PR history while allowing this branch to resolve conflicts against the current
mainstate.dSYM / release flow
.build/sentry-symbols/release.sentry-cli debug-files uploadwhen Sentry credentials are configured.SENTRY_AUTH_TOKENto a protected temp file and passesREPOPROMPT_SENTRY_AUTH_TOKEN_FILE; raw tokens are not passed through release command args.--include-sourcesis not used).Privacy posture
telemetry_enabled, not the DSN value.Validation
git diff --check, conflict-marker scan, Sentry upload flag check, outgoing author/history check.make dev-formattest_sentry_symbol_upload_helper_uses_token_file_without_logging_secrettest_sentry_symbol_flow_is_explicit_secret_safe_and_release_only_by_defaulttest_release_sentry_runtime_wiring_uses_protected_dsn_and_stable_resolutionmake dev-swift-build PRODUCT=RepoPrompt.agents/skills/rpce-contribution-check/scripts/preflight.sh commit.agents/skills/rpce-contribution-check/scripts/preflight.sh pushNot run
preflight.sh pr-ready).