The 13 test files in packages/pi-coding-agent/src/core/ were never executed in CI or by `npm test`. The test:unit glob only covers src/resources/extensions/gsd/tests/ and src/tests/, leaving lifecycle-hooks, model-registry-auth-mode, auth-storage, and 10 other suites with zero enforcement. - Add `test:packages` script that runs compiled dist tests after build - Wire into both the linux build job and windows-portability job in CI - Fix two env-isolation bugs in auth-storage.test.ts: the "returns undefined" and "falls through to fallback resolver" tests were not clearing OPENROUTER_API_KEY before calling getApiKey, causing failures when the env var is set in the caller's environment |
||
|---|---|---|
| .. | ||
| native | ||
| pi-agent-core | ||
| pi-ai | ||
| pi-coding-agent | ||
| pi-tui | ||