Skip to content

fix: prevent hanging COOP validation requests#323

Open
yasnazariel wants to merge 1 commit into
base:masterfrom
yasnazariel:patch-12
Open

fix: prevent hanging COOP validation requests#323
yasnazariel wants to merge 1 commit into
base:masterfrom
yasnazariel:patch-12

Conversation

@yasnazariel

Copy link
Copy Markdown

Summary

Adds timeout handling for Cross-Origin-Opener-Policy validation requests.

Changes

  • Added AbortController support for COOP fetch requests
  • Automatically aborts stalled requests after 5 seconds
  • Moved timeout cleanup into a finally block for safer resource handling

Motivation

Previously, stalled or hanging network requests could leave COOP validation unresolved indefinitely. This change improves runtime reliability and prevents lingering timeout handlers.

@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

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