Skip to content

Remove Sentry from BE Entities services #30246

Closed

Description

@mstanton1
  • there are still references to Sentry in the Entities project
  • remove sentry (or remove key for Sentry so it doesn't initialize) from the Entities code

Activity

  1. added
    Entities - Data Migration
    Entities Team
    on Aug 18, 2025
  2. mstanton1 commented on Aug 18, 2025

    @mstanton1
    CollaboratorAuthor

    @argush3 this is the ticket resulting from our meeting today on shutting down Sentry. Please feel free to update wording if it's not accurately reflecting the changes being made. Can you please add a size and then @lorriewright can review to see if this can fit in one of the upcoming sprints?

  3. mstanton1 commented on Aug 18, 2025

    @mstanton1
    CollaboratorAuthor

    Note: Patrick has canceled our Sentry subscription this AM ahead of the removal from code. This reduces urgency, but to reduce carrying additional tech debt it's best to tackle this if there's capacity.

  4. changed the title [-]Remove Sentry from Legal API[/-] [+]Remove Sentry from BE Entities services[/+] on Aug 20, 2025
  5. argush3 commented on Aug 20, 2025

    @argush3
    Contributor

    Some analysis has been done and it has been confirmed that we do not actual hit the sentry initialization code in any of the BE services + jobs.

    Will address in upcoming sprints. cc: @mstanton1 @lorriewright

    Details of analysis:
    Confirmation that there have been no Sentry calls from Entities code for 5 days

    COLIN API

    • has code references to Sentry but never hits initialization code to due config(SENTRY_DSN = no value) in dev/test/prod

    BUSINESS API

    • has code references to Sentry but never hits initialization code to due config(no SENTRY_DSN entry) in dev/test/sandbox/prod

    Queue Services

    • All services except business-pay have removed all sentry code
    • business-pay has code references to Sentry but never hits initialization code to due config(no SENTRY_DSN entry) in dev/test/sandbox/prod

    Jobs

    • All jobs have Sentry code removed
  6. argush3 commented on Aug 20, 2025

    @argush3
    Contributor
  7. mstanton1 commented on Aug 22, 2025

    @mstanton1
    CollaboratorAuthor

    Thank you @argush3 for driving this forward.

  8. severinbeauvais commented on Sep 17, 2025

    @severinbeauvais
    Collaborator

    @argush3 Was this completed in Thor's recent cleanup work?

  9. argush3 commented on Sep 17, 2025

    @argush3
    Contributor

    @argush3 Was this completed in Thor's recent cleanup work?

    @severinbeauvais Only for business-api I believe. I believe we still need to remove sentry from COLIN API and business-pay in the code.

  10. severinbeauvais commented on Sep 17, 2025

    @severinbeauvais
    Collaborator

    Thanks for the update!

  11. severinbeauvais commented on Oct 23, 2025

    @severinbeauvais
    Collaborator

    As of Legal API v2.157.0:

    image.png

  12. severinbeauvais commented on Oct 27, 2025

    @severinbeauvais
    Collaborator

    Analyzed and reviewed with Olga Oct 24, 2025:
    "Cleanup of unused code." => do long term

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

    Entities - Data MigrationEntities Teamtechdebt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions