Skip to content

Commit e78bbce

Browse files
dmealingclaude
andcommitted
docs(CLAUDE): correct stale '~3s' test-timing (server suite now >5min; scope per-package)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NGQ7oSuNcjhsMHWwZzhBwr
1 parent b95ba50 commit e78bbce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,11 +514,11 @@ ADR-0015).
514514

515515
## Running tests
516516

517-
The Bun workspace root is the **repository root** (`/package.json`), which globs `server/typescript/packages/*` and `client/web/packages/*`. Java/Python/C# live outside the JS workspace (not globbed). Run `bun install` **once at the repo root**. Run `bun test` **scoped**`cd server/typescript && bun test` for the server suite (this also picks up `server/typescript/bunfig.toml`'s test preload), and per-package for `client/web`. **Never run a bare `bun test` at the repo root**: it walks `java/`, `python/`, `csharp/`, and `fixtures/` looking for test files, turning a ~3-second run into minutes.
517+
The Bun workspace root is the **repository root** (`/package.json`), which globs `server/typescript/packages/*` and `client/web/packages/*`. Java/Python/C# live outside the JS workspace (not globbed). Run `bun install` **once at the repo root**. Run `bun test` **scoped**`cd server/typescript && bun test` for the server suite (this also picks up `server/typescript/bunfig.toml`'s test preload), and per-package for `client/web`. **Never run a bare `bun test` at the repo root**: it walks `java/`, `python/`, `csharp/`, and `fixtures/` looking for test files, turning a fast per-package run into many minutes.
518518

519519
```
520520
bun install # once, at the repo root
521-
cd server/typescript && bun test # server suite (~3s, 2123 tests)
521+
cd server/typescript && bun test # server suite (per-package; a bare run over the whole server suite now exceeds 5 min — scope it)
522522
cd client/web/packages/<pkg> && bun test # a single client package
523523
bun run --filter '*' typecheck # whole workspace, from repo root
524524
bun run --filter '*' build # whole workspace, from repo root

0 commit comments

Comments
 (0)