Skip to content

fix(opencode): stabilize windows ci file handling - #22800

Closed
r-siddiq wants to merge 2 commits into
anomalyco:devfrom
r-siddiq:fix/windows-plugin-loader-ci
Closed

r-siddiq wants to merge 2 commits into
anomalyco:devfrom
r-siddiq:fix/windows-plugin-loader-ci

Conversation

@r-siddiq

Copy link
Copy Markdown

Issue for this PR

Closes #22799

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This fixes the Windows-specific failures behind the fix/windows-plugin-loader-ci branch.

At the product level, it makes drive-less rooted Windows paths resolve consistently at the read, write, edit, lsp, and external_directory boundaries, and it tightens file-backed plugin metadata fingerprinting so refresh/install does not miss content changes when mtime is unchanged.

It also keeps the Windows CI coverage meaningful by replacing a few Unix-only test commands with cross-platform equivalents and by adding regression coverage for the affected Windows path cases.

How did you verify your code works?

  • Ran bun typecheck from packages/opencode
  • Ran bun run test:ci from packages/opencode
  • Result after the correction pass: 2003 pass, 17 skip, 1 todo, 0 fail
  • Pushing the branch also ran the repo pre-push hook (bun turbo typecheck) successfully after restoring the expected tracked symlinks in this Windows checkout

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@r-siddiq

Copy link
Copy Markdown
Author

Context after the conflict-resolution pass:

@r-siddiq
r-siddiq force-pushed the fix/windows-plugin-loader-ci branch from 609c6bb to cbf6b34 Compare April 21, 2026 19:55
@github-actions

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

@github-actions github-actions Bot closed this May 16, 2026
@r-siddiq
r-siddiq deleted the fix/windows-plugin-loader-ci branch May 17, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: project-local drive-less paths fail tool boundary checks

1 participant