test(inference): delete duplicate vLLM contract suite - #8451
Conversation
Signed-off-by: Tinson Lai <tinsonl@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe duplicate Changes
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit 8cfd682 in the TypeScript / code-coverage/cliThe overall coverage in commit 8cfd682 in the Show a code coverage summary of the most impacted files.
Updated |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
Second-opinion terminology and E2E selections are advisory. They do not change the primary assessment or E2E / PR Gate. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: None This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Summary
src/lib/inference/vllm-contracts.test.tsheld five tests thatsrc/lib/inference/vllm.test.tsalready owns, so the same five behaviors were collected and executed twice on every run. This deletes the duplicate suite. The retained tests, the vLLM production code, and Vitest project membership are unchanged.Related Issue
Resolves #8350
Changes
src/lib/inference/vllm-contracts.test.ts(97 lines, fiveitdeclarations across thevLLM served route identityandmanaged vLLM image distribution boundarysuites).The retained owner is
src/lib/inference/vllm.test.ts:236-308, which carries both suite names, all five test titles, and the same assertions. Comparing the two ranges shows one difference: the retained copy addsmocks.dockerPullWithProgressWatchdog.mockClear()insiderefuses a local image ID before invoking Docker pull, where the deleted copy relied on a file-levelbeforeEach(() => vi.clearAllMocks()). The retained copy is therefore the stricter of the two, and no assertion is lost.Nothing references the deleted path.
git grep vllm-contractsreturns no hits across the repository, andscripts/checks/vitest-project-overlap.mtsdiscovers candidates from the filesystem rather than a hardcoded roster, so project membership stays exact after the deletion.Type of Change
Quality Gates
src/lib/inference/vllm.test.ts:236-308, which passes unchangedDocumentation Writer Review
no-docs-neededdocs/AGENTS.md,WRITING.md,docs/CONTRIBUTING.md, andCONTRIBUTING.md. It searched for the surfaces a test deletion can strand:vllm-contractsreferences anywhere in the repository, test paths cited with line numbers indocs/(the pattern exists, for exampledocs/reference/platform-support.mdx:172), regression-test citations in the security review pages, hardcoded test lists inscripts/checks/vitest-project-overlap.mts, and per-file entries inci/test-file-size-budget.jsonandci/cli-test-timing-hints.json. The deleted file appears in none of them. Its one finding was about wording in this description, which is applied above.DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpx vitest run --project cli src/lib/inference/vllm.test.ts67/67 pass;npm run test:projects:checkreportsVitest project membership is exact (2204 candidate files across 7 projects);npm run typecheck:cliexits clean. All three rerun on the rebased head.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Tinson Lai tinsonl@nvidia.com
Summary by CodeRabbit