Skip to content

ci: run validator checks on macOS and Windows - #590

Merged
addyosmani merged 1 commit into
addyosmani:mainfrom
ayobamiseun:ci/validator-platform-matrix
Sep 23, 2026
Merged

addyosmani merged 1 commit into
addyosmani:mainfrom
ayobamiseun:ci/validator-platform-matrix

Conversation

@ayobamiseun

@ayobamiseun ayobamiseun commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

All validator CI currently runs on Ubuntu, so platform-specific path handling, line endings, and subprocess behavior can regress without a failing check. The Windows path fix in #573 is a concrete example of the coverage gap.

Add macOS and Windows coverage for the same deterministic Node tooling already checked on Linux.

Change

  • Add a validate-platforms matrix on macos-latest and windows-latest, using Node 24 and the existing checkout/setup-node action versions.
  • Run all six Node test suites, the five validators, and the trigger/routing evals with the existing 95% rank-1 floor. List test paths explicitly so the command works in PowerShell without shell glob expansion.
  • Fetch full history and tags for the manifest-version test's git describe check.
  • Set fail-fast: false so a failure on one platform leaves the other platform's diagnostic run intact. Neither platform permits failures.
  • Make plugin validation depend on the complete matrix. Preserve the existing Ubuntu jobs and check names, including shell-hook and plugin-install coverage.

One workflow file. No test logic, thresholds, or dependencies changed. The matrix uses the existing workflow's push, pull-request, and manual triggers.

Verification

  • Local macOS run (Node 25.9.0): all 90 Node tests passed, 0 failed or skipped.
  • All five validators passed; 25 skills, 9 command families, and 7 guarded artifact files checked.
  • Routing evals: 140 checks passed, rank-1 rate 100%.
  • Parsed the workflow YAML and checked that every current Node test file appears in the matrix command, full history is fetched, both platforms gate plugin validation, and existing jobs are preserved.
  • git diff --check: clean.

Hosted Node 24 verification on the exact PR commit: both macOS and Windows passed all 90 tests, every validator, and the routing checks. Existing Ubuntu checks and plugin validation/installation also passed. Successful workflow run.

The initial fork run failed the existing version check because the fork had no release tags. After copying upstream's unchanged 0.6.10 tag to the fork, the rerun passed without code changes.

Add platform coverage for all six Node test suites, validators, and routing checks while preserving existing Ubuntu check names. Require both matrix jobs before plugin validation and retain failures from each platform.

@addyosmani addyosmani left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: given how much Windows pain we've had lately, running the Node validators on macOS and Windows is worth it, and you scoped it right by keeping the bash hook tests off the matrix. Merging.

nitpick: validate-versions.js calls git describe with no try/catch, so if a runner ever checks out without tags it throws. Pre-existing, and fetch-depth 0 handles it today, so nothing to change, just noting it.

@addyosmani
addyosmani merged commit bcab6a1 into addyosmani:main Sep 23, 2026
7 checks passed
Afzal-Iqbal pushed a commit to Afzal-Iqbal/agent-skills that referenced this pull request Oct 11, 2026
Afzal-Iqbal pushed a commit to Afzal-Iqbal/agent-skills that referenced this pull request Oct 16, 2026
Afzal-Iqbal pushed a commit to Afzal-Iqbal/agent-skills that referenced this pull request Nov 2, 2026
Afzal-Iqbal pushed a commit to Afzal-Iqbal/agent-skills that referenced this pull request Nov 14, 2026
Afzal-Iqbal pushed a commit to Afzal-Iqbal/agent-skills that referenced this pull request Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants