Skip to content

ci: add platform package smoke workflow#163

Merged
GraDea merged 6 commits into
mainfrom
ci/platform-package-smoke
Jul 9, 2026
Merged

ci: add platform package smoke workflow#163
GraDea merged 6 commits into
mainfrom
ci/platform-package-smoke

Conversation

@GraDea

@GraDea GraDea commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

This PR resolves installation and startup failures on Windows and macOS caused by missing native binaries.

The Problem
Windows and some macOS users experience failures during installation or see the plugin hang at "initializing". The usearch package lacks prebuilt binaries for these platforms in the npm registry, causing node-gyp compilation to fail.

The Fix
Moved usearch to optionalDependencies. The codebase already has a graceful fallback to exact-scan if usearch fails to load. This change unblocks installation on unsupported platforms while preserving vector search where supported.

CI Additions
Added a new GitHub Actions workflow (.github/workflows/platform-smoke.yml) to catch platform-specific packaging issues early. The workflow:

  • Runs a matrix across Ubuntu, Windows, and macOS.
  • Packs the plugin and installs it in a temporary directory with --ignore-scripts (mimicking the OpenCode plugin loader).
  • Runs scripts/smoke-test.mjs to verify package exports.
  • Runs scripts/native-deps-smoke.mjs to proactively catch future native binary gaps.

Related Issues

Fixes #122
Fixes #158

GraDea and others added 6 commits July 9, 2026 18:20
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@GraDea GraDea marked this pull request as ready for review July 9, 2026 22:05
@GraDea GraDea merged commit b4489c3 into main Jul 9, 2026
7 of 8 checks passed
@GraDea GraDea deleted the ci/platform-package-smoke branch July 10, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant