Repository navigation
fix(examples): update Vitest for the runnable TypeScript samples - #15825
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 54 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed e9d6255 against GitHub merge subject 68bc059 and protected parent dd3721b. I checked both package manifests, the documented example contract and the published Vitest 5.1.1 engine range. The README expresses the engine branches correctly. Both roots still run vitest in ordinary run mode, with the same test files. The author's three-runtime installation tests cover actual execution, and the disposable equality control distinguishes the boundary assertion from the deliberately weak example. The eight analyzer comparisons cover the representation consumed by the fixture. The candidate preserves the existing unlocked caret-range convention. The zero audit is evidence for the exercised dependency resolution on November 20. No unresolved thread at this review.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Ready handoff for e9d6255. GitHub's merge ref is 68bc059, with ordered parents dd3721b and this exact head, tree cbb800135af73de7c4f2f78345c982b63712080f. The exact-head native source review is current. Both runner installs and suites passed on all three clients. The strengthened boundary case refused the exclusive variant. The actual admission body fields parse, with the renamed-field refusal checked locally. There are no outstanding inline findings and no prior routed qualification for this subject. The delivery owner will inspect the hosted checkout/required result and obtain final integration judgment before the protected queue request. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY
Reviewed e9d6255. I retain the exact source review of the two unlocked Vitest ranges, the documented Node runtime prerequisite and the unchanged analyzer input and test commands. The native Node 22 and 24 installations, the 2+12 suite executions, the disposable assertion control and the eight analyzer comparisons supply direct evidence for the dependency change. For this same head GitHub checked out 68bc059 and returned passing required Result 136635831153 on run 44830589328. No unresolved review thread. Ready for protected queue qualification.
A full-range release-ledger rehearsal from 45b56c0 to main 7cf9cd6 (5,873 first-parent and 5,934 reachable commits) left one record blocking_unresolved under the merged override set: 0903362 (#15825), which raises the Vitest development dependency in the TypeScript starter example and one fixture input. Its examples path is outside the v1 path classes, like 14e6e6d (#14286) before it. Record it as included_test_or_evidence. Re-derived from the same captured facts, the ledger has zero unresolved rows and the dry-run validation passes; that record is the only one that changes. Refs #2768 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmmvYqCdwBcBFx9a2bC
The reviewed-rows test pins each provisional override to its commit and keeps an unreviewed commit with the same paths blocked. Add the 0903362 row and its examples path so the new override has the same control. Refs #2768 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmmvYqCdwBcBFx9a2bC
…fresh Refs #2766 Refs #2768 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmmvYqCdwBcBFx9a2bC
Summary
Refresh the two unlocked Vitest manifests used directly by the TypeScript discount example and infection-shapes fixture. Document the example's new Node.js prerequisite.
Swarm / Source Boundary
Source-of-truth Links
Governing issue or accepted claim: #11475.
Plan item: #11475 (comment)
Acceptance delta (one sentence): Both TypeScript samples resolve a cleanly audited Vitest runner and keep their executable and static fixture behavior.
Candidate Relationships
Candidate branch: fix/11475-vitest-example-fixture. Independent of the Open VSX publisher fix #15821.
Scope
Only the two devDependency ranges, example prerequisite and changelog fragment change. Both original manifests are unlocked; the fixture spec refers to TypeScript behavior. The vendored upstream Werkzeug fixture retains its source identity.
Scope Classification
Support-tier Impact
The discount example documents Vitest's Node.js engine range (22.x from 22.12, 24.x, or 26+). Preview analyzer support is unchanged.
Policy Impact
Proof
Fresh Linux resolution at 2026-11-20 produced 3.2.7 for the original example (2 critical and 1 moderate package entries), and 1.6.1 for the original fixture (2 critical, 1 high, 2 moderate). The older fixture also matches the Vitest UI advisory; the documented test command uses ordinary run mode. On Node 22.21.1/npm 10.9.4 the proposed 4.1.12 alternative failed on both fresh installs inside npm. Vitest 5.1.1 installed and executed on Node 22.21.1/npm 10.9.4, 24.1.0/npm 11.19.1 and 24.21.0/npm 11.19.0.
Claim Boundary
These are fresh graph audits and ordinary CLI fixture runs. The ranges are unlocked and future resolutions can change. This is defensive maintenance of development dependencies; it carries no release qualification or public registry action.
Rollback
Revert the four-file change. The previous manifests resolve the prior affected major versions.
Spec-Test-Code Traceability
Fixture SPEC.md binds RIPR-SPEC-0027. Its unchanged input/tests exercise all 12 cases; the example’s strengthened/pricing.test.ts supplies the threshold discriminator.
CI Economics
No workflow, runner or required proof changes.