Skip to content

Fix cross-thread WeakPtr destruction in AbortSignal.any()'s GC reachability callback - #32785

Merged
Jarred-Sumner merged 3 commits into
mainfrom
farm/c9b8f45a/abortsignal-any-gc-thread-mutation
Jun 26, 2026
Merged

Jarred-Sumner merged 3 commits into
mainfrom
farm/c9b8f45a/abortsignal-any-gc-thread-mutation

AbortSignal: don't prune the source-signal set from GC marker threads

bd9720a
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Jun 26, 2026 in 18m 23s

Code review found 1 potential issue

Found 1 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 0
🟡 Nit 1
🟣 Pre-existing 0
Severity File:Line Issue
🟡 Nit test/js/web/abort/abort-controller-gc-reason.test.ts:102-106 Test comment exceeds 3-line max (CLAUDE.md rule 13)

Annotations

Check warning on line 106 in test/js/web/abort/abort-controller-gc-reason.test.ts

See this annotation in the file changed.

@claude claude / Claude Code Review

Test comment exceeds 3-line max (CLAUDE.md rule 13)

nit: this 5-line comment block exceeds the 3-line cap from CLAUDE.md rule 13 and is mostly bug history (old probe, assertion text, release-mode race), which the style guide says belongs in the PR description rather than code. The other comment blocks in this file and the new `AbortSignal.h` comment all stay at ≤3 lines, so this one stands out — consider condensing, e.g.:
```ts
// isReachableFromOpaqueRoots runs on parallel GC marker threads; the old probe
// (WeakListHashSet::isEmptyIgnoringNull