Repository navigation
test(javascript): share wide fingerprint fixture preparation - #10384
kaoru0822-kitauji wants to merge 1 commit into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] No new blocking defect was found, but this closed PR should remain superseded by #10391. SummaryShares preparation of the 130,000-function fixture while keeping separate graphs and the existing assertions for both projection paths.
Superseded: kaoru0822-kitauji states that this PR is closed in favor of #10391. They acknowledge that sharing preparation alone still exceeds the projection deadlines under full coverage; #10391 also addresses deadline ownership. Reviews (2) · Last reviewed commit: "test(javascript): share wide fingerprint..." · Reviewed by Greptile |
|
Superseded by #10391, whose current implementation includes equivalent shared analysis with all 130,000-callable regression assertions and the broader project-owned deadline policy needed by full qualification. Closing this overlapping PR to avoid duplicate work; #10381 stays open pending a landed replacement. This PR's fast CI passed, including both fingerprint cases. Subsequent full-CI integration found the separate, unchanged |
Closed as superseded by #10391. Fast PR CI passed at this head, but subsequent full qualification still exceeds the explicit 30-second projection deadlines (shard 5/6). Sharing preparation alone is insufficient under coverage. #10391 includes equivalent sharing and project-owned deadlines; #10381 remains open pending its integration.
Fixes #10381. Repairs the shared CI blocker observed on #10378 without changing its Gemini branch.
The 130,000-fingerprint regression analyzed identical source separately for each projection path. On Ubuntu CI, direct projection took 28.323 seconds and transferred projection exceeded its 30-second deadline. Prepare the real semantic facts once in a file-scoped
beforeAll, then keep a fresh graph and all count, uniqueness, coverage and provenance assertions for each path.Both projection deadlines remain 30 seconds. The new setup stage explicitly uses the former case's 30-second budget rather than Vitest's 10-second hook default. Production code, inventory size, selected graph ceilings, workflow configuration and retry policy are unchanged. The shared facts are read-only for these consumers and live only for this isolated test file; no persistent cache or cross-file state is added.
Executed verification
Base
cdc4541ef7; macOS arm64, pinned Node 24.22.1/npm 11.16.0.Final focused graph, wide-inventory and existing CLI/official stdio-MCP fingerprint workflow: 83 tests passed across three files.
Independently restore each original call spread: each mutation gives one failed / one passed test at its corresponding
RangeErrorappend. Production bytes are restored. Both 130,000-item paths remain protected.Alternating completed runs of the same two tests, with warm build/file caches and fresh runtimes:
The projection cases take 6.6–6.8 seconds each locally after sharing preparation. Family RSS is the sum sampled every 200 ms; shared pages can be counted twice and short peaks can be missed. No memory or CI-wide speedup is claimed. Cold shared-fixture cost, controlled Linux/Windows performance comparisons and agent token cost are unmeasured. The initial cold original run included artifact compilation and is excluded from this comparison.
Ubuntu CI shard 3 executes both large cases successfully: direct 22.753 s, transferred 21.766 s, each below the unchanged 30-second case deadline. The file takes 56.098 s including shared preparation. These are observed qualification timings, not a controlled CI speed comparison; the complete fast-PR matrix and required aggregate gates passed.
Hosted CI at
ae34c21da3: 21 distinct successful checks / 26 deliberate skips, including required CI, portable-test reports and author readiness. Both automated reviews complete without outstanding findings.npm run check— passed on the final fixture: 7,269 files, 0 errors, 4,875 advisory warnings.git diff --checkand normal commit/push hooks — passed. Commitae34c21da30ca05fade01e728242b0b628fdc536.The original Ubuntu failure is retained. No unchanged-head retry is claimed. New-head Ubuntu CI qualifies the repaired fixture. No real provider behavior is changed or newly qualified.
The source/fixture owner audit found no input mutation in either projection path for this fixture. The bounded 3,000-function phase probe also confirms that both projections leave the semantic input unchanged. The later full-qualification result above establishes the remaining deadline-policy gap.
Author readiness
Human owner: @kaoru0822-kitauji. This author is exempt from the declaration check under CONTRIBUTING.md (account ID 208281322); no human review is attested here.