Skip to content

test(javascript): share wide fingerprint fixture preparation - #10384

Closed
kaoru0822-kitauji wants to merge 1 commit into
mainfrom
codex/n13-1416-fingerprint-fixture-ci-10381
Closed

kaoru0822-kitauji wants to merge 1 commit into
mainfrom
codex/n13-1416-fingerprint-fixture-ci-10381

Conversation

@kaoru0822-kitauji

@kaoru0822-kitauji kaoru0822-kitauji commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

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 RangeError append. 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:

    Fixture Wall seconds User + system CPU seconds Peak sampled family RSS (GB)
    Original, run 1 20.55 25.72 3.08
    Shared, run 1 17.32 21.29 3.00
    Original, run 2 20.80 25.82 3.05
    Shared, run 2 17.31 21.47 2.93

    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 --check and normal commit/push hooks — passed. Commit ae34c21da30ca05fade01e728242b0b628fdc536.

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.

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T15:53:52.699832Z ae34c21 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.

@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] No new blocking defect was found, but this closed PR should remain superseded by #10391.

Summary

Shares preparation of the 130,000-function fixture while keeping separate graphs and the existing assertions for both projection paths.

  • Both fingerprint cases now share one prepared source fixture.

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

Copy link
Copy Markdown
Collaborator Author

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 asyncChunkCapacity.test.ts explicit-deadline failure also reproduced on scheduled main; evidence is recorded on #10391. The prepared integration refs remain available, but are not fully CI-qualified. No human review is attested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Wide fingerprint projection regression exceeds its CI deadline

2 participants