Skip to content

fix(agent): handle cross-volume skill installs on Windows - #269

Merged
JHWang-1997 merged 2 commits into
mainfrom
fix/windows-cross-volume-skill-install
Sep 22, 2026
Merged

JHWang-1997 merged 2 commits into
mainfrom
fix/windows-cross-volume-skill-install

Conversation

@zpzjzj

@zpzjzj zpzjzj commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • treat skill install targets on another Windows volume as outside the source tree
  • preserve errors for same-volume relative-path failures
  • add a Windows regression test covering a D: checkout and C: temporary workspace
  • run deterministic Extended CI automatically on every pull request
  • use the same repository-managed self-hosted Windows, Linux/Docker, and Linux runner pools for pull requests, merge groups, and maintainer dispatches to avoid hosted-runner queue latency

Root cause

PR #256 added containment detection with filepath.Rel. On Windows, a checkout and none-runtime temporary workspace can be on different volumes, so filepath.Rel fails before skill installation.

Extended CI only listened to merge_group and workflow_dispatch, so the Windows, Docker, and GoReleaser checks did not run automatically before merge.

Runner policy

Extended CI now uses the same self-hosted runner labels for pull_request, merge_group, and workflow_dispatch. Pull-request jobs remain credential-free with read-only repository permissions; first-time fork contributors remain subject to the repository workflow approval policy.

Validation

  • make verify
  • make test
  • go test -tags e2e -timeout 1200s -count=1 ./e2e
  • Windows cross-compiled agent tests
  • pull-request Extended CI exercises Windows E2E, Docker integration, GoReleaser, and the aggregate Extended CI Summary check

The Protect main ruleset requires Extended CI Summary.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-21T09:43:57.946053Z e756b0e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e756b0e689

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal/agent/agent_test.go Resolved
@zpzjzj
zpzjzj force-pushed the fix/windows-cross-volume-skill-install branch from e756b0e to 95368aa Compare September 21, 2026 09:50
@zpzjzj
zpzjzj force-pushed the fix/windows-cross-volume-skill-install branch from c5bc8ab to 8647992 Compare September 22, 2026 08:21

@JHWang-1997 JHWang-1997 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.

LGTM

@JHWang-1997
JHWang-1997 added this pull request to the merge queue Sep 22, 2026
Merged via the queue into main with commit 889cfa6 Sep 22, 2026
18 checks passed
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