Commit Graph
4 Commits
Author SHA1 Message Date
Tam Nhu Tran 41a31c8a4f fix(ci): resolve flaky api-command module resolution and migrate to self-hosted runner
Root cause: Bun's test runner fails to resolve exports from directory
index.ts files during parallel test execution. The api-command/index.ts
imports 8 subcommand modules — if any fail to load during concurrent
test runs, the entire module fails with "Export not found."

Fix: extract createApiCommandHandler into handler.ts (lightweight, only
imports named-command-router). Test imports from handler.ts directly,
bypassing the heavy index.ts that loads all subcommand modules.

Also:
- Remove stale api-command.ts barrel file
- Use explicit /index import paths in source
- Migrate CI validate to self-hosted runner with clean artifact step
- Disable Bun cache (no-cache: true) on self-hosted runner
2026-03-26 18:12:32 -04:00
Tam Nhu Tran be4ba13e96 fix(tests): stabilize command help CI validation 2026-03-26 16:56:34 -04:00
Tam Nhu Tran d52465058e fix(commands): follow up command routing hardening regressions 2026-03-17 14:06:39 -04:00
Tam Nhu Tran 204475627a refactor(commands): split CLI command routing 2026-03-17 12:54:55 -04:00