Repository navigation
evals: retire 104 laundered unit tests from evals/specs, colocate 18 - #4402
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (17d55a0dd9ec33ea079be2f3c2140cec55337acc). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
878b586 to
149996f
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (149996fa999ee386dc55841f1f1dc69794728a57). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (f59474ca342a8a865e3e281400595d5b2d312098). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (cfe918cf15c0bfde9fba9da8bfa0dd4b3c7484c9). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Every legacy evals/specs file flagged by the boundary ratchet was read and classified. 104 are deleted: they regex product source text, assert on workflow/config text, spawn another test runner and grade its output, or duplicate an existing colocated unit or journey spec. 18 genuine pure-function tests move next to their module under that package's own runner (bun:test for app/server/den-api/den-web, node:test for desktop and release scripts). 13 remain baselined: they observe a live boundary through a raw channel and are tagged for server() migration. Also moves dashboard-element-identity (merged in #4390 alongside the ratchet) to den-web tests, which unbreaks test:eval-runner on dev. boundary-ratchet.baseline.json: 116 -> 13.
cfe918c to
5e89a65
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (5e89a65db655d9e25d2ba6a75b917d4987f7ebec). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Why
#4398 added the spec boundary ratchet and grandfathered 116 legacy
evals/specsfiles. This PR is the cleanup it promised. It also unbreakstest:eval-runnerondev: #4390 merged in parallel with a pure-function test inevals/specs, and the ratchet correctly rejects it.What
Every one of the 116 baselined files was read and put in one of three buckets:
bun test/node --test/vitestand grades its output; tests the testkit itself; or duplicates an existing colocated unit or.e2e.test.tsjourney (named in the executor reports).apps/app/tests(bun), 5 →apps/server/src/**(bun), 2 →ee/apps/den-api/test, 1 →ee/apps/den-web/tests, 1 →apps/desktop/electron(node:test), 1 →scripts/release. Explicit"test"lists updated where the package uses one.@openwork/testkitimports,evidencefixtures, and evidence recording dropped.denFetch, raw HTTP to a spawned server, TLS lab, kubectl). Untouched; taggedneeds server() migration.boundary-ratchet.baseline.json: 116 → 13. Net −9,173 lines.Verification
pnpm --dir evals test— exit 0: 232 pass;spec-boundary-ratchet: 67 specs checked, 0 errors (169 before).origin/devin a second worktree: app 7 fail / server 1 fail (node:sqliteunder bun) / desktop 1 fail (runtime-ca) — identical ondev, none in moved files.pnpm --dir evals run test:pr: 4 fails on first run were a fresh-worktree race (parallelden-dbbuilds →ENOTEMPTY dist/drizzle); after a single prebuild 3/4 pass serially;thread-approvals-engine-memory(a KEEP file, untouched) times out identically on cleandev— pre-existing.evals/specsfiles. This PR is deletions and relocations, so no journey spec verdict applies.