Skip to content

perf(goto): use set lookup for abort resource types#664

Merged
Kikobeats merged 1 commit intomasterfrom
codex/fix-aborttypes-set
Feb 26, 2026
Merged

perf(goto): use set lookup for abort resource types#664
Kikobeats merged 1 commit intomasterfrom
codex/fix-aborttypes-set

Conversation

@Kikobeats
Copy link
Member

@Kikobeats Kikobeats commented Feb 26, 2026

Note

Low Risk
Low risk: small performance-oriented change in request interception logic plus a focused regression test; behavior should be equivalent but could affect resource-type abort matching if misapplied.

Overview
Switches abortTypes matching in packages/goto request interception from Array.includes to a precomputed Set (abortTypesSet) for faster lookups.

Adds an AVA regression test that passes duplicated abortTypes values and asserts request interception still behaves as expected.

Written by Cursor Bugbot for commit 48b6cb7. This will update automatically on new commits. Configure here.

@Kikobeats Kikobeats merged commit 554f3d1 into master Feb 26, 2026
11 checks passed
@Kikobeats Kikobeats deleted the codex/fix-aborttypes-set branch February 26, 2026 19:33
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.

1 participant