Repository navigation
test: remove junk tests that assert source text instead of behavior - #23815
Conversation
|
Comments Outside DiffThese findings could not be posted inline.
|
e2a8ba9 to
78ef9d7
Compare
There was a problem hiding this comment.
Important
Two gaps to close before merge: a deleted mobile test is still listed in the typecheck ratchet baseline, so .github/workflows/mobile.yml check:tests-typecheck will fail; and both CLI registry parity guards were deleted along with the tests that were their only callers, so the specs↔handlers and specs↔launch-redirect lists can now drift uncaught.
Reviewed changes
Reviewed the single commit e2a8ba90fe end to end (214 files, 101 test files deleted, 112 trimmed).
- Source-text test removals. Deleted tests across root,
mobile/,config/scripts/andcloud/thatreadFileSyncproduction sources and assert literal substrings, plus census/parity/export-list/typeof-shape/self-comparison suites. Sampled deletions (terminal-webview-reflow,terminal-webview-scroll-routing,terminal-ios-ime-keyboard,terminal-ios-dictation-write-back,terminal-cell-box-census,timer-receiver-census,pane-agent-identity-inventory,project-group-header-dom,PetStatusSegment.layout,linear-issue-workspace-header,worktree-creation-flow-agent-trust-preflight,host-route-href-encoding, …) are all source reads or self-comparisons, matching the stated premise. - Production follow-through.
cellInventoryLockOptions,DECLARATION_KINDS,readsTheDocument,parseModule,DEFAULT_ROUTE_GRANTSde-exported with no surviving cross-module importer;src/cli/registry-parity.ts, three*-source-family.test-supporthelpers, andBrowserPane.*tests removed;cloud/package.json,config/reliability-gates.jsoncandconfig/scripts/ci-shard-timings.jsonupdated. - Coverage-preserving rewrites.
agent-status-producer-census.test.tsdrops the hand-maintained path census but keeps the end-to-end producer drives;config-toml-trust-stale-writes.test.tsreplaces an export-list parity check with the stale-write behavior it stood in for;secure-dns-census.test.tsand theterminal-imeYAML cases keep their real assertions.
⚠️ mobile/tests-typecheck-baseline.txt still names a deleted test, so the ratchet fails
This PR deletes mobile/src/session/mobile-session-route-parity.test.ts, but the mobile typecheck ratchet baseline still lists it at line 56. mobile/scripts/check-tests-typecheck-ratchet.mjs computes stale = baseline \ current-failing, logs Stale tests-typecheck baseline entry (prune it): src/session/mobile-session-route-parity.test.ts, and returns 1. mobile.yml runs pnpm run check:tests-typecheck as an unconditional step in that job, so mobile CI goes red. The PR notes this check could not be run locally (pre-existing ERR_PACKAGE_PATH_NOT_EXPORTED resolving typescript), which is why it slipped through.
Technical details
# Stale ratchet baseline entry after test deletion
## Affected sites
- `mobile/tests-typecheck-baseline.txt:56` — lists `src/session/mobile-session-route-parity.test.ts`, deleted by this PR.
- `mobile/scripts/check-tests-typecheck-ratchet.mjs:138-144,299-302` — `diffBaseline` marks any baseline entry not in `current` as stale; `main` returns 1 on stale.
- `.github/workflows/mobile.yml:127` — `run: pnpm run check:tests-typecheck`.
## Required outcome
- The mobile tests typecheck ratchet passes after the deletions: no baseline entry names a file that no longer exists.
## Suggested approach
- `pnpm --filter orca-mobile check:tests-typecheck --prune` (or remove the single line). No other deleted mobile test is in the baseline.
## Open questions for the human
- None.⚠️ Both CLI registry parity guards were removed with their only callers
Two tests deleted here were cross-registry parity checks, not source greps, and each was the only thing comparing two independently maintained lists. The CLI specs drive validation/help while dispatch relies on the handler manifest, and the Electron launch redirect relies on a deliberately separate command-name list, so drift is a real, user-visible failure class.
Technical details
# CLI registry drift guards removed
## Affected sites
- `src/cli/cli-command-name-parity.test.ts` (deleted) — asserted every `COMMAND_SPECS` top-level name is in `CLI_COMMAND_NAMES` and vice versa.
- `src/main/startup/cli-command-names.ts:1` — comment still reads "a parity test prevents drift"; that test is now gone. Only `src/cli/specs/search.test.ts` (checks `'search'` is present) still touches it.
- `src/cli/registry-parity.ts` + `src/cli/registry-parity.test.ts` (deleted) — `findRegistryParityGaps` checked `COMMAND_SPECS` canonical paths against `HANDLER_COMMAND_KEYS`. No surviving test compares the two registries.
## Required outcome
- The specs↔handlers and specs↔launch-redirect agreements remain covered, or the team consciously accepts losing them and drops the now-false "parity test prevents drift" claim.
## Suggested approach (optional)
- Re-add the two parity tests against the live registries (`registry-parity.ts` was a pure helper; the checks can be inlined into the test), or extend `src/cli/handler-group-manifest.test.ts`, which already imports `HANDLER_GROUPS` and `buildHandlerRoutes`, to also compare against `COMMAND_SPECS`.
## Open questions for the human
- Is the `COMMAND_SPECS` ↔ `CLI_COMMAND_NAMES` invariant enforced anywhere else (e.g. a build-time or runtime check) that this review missed?ℹ️ Nitpicks
- Stale references to deleted tests remain in comments/docs:
src/main/ssh/relay-protocol.test.ts:89,src/main/ipc/pty/runtime/spawn-preflight-requested-shell.test.ts:62(calls the deleted parity test its "behavioural twin"),mobile/src/terminal/use-terminal-text-field-submit-binding.ts:14,config/scripts/mobile-web-app-live-input-probe-route.mjs:94,docs/relay-region-correction/RELAY-REGION-CORRECTION-ACCEPTANCE.md:54,docs/reference/windows-terminal-shell-selection.md:27. config/scripts/ci-shard-timings.jsonremoved one deleted-test timing entry but still carries keys for ~60 more (e.g.src/cli/registry-parity.test.ts,src/renderer/src/components/task-page-github-issue-creation.test.ts). Harmless —balanceFilesonly reads discovered files, andci-shard-timings.mdstates deleted files never enter discovery — but the partial cleanup is inconsistent.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
Important
The rebase onto a main that already carried #23693 left one test-support profile half-converted: pnpm tc now fails with TS2353 in src/renderer/src/lib/agent-launch-caller-profiles-test-harness.ts:40. The two findings from my previous review are unchanged in this revision.
Reviewed changes
Reviewed the delta e2a8ba90fe..78ef9d7984 — a rebase plus a PR-description update. No production behavior changed; the test deletions and the production follow-through are otherwise identical to the already-reviewed e2a8ba90fe.
- Rebased deleted-test content. The deleted census/parity tests now reflect the newer base (e.g. the
empty-workspace-default-chatcaller profile), which is why their removed bodies differ from the previous revision. Nothing reviewable. - New blocker from the rebase.
agent-launch-caller-profiles-test-harness.tsstripssourceMarkers,passesBeforeSurfaceOpen,passesLaunchPlan,passesOnPromptDeliveredandreadsBackfrom theAgentLaunchCallerProfiletype and from every profile except the one basemainadded while rebasing, which still sets all five. - Previously reported, still open.
mobile/tests-typecheck-baseline.txt:56still names the deletedmobile-session-route-parity.test.ts(mobile ratchet fails); thesrc/cli/cli-command-name-parity.test.tsandsrc/cli/registry-parity.tsguards remain deleted with no replacement.
⚠️ pnpm tc fails: the rebased-in empty-workspace-default-chat profile keeps fields the type no longer declares
This commit removed sourceMarkers, passesBeforeSurfaceOpen, passesLaunchPlan, passesOnPromptDelivered and readsBack from AgentLaunchCallerProfile and stripped them from every other profile, but the empty-workspace-default-chat entry that arrived with the rebase still sets all five. That is an excess-property error against the narrowed type, so the web typecheck fails and the branch cannot pass pnpm tc. I reproduced it on this head; it is the only typecheck error in the tree.
Technical details
# Excess properties on the empty-workspace profile after the type was narrowed
## Affected sites
- `src/renderer/src/lib/agent-launch-caller-profiles-test-harness.ts:40` — `sourceMarkers` on the `empty-workspace-default-chat` profile.
- Same object, lines 47-50 — `passesBeforeSurfaceOpen`, `passesLaunchPlan`, `passesOnPromptDelivered`, `readsBack`.
- Type declaration at lines 16-27 — no longer has any of those five properties.
- Consumers that keep this file live: `agent-launch-caller-placement.test.ts`, `agent-launch-caller-permissions.test.ts`, `agent-launch-caller-routing.test.ts`, `agent-launch-caller-prompt-transport.test.ts`.
## Required outcome
- `pnpm run typecheck:web` and `pnpm tc` pass on this head.
## Suggested approach
- Delete lines 40 and 47-50 from the `empty-workspace-default-chat` profile, matching the `args`-only shape of every other profile. (Reproduced error: `error TS2353: Object literal may only specify known properties, and 'sourceMarkers' does not exist in type 'AgentLaunchCallerProfile'`.)
## Open questions for the human
- None.DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
Deletes 101 test files and trims 112 more, all matching documented junk patterns: exact source/import/string greps, copied inventories and export lists, duplicate invocations of a contract another test already owns, typeof-shape checks TypeScript already enforces, and self-comparisons. The largest group read a production `.ts` file and asserted on its text — for example a TaskPage test that required the source to contain `selectedRepos.find((r) => r.id === newIssueRepoId) ?? selectedRepos[0] ?? null`. Any behavior-preserving rename broke it; no behavior change ever did. Production-side follow-through: exports that only these tests imported are de-exported or deleted, stale comments pointing at removed censuses are dropped, and the reliability-gate registry, `cloud/package.json` test lists, and orphaned source-reading helpers are updated so nothing references a deleted file. Two files kept their real coverage and lost only the census scaffolding: `agent-status-producer-census.test.ts` now drives all five producers end to end instead of grepping the source tree, and `config-toml-trust-stale-writes` replaces an export-list parity check.
78ef9d7 to
469b2a0
Compare
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
ℹ️ The delta resolves both blockers from the prior review and adds no new issues. I'm holding approval because the first review's CLI registry-parity coverage gap is still open — this commit only removed the stale
dispatch.tsreference to it.
Reviewed changes
Re-reviewed the delta 78ef9d7984..469b2a00b5 (one CI-fix commit).
- Fixed the
pnpm tcfailure. Removed the five fields (sourceMarkers,passesBeforeSurfaceOpen,passesLaunchPlan,passesOnPromptDelivered,readsBack) that the rebased-inempty-workspace-default-chatprofile still set afterAgentLaunchCallerProfilewas narrowed. Confirmedpnpm run typecheck:webexits 0 on this head. - Pruned the mobile typecheck ratchet baseline. Dropped the stale
src/session/mobile-session-route-parity.test.tsentry; every remaining baseline line now names an existing file. - Restored the RPC recording seam.
adapter-seam.test.tsand the two digest-pinned doc comments are back, sorecorderSha256returns to its base value and the goldens need no re-recording. The two remaining rpc-recording test edits are onlytypeof === 'function'shape-check removals, andrecorderSha256excludes non-RECORDING_DRIVERStest files and.mdfiles. - Dropped the now-false
registry-parityreference from thedispatch.tscomment.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
…-provider Three modify/delete conflicts, and the deletions are the right side to take. Main's stablyai#23815 removed 101 tests that "assert source text instead of behavior" — copied inventories, export lists, exact source greps. The Tasks parity test and the C2/C3 closure censuses are that category, and re-capturing their hashes is what every merge on this branch has been spending its time on. Accepted all three deletions rather than restoring the modified copies. What survives still carries the Jira work: main kept the C1 and C5 closure tests and every pin source file, so the three jira.status pins stay load-bearing and bridged-parity passes at 65 with no bookkeeping this round.
…3745, #23783, #22971, #22565, #22846, #23724, #23721, #23693, #23810) into #23059 #23671 (group chat rows by the turn that produced them) is ported onto #23059's turn-scope model, so there is one grouping mechanism, not two: - A host that states each row's turn scope groups by that scope, as before. #23671's journal-order derivation (rows between one turn record and the next belong to it) moves from the timing selector into src/shared/native-chat-turn-grouping.ts and runs only for a host that states no scope, replacing the positional fallback there. - #23671's anchor rules live in structuredAgentTurnAnchors, which membership, settled timing and the live clock all read: a turn whose opener key nothing resolves yet takes the send still in flight ahead of its record (Codex before its echo), else its own record. - The live turn is one key again. #23671 made row liveness follow the owning turn, so the bar key and the liveness key are always the same; nativeChatTurnMembership now returns only liveTurnKey (barTurnKey, activeTurnOpenedBy and turnKeysByItemId are gone). - A turn with no user bubble draws its bar above its first row (nativeChatTurnBarRows, desktop and mobile), and a turn's diff rollup goes under its last row. - The Codex full-history restore writes each record ahead of its items; that also fixes the derived turn scope on #23059's journal. #23026 (Stop from the moment a message is sent) is ported onto #23059's command turns: the cancel paths ask the translator for a command's provider turn instead of the removed compaction tracker, and a Stop that names no turn still ends a running /compact through its child. performCancel moved to structured-agent-session-turns-cancel.ts to keep the turns module under the line limit. #22090's awaitingInput replaces showTurnStatus/showLiveTurnActivity; the waiting-behind-/compact rows are kept.
upstream stablyai#23815 정리로 resizeForKeyboard=true 경로를 검증하던 테스트가 사라져, 옵션의 핵심 분기(키보드 표시 중 프레임 높이 변화 시 즉시 refit)가 무검증 상태였다. 리듀서를 true로 구동해 지연 없이 refit하고 디바운스 커밋도 재지연하지 않음을 고정한다.
Main's #23720 taught the RPC recording pin guard to find a squash-dropped pin through its pull request's head. This branch removes the pin, the guard, its CI job and the pin-checkout test, so the guard, its test, the new rpc-recording-pin-reachability.mts, the checkout test and the job stay deleted; nothing in #23720 outlives the pin. #23815's README wording edit fell inside the deleted pin section and is superseded by this branch's text.
Upstream stablyai#23815 removed the golden-hash route parity test as junk (hashes pin implementation shape, not behavior); follow the deletion instead of resurrecting the file through the rebase.
…ognito coverage Main merged stablyai#23815 (remove tests that assert source text instead of behavior), which bans our agent-startup-input-assembly-census.test.ts — it greped module source for `resolveAgentStartupPlanInputs(`. Remove it and replace its coverage with a real behavioral test. The census guarded that every launch builder threads incognito so a capable agent's command carries `--no-session`. The new-workspace agent/draft paths and the renderer-backed desktop spawn already have behavioral tests. The two paths that were ONLY census-covered — the structured-session (createAgentSession) and mobile builders — assembled the command inline in large/`@ts-nocheck` class methods with no testable seam, which is exactly why they were grep-guarded. Give them a seam: funnel both through one shared assembler, `buildIncognitoAwareAgentStartupPlan` (shared/agent-incognito-startup-plan.ts), which resolves incognito-by-default from the agent + Settings.terminalIncognitoAgents and threads it into the shared plan builder. Both modules now delegate to it, so neither can forget incognito. The new behavioral test drives the real assembler (structured-session shape: session options + prompt, incl. the draft branch; and mobile shape: prompt only) and asserts the built launchCommand contains `--no-session` for a capable listed agent (pi/omp) and NOT for a non-capable (claude/codex) or unlisted one — no source greps. typecheck node+web+cli green; new test + incognito suites (52 tests) pass. Co-Authored-By: Claude Opus 4.8 <[email protected]>

ELI5
Some of our tests don't check that the app works — they check that the code is spelled a certain way. They open a source file, read it as text, and assert it contains an exact line. Rename a variable and they fail, even though nothing broke. Break the actual feature and they still pass. This removes that whole category, plus tests that were exact copies of other tests.
What Changed
Nothing changes for users. This is test-suite only.
.tsfile and asserts on its characters. Example:task-page-github-issue-creation.test.tsrequired the source to contain the literal stringselectedRepos.find((r) => r.id === newIssueRepoId) ?? selectedRepos[0] ?? null. RenamingnewIssueRepoIdbroke it; changing what the feature actually does never did.orchestration.test.ts,orchestration-timeout.test.tsandorchestration-timeout-cli.test.tscontained byte-identical test bodies against byte-identical mocks. One copy kept, at the owning boundary.typeof x === 'function'shape checks that TypeScript'simplementsclause already enforces.cellInventoryLockOptions,DECLARATION_KINDS,readsTheDocument,parseModule,DEFAULT_ROUTE_GRANTS); the deletedsrc/cli/registry-parity.ts; stale comments naming removed censuses; theconfig/reliability-gates.jsoncregistry; thecloud/package.jsontest lists; and orphaned source-reading helpers (task-page-source-family.test-support.ts,worktree-jump-palette-source.test-support.ts,mobile-session-route-source-family.test-support.ts).Two files kept their real coverage and lost only the scaffolding.
agent-status-producer-census.test.tsused to pin a hand-maintained list of producer file paths by scanning the source tree; it now drives all five producer paths end to end and asserts the identity each one publishes.config-toml-trust-stale-writes.test.tsreplaces an export-list parity check with the stale-write behavior it was standing in for.Why
This branch collided with
mainin a way that makes the argument concretely: PR #23693 (fix(native-chat): an empty workspace opens the default agent as a chat when chat is the default view) had to edit four of these files —workspace-space-manager-source-boundary.test.ts,task-page-workspace-composer-boundary.test.ts,agent-launch-caller-profile-census.test.ts,agent-launch-routing-caller-census.test.ts— purely to keep their source greps matching. None of those edits verified anything about that fix's behavior; they were the cost of moving code past a text assertion. All four are deleted here, and the conflicts resolve as deletions.A test that breaks under a behavior-preserving refactor is asserting implementation, not behavior. It costs real time — every rename becomes a test edit — and it buys nothing, because the failure it reports is never a user-visible regression. Worse, it crowds out the question of whether the behavior is covered at all: a source grep next to a feature looks like coverage in a file listing.
Alternatives considered:
terminal-ime-e2e-workflow.test.mjs(its YAML-contract cases guard a nightly-only CI job that no PR test reaches; only its two source-grep cases are gone) andsecure-dns-census.test.ts(its tree scan is the only thing standing between us and a DoH resolver leak outside the SOCKS tunnel; only its self-proving control is gone).Linked Issue
N/A — test-suite hygiene, no pre-existing issue.
Visual Proof
N/A — no product code path changes. The only production edits narrow visibility of symbols (
exportremoved) or delete code that had no non-test callers.Testing
Verified locally on macOS:
pnpm tc— passes.pnpm run check:code-quality:changed— passes (0 findings across 33 changed files).node config/scripts/check-reliability-gates.mjs— passes for 140 gates. This is the check that caught the registry references to deleted tests; it failed with 5 issues before the registry was updated.config/scriptstests: 99 passed, 1 skipped.cloud/dev/scriptsnode tests: exit 0.cell-inventory-lock-contention.test.ts+assignment-store.test.ts: 123 passed.cloud/package.jsonexists (69 referenced, 0 missing).Three CI failures found and fixed on this branch
The first CI run failed
typecheck,RPC recording pin, andverify. All three were real, and two of them are worth knowing about because a local check had said "green":typecheck— my localpnpm tcpassed because of a staleconfig/*.tsbuildinfo. Deleting the build info reproduced it instantly. The error was a rebase interaction, not the audit: this branch removed dead fields fromAgentLaunchCallerProfile, andmain's fix(native-chat): an empty workspace opens the default agent as a chat when chat is the default view #23693 added a new profile entry that still set them. The new entry is now trimmed to the live fields. Lesson applied: every typecheck in this audit now runs afterrm -f config/tsconfig.*.tsbuildinfo.RPC recording pin— 398 golden recordings broke. An auditor had deletedmobile/src/test-support/rpc-recording/adapter-seam.test.tsand edited two doc comments that referenced it; those comments live insiderecorderSha256, so the edit invalidated the whole corpus — a consequence the comment itself spells out. On re-reading, that test was not junk: it does real AST analysis of the mount register and pinsHOST_CLIENT_CONTEXT_LOCALagainst the product source, guarding a string literal no type checker sees, where a rename surfaces only as a runtimeReferenceErrormid-recording. The test and both comments are restored, which returns the digest to its original value — a far better trade than re-recording 398 goldens to land a comment edit.verify—mobile/tests-typecheck-baseline.txtheld a stale entry for a deleted test. My earlier check for baseline references missed it because the baseline stores paths relative tomobile/while my deleted-file list was repo-relative. Pruned viapnpm --filter orca-mobile check:tests-typecheck --prune; the ratchet now reports OK across 884 test files.Re-verified after the fixes: clean
pnpm run typecheck(no build info), 140 reliability gates, the changed-lines quality gate, the mobile ratchet, all 29 recording/bridged-parity suites (1,827 tests), and the full mobile suite — 887 files, 9,643 tests passing.Not run locally: the e2e suites and Windows/Linux/SSH jobs — left to CI.
mobile/scripts/check-tests-typecheck-ratchet.mjsfails in this worktree with a pre-existingERR_PACKAGE_PATH_NOT_EXPORTEDresolvingtypescript, unrelated to this change.This change is test removal, so the verification is that everything remaining still passes and that no reference to a removed file survives — both checked above. No new coverage was invented, but three edits were not purely subtractive, and are worth a closer look:
src/cli/handlers/orchestration.test.tsgained 126 lines. Deleting the two replay files would have lost four cases that were genuinely unique to them (fractional/unsafe-integer timeout rows, safe-ask-timeout clamping, exact-integer CLI timeout syntax, omitted-ask-timeout, and the pending-message-ID resume print). Those moved into the owner rather than being dropped. 48 tests pass.src/renderer/src/app-shell/workspace-view-cross-client-sync.test.tsxlost a runtime branch. Its mobile model used a source grep to choose between the shipping patch-only payload and the pre-fix whole-snapshot payload, so removing the grep left a dead branch. The model is now pinned to the shipping shape — verifiedbuildWorkspaceViewSettingsUpdateis exported atmobile/src/worktree/workspace-view-settings.ts:70and is the live path atmobile/src/host-screen/use-host-view-settings.ts:79. 15 tests pass.agent-status-producer-census.test.tskept its name but dropped its source scan (described above).One deleted test was hiding a possible bug
remote-server-parity.test.ts§1, "an empty snapshot with existing local terminals does not add a phantom tab", looped overgroupOrder(patch)and put its assertion inside the loop.groupOrderispatch.groupsByWorktree?.[WT]?.[0]?.tabOrder ?? []and the real value is[], so the loop body never executed and the case asserted nothing at all.Probing the actual behavior:
applyWebSessionTabsSnapshotwith an empty host snapshot returns a patch whosegroupsByWorktreeis{}— the worktree's group, including thetabOrderholding the existing local terminal, is dropped. I deleted the vacuous case and deliberately did not change the behavior or freeze it in a new assertion. Someone who owns this path should decide whether dropping the group is correct (the host reports no tabs) or whether local terminals must survive an empty host snapshot.Review
Highest-value things to push back on:
secure-dns-census.test.tsand theterminal-ime-e2e-workflowYAML cases are source/config greps that were deliberately kept. They are lint rules wearing a test's clothes. If you'd rather they move to a lint rule or be dropped entirely, say so.agent-status-producer-census.test.tskeeps its filename while no longer scanning the source tree. It still covers every producer, so "census" still reads true, but the name is worth a second opinion.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
windows-pty-native-capability-workflow,windows-signing-workflow-contract,pty-spawn-shell-override-parity) were source/workflow greps or duplicates, not platform behavior tests.src/main/ssh/relay-protocol-backpressure.test.tswas removed only after confirming both it and the survivingsrc/relay/protocol-backpressure.test.tsexercise the sameFrameDecoderinsrc/shared/relay-frame-decoder.tsthrough two re-export facades.*-census/*-source/*-paritysource-text tests; the remaining mobile suite passes.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)