Skip to content

test(javascript): give the wide fingerprint regression a capacity deadline - #10413

Closed
morluto wants to merge 1 commit into
mainfrom
test/fingerprint-capacity-deadline
Closed

morluto wants to merge 1 commit into
mainfrom
test/fingerprint-capacity-deadline

Conversation

@morluto

@morluto morluto commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

tests/boundary/javascript/semanticFingerprintAccumulation.test.ts (added in #10355) is timing out in CI. Each case is about 22 s of CPU-bound work on a typical runner, against an explicit 30 s deadline. This raises its deadline to 60 s.

Problem and expected behavior

Observed in CI today (executed, observed):

Run Workers direct transferred Deadline
43460768388 (baseline, passed) 2 22.2 s 22.7 s 30 s
#10399 run, shard 6/8 4 39.6 s 46.1 s 30 s — failed
#10402 run, shard 3/8 2 35.3 s 35.6 s 30 s — failed

Shard execution time varies roughly 0.75×–1.6× between hosted runners, so a slow runner fails this test even at two workers.

The explicit 30_000 also overrides the suite's coverage-mode deadline (60 s in vitest.config.ts), so full qualification with coverage has no extra allowance.

Expected: the case completes under the deadline on slower runners, and the deadline still bounds a hang.

Change and scope

  • Deadline 30_000 → 60_000, with a comment giving the reason. The 130,000-callable input is unchanged, since it must exceed V8's call-argument capacity.
  • Precedent: tests/boundary/mcp/wideOccurrenceCompletion.test.ts uses { timeout: 45_000 } for a similar capacity case.

Not included: about a dozen other tests run at 60–76% of the 30 s suite deadline on a typical runner (for example asyncChunkCapacity.test.ts, dotnetBundleJourney.test.ts). They have not failed in the runs I checked; whether to raise the suite deadline is a separate decision.

Contribution scope: not applicable.

Contract and boundary impact

  • Semantic owner and earliest changed stage: this test's deadline only.

  • Contribution scope fit and linked maintainer decision: not applicable.

  • CLI and MCP/tool-catalog contract: none.

  • Provider, bridge, target-format, or platform compatibility: none.

  • Evidence, artifact, provenance, or reconstruction contract: none.

  • Target selection, authority, upstream behavior, and cleanup details (if applicable): not applicable.

  • Generated metadata, package, or installation impact: none.

  • Read existing files or captured data.

  • Launch or attach to a process.

  • Inject instrumentation or run scripts/code.

  • Change process memory, registers, files, or configuration.

  • Contact network services.

  • Recover protected code or work around protections.

  • Documentation or usability only; no target interaction.

  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

  • Tests added or updated: the deadline above.
  • Base reproduction or other evidence: CI timings in the table above.
  • User-visible CLI/MCP output (if applicable): not applicable.
  • Remaining proof gaps: the cause of the slowness (about 85 µs per callable) is not investigated here.

Validation performed

  • npx vitest run tests/boundary/javascript/semanticFingerprintAccumulation.test.ts — 2 passed in 22.2 s (local macOS, Node 24.22.1; 11.0 s and 11.3 s per case).
  • npx oxfmt --check . (the repository formatter) — passed.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: not applicable.
  • Package or release metadata impact: none.
  • Security, privacy, process, or containment review: none.

Author readiness

Human owner:

  • 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.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

…dline

Each case runs about 22 s of CPU-bound projection on a typical hosted
runner. Its explicit 30 s deadline failed on slower runners at both two
and four Vitest workers, and it also overrode the suite's 60 s
coverage-mode allowance.
@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-13T19:47:39.834452Z eee51b3 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] This focused test-deadline change appears safe to merge.

Summary

Raises the per-case deadline in semanticFingerprintAccumulation.test.ts from 30 to 60 seconds.

  • The fingerprint regression test now has a 60-second deadline.

Reviews (1) · Last reviewed commit: "test(javascript): give the wide fingerpr..." · Reviewed by Greptile

@morluto

morluto commented Nov 13, 2026

Copy link
Copy Markdown
Owner Author

Superseded: this commit merged to main as part of #10417.

@morluto morluto closed this Nov 13, 2026
@morluto morluto added the area: tests Test suite and verification label Nov 22, 2026
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.

1 participant