Skip to content

Sentry Improvements - #4829

Open
AlexAscherson wants to merge 4 commits into
mainfrom
maintainance/sentry-updates
Open

Sentry Improvements #4829
AlexAscherson wants to merge 4 commits into
mainfrom
maintainance/sentry-updates

Conversation

@AlexAscherson

@AlexAscherson AlexAscherson commented Jul 27, 2026

Copy link
Copy Markdown

What does this change?

  • Added frontend release tagging support by injecting build commit id into the page in main.scala and reading it during Sentry init in sentry.js
  • Added optional sourcemap upload workflow for Kahuna
  • Implemented shared Scala backend Sentry coverage at the Play infrastructure layer in GridComponents.scala so unhandled server errors can be captured consistently across services using GridComponents.
  • Added backend Sentry config fields in CommonConfig.scala for activation, DSN, and environment control.

Note: New env vars required for reporting - no failure if not present

For sourcemaps:
SENTRY_AUTH_TOKEN
SENTRY_ORG
SENTRY_PROJECT

SENTRY_RELEASE currently set to github.sha in ci.yml

For scala sentry coverage:

sentry.enabled
sentry.dsn
sentry.environment

are required in CommonConfig.scala / defaults in application.conf

How should a reviewer test this change?

How can success be measured?

Who should look at this?

Tested? Documented?

  • locally by committer
  • locally by Guardian reviewer
  • on the Guardian's TEST environment
  • relevant documentation added or amended (if needed)

@AlexAscherson
AlexAscherson requested a review from a team as a code owner July 27, 2026 14:43
@AlexAscherson AlexAscherson added javascript Pull requests that update Javascript code scala2.13 maintenance Departmental tracking: maintenance work, not a fix or a feature labels Jul 27, 2026
@AlexAscherson AlexAscherson changed the title Sentry Improvements Sentry Improvements (wip) Jul 27, 2026
Fx collision with shared config
@AlexAscherson AlexAscherson changed the title Sentry Improvements (wip) Sentry Improvements Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code maintenance Departmental tracking: maintenance work, not a fix or a feature scala2.13

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant