Files
ruflo/.github
ReuvenandRuFlo 4ba3adecd8 ci: tolerate cross-package conflicts in regression-guard jobs
The first attempt (commit 2ac256afb) decoupled the new jobs from the
broken `build` job, but ran into two cross-package issues that didn't
surface in local testing:

1. smoke-install-no-bsqlite — `npm install` rejected the workspace
   constraint. agentdb@3.0.0-alpha.10 declares peerOptional
   better-sqlite3@^11.8.1 while @claude-flow/memory@3.0.0-alpha.15
   uses ^12.9.0 (intentional, fixes #1867). pnpm warns; npm errors.
   Fix: add --legacy-peer-deps. The peer is declared *optional* and
   the runtime fallback is exercised by the smoke test itself.

2. plugin-hooks-smoke + witness-verify — `pnpm --filter @claude-flow/cli...`
   built cli's deps but cli's source imports types from @claude-flow/swarm,
   which was *not* pulled in by the filter (cli's package.json doesn't
   declare it as a hard dep — only via TS path mapping). swarm's dist
   was missing, tsc emitted TS6305.
   Fix: use `pnpm --recursive --no-bail run build` and explicitly
   verify the specific dist files we need actually exist. This
   tolerates the pre-existing federation TS failure (1 fail / 22 pass)
   without skipping the cli/memory/security builds.

Local pre-flight against this branch:
  ✓ 22 packages build (federation expectedly fails)
  ✓ @claude-flow/cli/bin/cli.js produced
  ✓ @claude-flow/cli/dist/src/commands/hooks.js produced
  ✓ @claude-flow/memory/dist/sqlite-backend.js produced
  ✓ @claude-flow/security/dist/password-hasher.js produced

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-08 21:15:55 -04:00
..