mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
1d4fdbad26
The find tool previously collected every .gitignore under the search path and passed them to fd via --ignore-file. fd treats --ignore-file entries as a single global ignore source, so rules from a/.gitignore also filtered files under sibling b/. Drop the manual collection and pass --no-require-git instead, which makes fd apply hierarchical .gitignore semantics whether or not a git repo is present. closes #3303
1d4fdbad26
ยท
2026-04-16 23:03:41 +02:00
History
Coding agent suite tests
Use test/suite/ for the new harness-based test suite around AgentSession and AgentSessionRuntime.
Rules:
- Use
test/suite/harness.ts - Use the faux provider from
packages/ai/src/providers/faux.ts - Do not use real provider APIs, real API keys, network calls, or paid tokens
- Keep these tests CI-safe and deterministic
- Do not use or extend the legacy
test/test-harness.tspath unless a missing capability forces it
Organization:
- Put broad lifecycle and characterization tests directly under
test/suite/ - Put issue-specific regression tests under
test/suite/regressions/ - Name regression tests as
<issue-number>-<short-slug>.test.ts - Example:
test/suite/regressions/2023-queued-slash-command-followup.test.ts