mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
Previously only the workspace 'build' job ran cross-platform.
The new regression guards (smoke-install-no-bsqlite,
plugin-hooks-smoke, witness-verify) were ubuntu-only.
Matrix expansion per job, justified by what behaviour each guard
actually tests:
smoke-install-no-bsqlite → ubuntu + macos
plugin-hooks-smoke → ubuntu + macos
witness-verify → ubuntu + macos + windows ← full
Why each scope:
- smoke-install-no-bsqlite uses bash patterns + tests an
OS-independent JS code path; Linux+macOS is sufficient signal.
- plugin-hooks-smoke validates a bash-based hooks.json. Windows
users hit it via WSL/git-bash (same as Linux/macOS); native
cmd/PowerShell is not the user environment.
- witness-verify is pure JS (@noble/ed25519 only). Windows
coverage catches platform-specific bugs like CRLF
normalization breaking the canonical manifest hash, or path
resolution drift in file-marker lookups.
Implementation:
- 'shell: bash' on Windows steps so git-bash is used.
- $RUNNER_TEMP instead of /tmp for OS-portable temp paths.
- 'pnpm pack --pack-destination $RUNNER_TEMP' replaces hardcoded /tmp.
ADR-102 §5 added documenting the matrix decisions, alongside the
existing §1-4 design. Implementation table updated to reflect the
new matrix coverage.
Cost: ~6 extra runner-minutes per CI invocation. Acceptable for
catching OS drift before users.
Co-Authored-By: RuFlo <ruv@ruv.net>