[PR #211] [MERGED] perf(application): scan version artifacts in parallel #1861

Closed
opened 2026-10-16 21:11:53 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/211
Author: @N0zoM1z0
Created: 7/14/2026
Status: ✅ Merged
Merged: 7/14/2026
Merged by: @N0zoM1z0

Base: main ← Head: agent/parallel-version-scans


📝 Commits (1)

  • c00739b perf(application): scan version artifacts in parallel

📊 Changes

2 files changed (+149 additions, -14 deletions)

View changed files

📝 src/application/CrossVersionInventory.ts (+46 -14)
➕ tests/crossVersionInventory.test.ts (+103 -0)

📄 Description

Summary

  • start the left and right authorized artifact scans concurrently
  • preserve deterministic left/right result identity even when completion order differs
  • pass the same cancellation signal, limits, roots, and integrity policy to both scans
  • expose a production scan seam with tests for concurrent start, reverse completion, and prompt failure

Impact

Cross-version investigations no longer pay the sum of two independent inventory scan times when both inputs can be scanned concurrently.

Closes #182

Verification

  • npx vitest run tests/crossVersionInventory.test.ts --coverage.enabled=false
  • npm run check after rebasing onto 5231e95 (101 files, 656 tests)

Real Hopper verification was not performed; this changes provider-neutral artifact inventory scheduling only.


🔄 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/211 **Author:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Created:** 7/14/2026 **Status:** ✅ Merged **Merged:** 7/14/2026 **Merged by:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Base:** `main` ← **Head:** `agent/parallel-version-scans` --- ### 📝 Commits (1) - [`c00739b`](https://github.com/morluto/rea/commit/c00739bb1f1ae3cb6f00464e8fd9f5b5f7dc6b6e) perf(application): scan version artifacts in parallel ### 📊 Changes **2 files changed** (+149 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `src/application/CrossVersionInventory.ts` (+46 -14) ➕ `tests/crossVersionInventory.test.ts` (+103 -0) </details> ### 📄 Description ## Summary - start the left and right authorized artifact scans concurrently - preserve deterministic left/right result identity even when completion order differs - pass the same cancellation signal, limits, roots, and integrity policy to both scans - expose a production scan seam with tests for concurrent start, reverse completion, and prompt failure ## Impact Cross-version investigations no longer pay the sum of two independent inventory scan times when both inputs can be scanned concurrently. Closes #182 ## Verification - `npx vitest run tests/crossVersionInventory.test.ts --coverage.enabled=false` - `npm run check` after rebasing onto `5231e95` (101 files, 656 tests) Real Hopper verification was not performed; this changes provider-neutral artifact inventory scheduling only. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-16 21:11:53 +00:00
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#1861
No description provided.