Repository navigation
Errors to Sentry: every failure the app logs at error level, when SENTRY_DSN is set - #224
Open
ndbroadbent wants to merge 2 commits into
Open
ndbroadbent wants to merge 2 commits into
ndbroadbent wants to merge 2 commits into
Conversation
ndbroadbent
force-pushed
the
app-sentry
branch
from
December 4, 2026 18:35
67e7480 to
4abc4ee
Compare
This branch has not been deployed
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.
Checked app/ Sentry reporting (from the 4 Dec sign-up blocker, where the first-build 500 left nothing in Sentry): app/ reported nothing to Sentry at all, and DocSpring's Sentry had no VisualCI project.
This adds Laravel Rust's documented setup (docs/logging.md, Sentry). Sentry's tracing layer gets every event at error level, which includes every failure Laravel's error handler logs, failed jobs and our own
tracing::error!. Sentry starts in a boot hook, and the container holds the guard, so short commands flush on exit.The release is the build's commit and the environment is
APP_ENV.send_default_piiis off. With noSENTRY_DSN(dev, tests, self-hosting) nothing is sent.Test:
tests/sentry.rs, its own binary because the tracing subscriber and Sentry's hub are per process. An error the app logs reaches Sentry; a warning doesn't. Without the layer installed it gets 0 events.Deploy: the DSN goes in Secret
visualci-sentryasSENTRY_DSN(docs/deploy.md). I'm creating the Sentry project and asking talira infra to add the Secret.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.