Skip to content

resolver: check union tag before reading cached .entries in dirInfoCachedMaybeLog - #30170

Merged
Jarred-Sumner merged 4 commits into
mainfrom
farm/4e1efb15/resolver-cached-err-union-tag
May 3, 2026
Merged

resolver: check union tag before reading cached .entries in dirInfoCachedMaybeLog#30170
Jarred-Sumner merged 4 commits into
mainfrom
farm/4e1efb15/resolver-cached-err-union-tag

resolver: check union tag before reading cached_entry.entries in dirI…

96bd817
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed May 3, 2026 in 8m 16s

Code review found 1 potential issue

Found 6 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/bun/resolve/resolve.test.ts:573 Explicit test timeout violates test/CLAUDE.md convention

Annotations

Check warning on line 573 in test/js/bun/resolve/resolve.test.ts

See this annotation in the file changed.

@claude claude / Claude Code Review

Explicit test timeout violates test/CLAUDE.md convention

nit: per `test/CLAUDE.md` ("Do not set a timeout on tests. Bun already has timeouts."), the explicit `30_000` timeout argument should be dropped.