Skip to content

test(evals): remove e2e quarantine and spec-impact bookkeeping - #4378

Merged
benjaminshafii merged 2 commits into
devfrom
chore/remove-test-bookkeeping-gates
Sep 4, 2026
Merged

benjaminshafii merged 2 commits into
devfrom
chore/remove-test-bookkeeping-gates

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

Why

Adding an e2e spec required hand-editing three registries the author never opens (contracts.snapshot.json, the inline expectedEnabled list in spec-quarantine.test.ts, quarantine.json). #4054 added a spec and missed all of them, turning the PR lane red for a bookkeeping reason. contracts.snapshot.json alone was touched by 10 of the last 11 spec-adding PRs purely to append a filename.

Tests under evals/specs should assert product behavior, not the state of other test files.

What

Quarantine — concept removed

  • Deleted the 86 quarantined .e2e.test.ts files (57 unmigrated, 16 needs-topology, 13 pre-existing-red). History keeps them.
  • Deleted specs/quarantine.json, scripts/quarantine.mjs, specs/spec-quarantine.test.ts; removed the exclude in vitest.config.ts, OPENWORK_EVAL_IGNORE_QUARANTINE, and the evals:e2e name check.
  • Pruned dead entries from daytona-e2e-regression-profile.json, channel-ratchet.baseline.json, .dependency-cruiser-known-violations.json, tsconfig.primitives.json.

Spec-impact — concept removed

  • Deleted specs/contracts.snapshot.json, scripts/spec-impact.mjs, specs/spec-impact.test.ts, scripts/spec-coverage-matrix.mjs (+test, coverage:matrix script, nightly step), .github/workflows/spec-impact.yml, and the slow-proof job in warden.yml.
  • daytona-e2e-regression-suite.yml: PR-triggered selection is now git diff for changed evals/specs/*.e2e.test.ts; empty → full eligible set (the existing fallback).

Misc

  • Deleted specs/test-terminology.test.ts (filename-convention lint).
  • Removed the "Install opencode CLI" step from both Daytona workflows; its only consumer was the deleted opencode-mcp-agent-oauth spec.
  • evals/README.md: one rule — every evals/specs/*.e2e.test.ts on disk runs.

Verification

Types/config/deletions only — no runtime product behavior changes. Lane: local (Node 24).

$ pnpm --dir evals test
ℹ pass 219  ℹ fail 0     # lint:layers + channel ratchet + node tests

$ pnpm --dir evals exec vitest list --project e2e --filesOnly | wc -l
38

$ pnpm --dir evals exec vitest run --project pr specs/daytona-e2e-regression-schedule.test.ts \
    specs/daytona-e2e-regression-concurrency.test.ts specs/daytona-e2e-singles-toolchain.test.ts \
    specs/den-bootstrap-origin-coherence.test.ts specs/provider-sync-context-isolation.test.ts specs/spec-primitives.test.ts
Test Files  6 passed (6)   Tests  13 passed | 1 skipped (14)

$ pnpm --dir evals run test:pr
114 files passed, 1 failed (thread-approvals-engine-memory: timeout — reproduces on clean origin/dev, unrelated)

Verdict: Passed for this change; the one red pr spec is pre-existing and not touched here.

Tests under evals/specs now only assert product behavior. Two test-infra
registries that had to be hand-edited every time a spec was added are gone:

- quarantine: delete the 86 quarantined e2e specs, quarantine.json,
  quarantine.mjs, spec-quarantine.test.ts and the vitest/CI exclusions.
  A spec on disk runs; to stop it, delete it.
- spec-impact: delete contracts.snapshot.json, spec-impact.mjs,
  spec-impact.test.ts, the spec-coverage matrix, the Spec Impact workflow
  and the Warden slow-proof job. The Daytona regression suite selects
  changed e2e specs with git diff and falls back to the full eligible set.
- drop test-terminology.test.ts (filename-convention lint).

Also prunes profile/baseline/known-violation entries and the opencode CLI
install step whose only consumer was a deleted spec.
@vercel

vercel Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 4, 2026 12:05am UTC
3 Skipped Deployments
Project Deployment Actions Updated
openwork-den Ignored Ignored Preview Sep 4, 2026 12:05am UTC
openwork-diagnostics Ignored Ignored Preview Sep 4, 2026 12:05am UTC
openwork-landing Ignored Ignored Preview Sep 4, 2026 12:05am UTC

…keeping-gates

# Conflicts:
#	evals/specs/contracts.snapshot.json
#	evals/specs/spec-quarantine.test.ts
@benjaminshafii
benjaminshafii force-pushed the chore/remove-test-bookkeeping-gates branch from d7706d3 to fbc23dd Compare September 4, 2026 00:04

This branch was successfully deployed

4 active (3 outdated) deployments
Preview – openwork-app — fbc23dd3 Deployed Sep 4, 2026 by vercel[bot]
Preview – openwork-landing — e567e97b Deployed Sep 3, 2026 by vercel[bot]
Preview – openwork-den — e567e97b Deployed Sep 3, 2026 by vercel[bot]
Preview – openwork-diagnostics — e567e97b Deployed Sep 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants