[PR #7096] perf(javascript): reuse semantic coverage projections #7637

Open
opened 2026-11-03 13:39:16 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/7096
Author: @enghossamasasecounsultants-boop
Created: 10/25/2026
Status: 🔄 Open

Base: main ← Head: perf/reuse-semantic-coverage-limits


📝 Commits (1)

  • e21862f perf(javascript): reuse semantic coverage projections

📊 Changes

2 files changed (+38 additions, -16 deletions)

View changed files

📝 src/application/javascript/JavaScriptArtifactGraphBuilder.ts (+16 -7)
📝 src/application/javascript/JavaScriptModuleRelationships.ts (+22 -9)

📄 Description

Summary

  • Compute semantic resource limits once for graph coverage and limitation reporting.
  • Reuse per-file coverage and base limitations across module relationships instead of re-deriving them for every link.
  • Preserve emitted evidence while removing repeated scans, mappings, and intermediate arrays.

Validation

  • npm run check:fast
  • npm run format:check
  • Focused module relationship tests: 14 passed.
  • Focused JavaScript application service tests: 13 passed.
  • Windows native test artifact version/digest verification passed.

The benefit is based on eliminated repeated work; no end-to-end benchmark was run.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/7096 **Author:** [@enghossamasasecounsultants-boop](https://github.com/enghossamasasecounsultants-boop) **Created:** 10/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `perf/reuse-semantic-coverage-limits` --- ### 📝 Commits (1) - [`e21862f`](https://github.com/morluto/rea/commit/e21862f8bc5f6960f6e559229249a34ac3f527f0) perf(javascript): reuse semantic coverage projections ### 📊 Changes **2 files changed** (+38 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `src/application/javascript/JavaScriptArtifactGraphBuilder.ts` (+16 -7) 📝 `src/application/javascript/JavaScriptModuleRelationships.ts` (+22 -9) </details> ### 📄 Description ## Summary - Compute semantic resource limits once for graph coverage and limitation reporting. - Reuse per-file coverage and base limitations across module relationships instead of re-deriving them for every link. - Preserve emitted evidence while removing repeated scans, mappings, and intermediate arrays. ## Validation - `npm run check:fast` - `npm run format:check` - Focused module relationship tests: 14 passed. - Focused JavaScript application service tests: 13 passed. - Windows native test artifact version/digest verification passed. The benefit is based on eliminated repeated work; no end-to-end benchmark was run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#7637
No description provided.