You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(sdk): verify-package always fails when it runs — plugin-github missing from the pack list #159
The Linux-only Verify packed workerd SDK step in test.yml fails whenever it actually runs: packages/sdk/script/verify-package.ts throws @opencode/core has unpacked workspace dependencies: @opencode/plugin-github. It usually goes unnoticed because the step runs bun turbo verify:package --affected --filter=@opencode/sdk, and on runs where @opencode/sdk is not affected turbo executes zero tasks and the step passes vacuously.
verify-package.ts:11-24 hard-codes the pack order in names (schema, codemode, ai, util, protocol, client, plugin, plugin-browser, core, simulation, server, sdk) — plugin-github is not in the list, so no archive for it ever exists when core is checked.
packages/core/package.json lists "@opencode/plugin-github": "workspace:*" under dependencies.
Both arrived in the same commit (1fc489d878); git log -S plugin-github -- packages/sdk/script/verify-package.ts is empty — the script has never accounted for the package.
Expected fix direction
Add "plugin-github" to names before "core" (its own workspace deps, @opencode/plugin and @opencode/schema, are already packed earlier), then verify the whole step end to end: bun turbo verify:package --filter=@opencode/sdk should run the packed-consumer checks and exit 0, and a PR touching packages/sdk should show unit (linux) fully green. Check packages/plugin-github's build/pack behaviour in this flow (its exports use ./src/*.ts wildcards) as part of the verification.
Acceptance criteria
bun turbo verify:package --filter=@opencode/sdk passes locally / in CI.
A PR affecting @opencode/sdk shows the Verify packed workerd SDK step green (not vacuously skipped).
No package.json files are left modified by a failed verify run.
Activity
docs: ROADMAP — #62 done, Done table through 2026-10-20, Now points at …
fix(sdk): pack plugin-github in verify-package pack list (#166)
docs: record the #159, #63 and #164 completions in ROADMAP (#169)