Skip to content

enableAppHangTracking for JavaScript #8521

Closed

Description

@p-himik

Problem Statement

Since JS in browsers is single-threaded, it's not that hard to make it get stuck in a busy loop without Sentry reporting it.

The React Native version of Sentry has an integration for app hang detection: https://docs.sentry.io/platforms/react-native/configuration/app-hangs/

Perhaps something similar can be added for the JS version?

Solution Brainstorm

AFAICT, Sentry already uses workers, so maybe such a feature can be implemented by periodically pinging a worker and triggering an error if the worker doesn't receive pings for some configurable amount of time.

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Jul 12, 2023
  2. locked and limited conversation to collaborators on Jul 13, 2023
  3. converted this issue into a discussion #8530 on Jul 13, 2023
  4. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀on Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions