Skip to content

fix(ci): support Windows in manifest preflight - #10594

Merged
kodjima33 merged 1 commit into
BasedHardware:mainfrom
tianmind-studio:codex/windows-pr-preflight-platform
Jul 27, 2026
Merged

kodjima33 merged 1 commit into
BasedHardware:mainfrom
tianmind-studio:codex/windows-pr-preflight-platform

Conversation

@tianmind-studio

@tianmind-studio tianmind-studio commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

What changed and why

Treat native Windows as a supported check-manifest platform. detect_platform() already returned windows, but manifest validation rejected that value, so every Windows scripts/pr-preflight run failed its own contract test. The POSIX Firestore runner harness is now skipped on Windows, where bash resolves to the WSL launcher rather than the POSIX environment the test requires.

Product invariants affected

none

How it was verified

  • Reproduced both failures on unmodified main: windows was rejected, and the POSIX runner test launched Windows' WSL bash.exe.
  • python .github/scripts/test_run_checks.py: 27 tests passed with the single POSIX-only case skipped.
  • scripts/pr-preflight --pr-body-file ...: all 11 selected checks passed on platform=windows.

This exercises the real Windows preflight path end to end, not only the platform helper.

Tests

test_detect_platform_maps_windows pins the supported platform mapping. The existing host-platform test now runs successfully on Windows, while the Firestore shell harness remains covered on POSIX CI.

Failure class (fixes)

Failure-Class: none

Review in cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks for the focused CI fix. I reviewed the manifest preflight changes statically and ran .github/scripts/test_run_checks.py on the PR head locally; it passed all 27 tests.

This looks like the right direction: windows is now a valid manifest platform, detect_platform() maps native Windows explicitly, the invalid-platform test still covers rejection with plan9, and the POSIX-only Firestore runner harness is skipped on Windows rather than trying to exercise a Unix shell through the WSL launcher.

Because this touches CI/preflight behavior, I’m not formally approving from automation; a maintainer should still do the final workflow review before merge. I don’t see a blocker in the patch as submitted.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added workflow-review Needs maintainer review for workflow, automation, hooks, or CI behavior needs-maintainer-review Needs a human maintainer to sign off before merge labels Jul 26, 2026

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

12-line CI manifest-preflight Windows fix. Approve-only — .github/ tooling stays out of agent merge authority.

@undivisible
undivisible force-pushed the codex/windows-pr-preflight-platform branch from 44eaaa7 to f146ca6 Compare July 27, 2026 05:03

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Verified: detect_platform() already returned 'windows' but VALID_PLATFORMS rejected it, so every Windows pr-preflight failed its own contract test; 12-line fix, no check is weakened.

@kodjima33
kodjima33 merged commit d919f69 into BasedHardware:main Jul 27, 2026
27 checks passed
undivisible pushed a commit to undivisible/omi that referenced this pull request Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-maintainer-review Needs a human maintainer to sign off before merge workflow-review Needs maintainer review for workflow, automation, hooks, or CI behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants