Repository navigation
test(ui): simplify skipped artifact inventory proof - #192946
Conversation
Co-authored-by: galiniliev <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR replaces a redundant combined inventory assertion with a direct check that skipped shards contain no files. Example: The skipped selection incorrectly includes ui/src/e2e/service-worker-update.e2e.test.ts in a shard.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a correct, focused test simplification that preserves the ownership contracts; no actionable findings remain. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe root ownership suite loads the Control UI Vitest configuration, probes native discovery and sharding with resource fixtures, and checks file ownership, scheduling, and cleanup. flowchart LR
A[Ownership test] --> B[Vitest configuration]
B --> C[Native discovery]
C --> D[Shard sequencer]
D --> E[Ownership report]
E --> F[Inventory assertions]
Technical reviewBest possible solution: Retain the direct empty-shards assertion and the existing exact artifact inventory check. Do we have a high-confidence way to reproduce the issue? No product defect is claimed; source inspection establishes equivalent assertion coverage, and no target code was executed during this read-only review. Is this the best way to solve the issue? This is the smallest complete simplification: the artifact inventory already supplies the required entries, so asserting an empty skipped contribution preserves the combined check without constructing another report. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6efce589ab1a. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceTests -7. Total -7 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 4, 2026, 1:58 PM ET / 18:58 UTC. |
|
Merged via squash.
|
Merge the verified #192946 landing and current native test ownership. Preserve the independently reviewed cache repair and manifest consolidation. Focused browser, ownership, archive and manifest checks pass; inherited 117-line main budget debt remains explicitly recorded, with no ceiling or allocation inflation. Co-authored-by: galiniliev <[email protected]>
Co-authored-by: galiniliev <[email protected]>
Summary
Simplify redundant Control UI E2E ownership proof without dropping any ownership cases or contracts.
The artificial skipped-plus-artifact union repeats checks already covered by the empty skipped-files assertion and the exact artifact inventory assertion. Replace its only additional contract with a direct
expect(skipped.shards.flat()).toEqual([])beside the skipped-files assertion. Nonempty skipped shards still fail; artifact duplicates or missing files still fail the retained exact-inventory check.User Impact
No user-visible or production behavior change. This test-only supporting cleanup removes exactly 7 real LF lines, retaining all 15 cases and leaving the scalar baseline and allocations unchanged.
Related: #190823. This is independent shared-test cleanup, not a fix for the original renderer cause. The
77c263b9fa112ce0e1657f6cbf56016092cd1077base inherited seven lines of test-budget debt (6,467,640 against a 6,467,633 ceiling); this standalone cleanup leaves 6,467,633 / 6,467,633.Requested by @galiniliev; the commit includes the co-author credit.
Validation
pnpm install --frozen-lockfile; no reuse or reconciliation of the renderer worktree dependencies.pnpm tsgo:test:root: all four root-test typecheck shards passed.git diff --check: passed.