Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@ already.

Dev only — the release artifact is always the pip package.

Common checks: `uv run pytest`, `uv run lint-imports`, `uv run mypy src/visionset/kernel`,
`pnpm -r build`, `pnpm test`. The full list — including the wheel build and the thirty-minute
flow gate — is in [CONTRIBUTING.md](CONTRIBUTING.md).
The inner loop while iterating: `uv run pytest <path>`, `uv run lint-imports`,
`uv run mypy src/visionset/kernel` (the kernel only — CI checks all of `src/visionset`),
`pnpm -r build`, `pnpm test` (no browser — the two Playwright suites sit outside it). Each is a
subset of what CI runs on every pull request; the full list, with what each command does not
cover, is in [CONTRIBUTING.md](CONTRIBUTING.md#checks-that-must-stay-green).

## Releases

Expand Down
6 changes: 4 additions & 2 deletions docs/content/architecture/backend/kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ Enforced twice, and the second one is the one that catches a lazy import:
- [`tests/architecture/test_kernel_purity.py`](../../../../tests/architecture/test_kernel_purity.py)
- imports the kernel in a fresh interpreter and inspects `sys.modules`.

The kernel is also the one package `mypy` runs in strict mode over:
`uv run mypy src/visionset/kernel`.
The kernel is also the one package `mypy` checks in strict mode. The strict flags are
per-module configuration, so `uv run mypy src/visionset` - what CI runs - applies them here
and the ordinary ones everywhere else; `uv run mypy src/visionset/kernel` is the kernel-only
subset for iterating, and sees nothing outside the kernel.

## Where the behaviour is written down

Expand Down
5 changes: 4 additions & 1 deletion docs/content/architecture/frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ pnpm -r test # vitest
pnpm -r lint # eslint, plus the annotator's two typecheck passes
```

`bash scripts/check.sh` runs all three, plus the two browser suites in chromium.
None of the three opens a browser: both Playwright suites - the annotator e2e and the
real-server cycle - sit outside them, so anything only chromium can see passes here. CI
runs all five on every pull request; `bash scripts/check.sh` runs them all locally, browser
suites included.

The bundle the app produces is copied into `src/visionset/_static/` and served by
`visionset server` under `/app`, which is why one `pip install` is the whole
Expand Down
Loading