History

Note in AGENTS.md that e2e is slow to run during development

Rhys Sullivan committed 3 months ago

Commit 5207d3e1 parent fc1e5891 file · +3 −0Browse files

Unified · Split

AGENTS.md+3−0
@@ -10,6 +10,9 @@ Stable contracts live here. Current setup and server mechanics are in · 9 unmodified lines
10 package script. Never use `bun test`.10 package script. Never use `bun test`.
11- Use the narrowest meaningful verification while iterating. Merge-ready gates11- Use the narrowest meaningful verification while iterating. Merge-ready gates
12 are `bun run format:check`, `lint`, `typecheck`, and `test`.12 are `bun run format:check`, `lint`, `typecheck`, and `test`.
13- e2e is slow. Avoid running it often during development: optimize for
14 iteration speed first, then test. Save e2e for when the change is settled,
15 and run the narrowest scenario rather than the full suite.
13- Run `bun run format` before a PR and include only files owned by the branch.16- Run `bun run format` before a PR and include only files owned by the branch.
14- User-visible work requires a specific e2e run, a browsable dev instance, and17- User-visible work requires a specific e2e run, a browsable dev instance, and
15 the recording or trace showing what to inspect. Add a scenario when none18 the recording or trace showing what to inspect. Add a scenario when none