Skip to content

fix(ci): enforce native platform checks before merging - #33

Merged
caorushizi merged 2 commits into
masterfrom
codex/require-cross-platform-ci
Sep 14, 2026
Merged

caorushizi merged 2 commits into
masterfrom
codex/require-cross-platform-ci

Conversation

@caorushizi

@caorushizi caorushizi commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

PRs previously skipped macOS, and master required only the Linux lint and test checks, so a failing Windows check could still be merged.

Run macOS tests on every PR and pair the workflow with required lint, test, test-windows, and test-macos checks in the Protect master ruleset. Document that local checks cover only the host OS; race testing remains on master and manual runs.

Use one workspace-root spelling for the child working directory, PWD, and GOWORK so native Windows module loading accepts workspace path aliases. Regression coverage includes symlinked GOWORK parents and PWD aliases.

Validation: task pre-push passed. All four required checks passed on this PR: https://github.com/1cli-team/one-cli/actions/runs/34870620617. The active ruleset now requires all four checks, and this PR remained BLOCKED after Linux lint/test passed while the native platform tests were still running. The Go dependency fix also passed native Linux, Windows, macOS, and race checks in https://github.com/1cli-team/one-cli/actions/runs/34869772049.

Copilot AI lite review requested due to automatic review settings September 14, 2026 16:45
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
one-cli-docs Ready Ready Preview Sep 14, 2026 4:46pm UTC

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

No unresolved review comments were identified.

Pull request overview

Updates Go workspace path handling and enforces native platform checks before merging.

Changes:

  • Aligns workspace, PWD, and GOWORK paths.
  • Adds symlink and path-alias regression coverage.
  • Enables native platform checks on pull requests and documents validation.
File summaries
File Description
packages/cli/internal/modules/dependencies/service.go Aligns Go workspace path handling.
packages/cli/internal/modules/dependencies/service_test.go Adds workspace path regression tests.
CONTRIBUTING.md Documents local and CI platform coverage.
.github/workflows/ci.yml Enables native platform PR checks.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

@caorushizi
caorushizi merged commit 174cc03 into master Sep 14, 2026
8 checks passed
@caorushizi
caorushizi deleted the codex/require-cross-platform-ci branch September 14, 2026 16:51
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