Repository navigation
test: cut the suite to the tests that guard real invariants - #46786
Merged
Merged
Conversation
nwparker
enabled auto-merge (squash)
November 22, 2026 06:14
nwparker
force-pushed
the
nwparker/FUCK-TESTS
branch
from
November 22, 2026 06:23
e2d3b5d to
18fd2b9
Compare
Delete 5,6xx of 6,023 test files (~93%) plus orphaned helpers, fixtures, test-only production exports, and CI jobs/workflows that only ran deleted tests. Survivors: security boundaries, crypto/wire formats, data integrity, concurrency invariants, parsers, and the golden E2E journeys. Also cap local vitest workers so a full run no longer exhausts memory, and rewrite the AGENTS.md testing rule: tests are the exception.
nwparker
force-pushed
the
nwparker/FUCK-TESTS
branch
from
November 22, 2026 06:24
18fd2b9 to
6a44979
Compare
10 of 11 tasks
1 task done
This was referenced Nov 22, 2026
Merged
bbingz
added a commit
to bbingz/orca
that referenced
this pull request
Nov 22, 2026
stablyai#46786 deleted skills-install.test.ts. Keep that deletion so this PR does not restore the removed suite. The remote-selector refusal stays in the three production files.
bbingz
added a commit
to bbingz/orca
that referenced
this pull request
Nov 22, 2026
stablyai#46786 deleted skills-install.test.ts. Call the real install and update handlers so a saved server or pairing code still fails before any plan or write, and --environment local still gets past that guard. Co-authored-by: Cursor <[email protected]>
bbingz
added a commit
to bbingz/orca
that referenced
this pull request
Nov 22, 2026
stablyai#46786 deleted smart-workspace-source-results.test.ts. Keep that deletion and move the stablyai#18701 branch-intent cases into smart-workspace-branch-intent.test.ts. Co-authored-by: Cursor <[email protected]>
10 of 11 tasks
nwparker
added a commit
that referenced
this pull request
Nov 22, 2026
After the suite cut (#46786), 24 shards spent ~500s on tests but ~1,220 runner-seconds in total, since each shard pays ~30s of setup. Four shards keep the unit lane (~150s) under the package/WSL critical path (~250-270s).
11 tasks done
9 of 11 tasks
9 of 11 tasks
This was referenced Nov 22, 2026
Jinwoo-H
added a commit
that referenced
this pull request
Nov 22, 2026
…ver asks test imports Main's suite cut (#46786) deleted it as orphaned; this stack's test still uses it, unchanged.
5 of 11 tasks
10 of 11 tasks
eukosh
added a commit
to eukosh/orca
that referenced
this pull request
Nov 22, 2026
…asts Main deleted this file in stablyai#46786. Keep only the two state-machine invariants the fix relies on, and mock window.api with vi.stubGlobal so the new no-cast lint rule passes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
10 of 11 tasks
11 tasks done
registered2nd
added a commit
to registered2nd/orca
that referenced
this pull request
Nov 24, 2026
… on, which v1.4.272 deleted Upstream's test cut (stablyai#46786) deleted the terminal link-handler test doubles and environment harness along with the suites that used them. The OS-viewer route's cases still run on them, so the branch carries both as they were just before the cut; everything they import is still upstream's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd
added a commit
to registered2nd/orca
that referenced
this pull request
Nov 24, 2026
…4.272 v1.4.272's cursor-line reader takes the terminal's column count, so the steer terminal picks `cols` from xterm too. Its test cut (stablyai#46786) removed the tracer's test reset; the Azure client's test clears the sink with setActiveSink(null), which is all that reset did. Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd
added a commit
to registered2nd/orca
that referenced
this pull request
Nov 24, 2026
…est v1.4.272 deleted Upstream's test cut (stablyai#46786) deleted windows-process-table.test.ts and the module's test hooks. The case that keeps a malformed snapshot row from throwing inside the addon's callback now has its own file, and reaches the addon by mocking the createRequire the table loads it through. Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd
added a commit
to registered2nd/orca
that referenced
this pull request
Nov 24, 2026
…time now that v1.4.272 dropped their fixtures Upstream's test cut (stablyai#46786) deleted the prompt-submission runtime fixture and the worktree store fixture these cases built their terminal with. They now register the PTY on a store-less runtime, as upstream's surviving submit-withhold test does, and let the runtime identify Claude Code from the host's foreground process, which makes it the send's settling agent as a Claude launch did. Co-Authored-By: Claude Opus 5.5 <[email protected]>
7 of 8 tasks
9 of 11 tasks
11 tasks done
3 tasks done
This was referenced Nov 25, 2026
9 of 11 tasks
9 of 11 tasks
This was referenced Nov 26, 2026
11 tasks done
This was referenced Nov 27, 2026
Merged
10 of 11 tasks
10 of 11 tasks
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.
Summary
Cuts the test suite to the tests that guard real invariants, and makes "tests are the exception" the rule in AGENTS.md.
*ForTestsexports in production code, and 12 workflows plus several jobs that only ran deleted tests. Nightly E2E is now a single ~4 min job.test-antipatterns.mdto match.Verification
pnpm typecheck: passes.pnpm check:changed: all 53 checks pass.reclaim-worktree-generated-files.test.mjs, macOS-only; the test and its code are unchanged by this PR).Follow-up
An AI review of what was deleted will restore any tests of substantial value in a follow-up PR.