Skip to content

perf(browser): parse captured module URLs once per lookup - #1829

Merged
morluto merged 1 commit into
morluto:mainfrom
shayanxcyber:perf/reuse-captured-module-url
Oct 11, 2026
Merged

morluto merged 1 commit into
morluto:mainfrom
shayanxcyber:perf/reuse-captured-module-url

Conversation

@shayanxcyber

Copy link
Copy Markdown
Contributor

Captured-module matching currently parses the same reported URL separately for each non-exact scenario-response candidate. Parse it once per matching operation and reuse its fragment-free form.

This preserves exact reported identities, query-version distinctions, candidate order and all captured versions. Invalid or relative URL strings still support exact matching and do not gain a fragment-stripped response match.

Validation: all 8 tests in src/domain/webModuleImports.test.ts pass via npm run test:local -- src/domain/webModuleImports.test.ts, including a new non-URL identity case. Focused oxfmt, oxlint and git diff --check pass.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T13:17:47.291918Z 0870b3f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@morluto
morluto merged commit ca11162 into morluto:main Oct 11, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 11, 2026
3 tasks done
@morluto

morluto commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Welcome to REA, @shayanxcyber. Your matcher now parses a valid captured URL once per lookup while retaining exact-match behavior for relative identities; the regression test pins that edge case. Thanks for the careful fix.

@morluto morluto added performance Performance regressions, scaling limits, and bounded-resource work area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Oct 14, 2026
@morluto morluto added the area: runtime Process capture and runtime observation label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior area: runtime Process capture and runtime observation performance Performance regressions, scaling limits, and bounded-resource work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants