Skip to content

Run the Test Suite on windows-latest in the Pull Request Gate - #2555

Merged
ptr727 merged 2 commits into
developfrom
feature/1143-windows-test-job
Oct 8, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/1143-windows-test-job

Conversation

@ptr727

@ptr727 ptr727 commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a windows-test job to the hub's own test-pull-request.yml. It runs the hub's unittest suite on windows-latest from Git Bash under Python 3.13, and check-workflow-status now requires it beside validate. The required check's name does not change.

This follows the maintainer's answer recorded on #1143: add a windows-latest job once the suite passes on Windows, which it has since #2488. The maintainer also chose to keep the job hub-only. The reusable validate-task.yml and catalog/snippets/workflows/test-pull-request.yml are untouched, so no other repository's gate moves.

Notes

  • The job runs the same unittest discover -s tests as the Linux leg, without coverage, since the Linux leg owns the Codecov report.
  • Pins match the ones already in the repo: checkout v7.0.1 as in validate-task.yml, setup-python v7.0.0 as in canonical-review-sweep.yml.
  • The spec/files.json contract for this file is interface fidelity with requiredJobKeys [check-workflow-status, validate], so an extra job conforms.
  • The hosted runner differs from a developer Windows host. It runs as admin, so symlink tests skip locally but run in CI. Its Docker is in Windows-container mode, and its temp path may be an 8.3 short name. This PR's first run is the measurement of those differences, and a failure there gets its own fix before this merges.

Verification

  • actionlint and editorconfig-checker, run through scripts/docker_lint.py, pass. So do scripts/repo_gate.py (sha-pin included), spec/validate.py, and the prose gate with comments allowed.
  • One local strict-review pass raised no findings.

Refs #1143

🤖 Generated with Claude Code

A windows-test job runs the hub's unittest suite on windows-latest from
Git Bash, under Python 3.13, and the pull request aggregator now requires
it beside validate. Windows is a supported fleet host, and the hub's
tooling broke there unnoticed while only Linux ran the suite.

The job is hub-only. The reusable validate-task.yml is unchanged, so no
other repository's gate moves.

Refs #1143

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 8, 2026 16:57
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Oct 8, 2026
@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3630abe6-9b94-4f0a-9cc6-aac0a2c2398d
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The new required Windows gate needs a successful hosted-runner suite run before final approval.

1 open finding
What changed in this PR

This PR adds Windows test coverage to the hub’s pull request gate without changing the reusable gate used by other repositories.

Changes:

  • Runs the unit suite on windows-latest with Python 3.13 and Git Bash.
  • Requires both the existing validation job and the Windows job to pass under the unchanged required check.
File Description
.github/​workflows/​test-pull-request.yml Adds the Windows test job and includes its result in the merge gate.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/test-pull-request.yml Outdated
@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.40%. Comparing base (80b5f01) to head (6447538).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2555   +/-   ##
========================================
  Coverage    58.40%   58.40%           
========================================
  Files           16       16           
  Lines         8090     8090           
========================================
  Hits          4725     4725           
  Misses        3365     3365           
Flag Coverage Δ
python-3.13 58.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The first hosted run failed six TestCompositeActions cases. The repo
gate's action reader falls back to uvx where PyYAML does not import,
and the job had neither. The Linux leg gets uvx from setup-uv, and uvx
is a declared host tool, so the job now installs it the same way. The
job's comment states why the job exists rather than the history behind
it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The single-file workflow change has no identified unresolved issues.

0 open findings

1 resolved since last review

🧠 Review effort: Lite

@ptr727
ptr727 merged commit 31c4bbd into develop Oct 8, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/1143-windows-test-job branch October 8, 2026 17:26
ptr727 added a commit that referenced this pull request Oct 8, 2026
…Test Job (#2558)

## Summary

Promotes two changes from the `windows` lane.

- [#2554](#2554) adds a
test for each loader (`bootstrap.sh` and `bootstrap.ps1`). Each one runs
the kept-tree fetch, the swap, the skills install and the cleanup in
order, and asserts that the directory the installer registers as the
Claude Code marketplace is the kept `skills-tree` and still exists after
the run. It passes natively on Windows and on Linux, and running the
installer before the swap fails it.
- [#2555](#2555) adds a
hub-only `windows-test` job to `test-pull-request.yml`. It runs the
suite on `windows-latest` from Git Bash with uv installed, and
`check-workflow-status` now requires it. Its first green hosted run took
about 196s for 2277 tests. The required check's name is unchanged, and
no other repository's gate moves.

Closes #1756
Closes #1143

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants