Repository navigation
chore(tests): remove unit tests, keep one app boot test - #5589
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
benjaminshafii
force-pushed
the
chore/remove-unit-tests
branch
from
October 3, 2026 04:37
3ef81c4 to
6613852
Compare
Contributor
added 4 commits
October 2, 2026 21:50
Delete every unit test across apps/, packages/, ee/ and scripts/ along with the scripts, workflow steps, tsconfigs and deps that only ran them. E2E journeys in evals/ are the verification surface; unit tests that a journey still runs or imports are kept. The provider-tree mount test (providers.test.tsx) is kept and renamed to apps/app/tests/app-boot.test.tsx, run as `pnpm test:boot` in CI. The packaged Electron smoke gate is unchanged. Signed-off-by: Benjamin Shafii <[email protected]>
The proof selector and evidence presenter shell out to `gh api` with Node's default 1 MiB maxBuffer. A page of /pulls/:n/files on a large deletion PR exceeds that, spawnSync fails with ENOBUFS, and selection reports 'GitHub proof selection unavailable'. Signed-off-by: Benjamin Shafii <[email protected]>
Signed-off-by: Benjamin Shafii <[email protected]>
Signed-off-by: Benjamin Shafii <[email protected]>
benjaminshafii
force-pushed
the
chore/remove-unit-tests
branch
from
October 3, 2026 04:51
eb0dfc7 to
b16014e
Compare
benjaminshafii
pushed a commit
that referenced
this pull request
Oct 3, 2026
Follows #5589: the unit tests this branch added or changed are removed with the rest, and den-api's package.json takes dev's scripts. Signed-off-by: Benjamin Shafii <[email protected]>
This was referenced Oct 3, 2026
This was referenced Oct 7, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this about?
Removes every unit test in the repo. The only one kept is a single app boot test. The E2E journeys in
evals/are now how we verify changes.What problem does it solve?
About 1,250 unit-test files (~289k lines) slowed CI and every refactor. They mostly checked implementation details that the journeys already cover end to end.
What was the situation before?
Every PR ran the bun, node and vitest unit suites in addition to the journeys. Changing internals meant rewriting tests that no user would ever notice.
How is this implemented?
*.test.*files and test dirs acrossapps/,packages/,ee/andscripts/.ci-tests.ymlkeeps the typecheck, the core journeys and the packaged smoke run.providers.test.tsx, renamed toapps/app/tests/app-boot.test.tsx. It mounts the real provider tree on an enterprise install, before and after activation. It runs aspnpm test:boot.What else changed?
apps/app/tsconfig.json:libgoes from ES2023 to ES2024. The app usesPromise.withResolvers, and the deleted tests had been hiding the missing type.evidence-checkpoint-proof.ymlandrequired-verification.yml, which only ran unit tests.mysql-0097-nativeworld, which only ran den-db unit tests.docs/testing.md.Release note
none
Evidence
No E2E: this PR only removes tests.
pnpm test:bootpasses 2 of 2.pnpm -r --if-present typecheckpasses.