Skip to content

Guard against potential race conditions with abort controllers#71

Merged
ayip8 merged 1 commit intomainfrom
abort-controller
May 22, 2025
Merged

Guard against potential race conditions with abort controllers#71
ayip8 merged 1 commit intomainfrom
abort-controller

Conversation

@ayip8
Copy link
Copy Markdown
Collaborator

@ayip8 ayip8 commented May 22, 2025

Compass recorded two Sentry errors related to abort logic in the client
https://monterey-ai.sentry.io/share/issue/af45df19075f4488857359a3fcda9fbd/
https://monterey-ai.sentry.io/share/issue/75494427e5754e98a1a03ea518fb8281/

Adding some guards to avoid a possible race condition leading to multiple aborts.

Copy link
Copy Markdown
Collaborator

@semanticart semanticart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a solid defensive change. 👍

@ayip8 ayip8 merged commit 83c59d9 into main May 22, 2025
1 check passed
@ayip8 ayip8 deleted the abort-controller branch May 22, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants