Repository navigation
test(evals): derive the Daytona regression inventory invariant instead of pinning bucket counts - #4287
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Test evidence — daytona-e2e-regression-workflow-fails-skipped-or-empty-matrices — 0/0 screenshots passed · 1 assertion✅ 0/0 screenshots passed · 1 assertion · 1 expectations passed · 0 failed · 0 pending
ℹ️ ASSERTION — 1. Skipped and empty Daytona matrices cannot report successThe batch exits non-zero for every result except passed, deferred judging runs only after a passed batch, and the final verdict exits non-zero unless the matrix job succeeded.
Test run created 2026-09-02T00:06:56.825Z · Source: |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (821c2c27c04055a58688590b4cd786257dc6c995). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
…d of pinning bucket counts
821c2c2 to
1c835ab
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (1c835ab143171e72d6cd03876d5671c1a0f3921e). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Problem
daytona-e2e-regression-concurrency.test.tspins the four inventory buckets to literal sizes (all=152 / rawDesktop=56 / profile=76 / eligible=19). Those numbers are only correct for one exact state ofdev, so every PR that adds, renames, or removes an E2E spec must edit this shared line — and every two concurrent spec-adding PRs are guaranteed to invalidate each other.Observed since the guard landed in #4220 (2026-08-31): 8 PRs touched the line in ~48h (#4249 #4258 #4262 #4263 #4273 #4282 #4280 + this one's origin), and #4264 / #4280 / #4111 currently hold mutually incompatible values. #4280 went red on first push for exactly this, needed a
devmerge + rebump + SHA-bound evidence re-run, and is already one behind again after #4282 merged.Change
Replace the four
toHaveLength(<literal>)pins with what they were always implying:all = rawDesktop + profile + dedicated + eligibleeligible ≥ |productFailuresThatMustRemainEligible|Three lines, one file. Spec-adding PRs no longer touch this file at all.
What is preserved (unchanged)
Category allowlist + mandatory reasons; profile sorted/unique/existing/non-overlapping with the auto-detected raw-desktop bucket;
list-daytona-raw-desktop-tests.mjsvs source-scan parity; 13 named category spot-checks;productFailuresThatMustRemainEligible. The anti-green-washing purpose from #4220 is intact: an exclusion is still a categorized, reviewable JSON diff.What changes in behavior
A new spec that is not raw-desktop / profile-excluded / dedicated becomes
eligiblewithout a PR-time count failure. Placement is still prompted by #4268'scontracts.snapshot.jsonguard (which fails naming the file — more actionable than151 vs 152) and enforced by the bi-daily shared lane itself.Verification (local, PR lane)
pnpm --dir evals exec vitest run --config vitest.config.ts --project pr specs/daytona-e2e-regression-concurrency.test.ts— 3 passed / 0 failed