Skip to content

fix(ci): restore claudeup-core to pnpm workspace to fix Test Plugins failures#2

Closed
erudenko wants to merge 1 commit intomainfrom
fix/ci-23779059727
Closed

fix(ci): restore claudeup-core to pnpm workspace to fix Test Plugins failures#2
erudenko wants to merge 1 commit intomainfrom
fix/ci-23779059727

Conversation

@erudenko
Copy link
Copy Markdown
Member

Summary

  • claudeup-core was removed from tools/pnpm-workspace.yaml but the workspace lockfile (tools/pnpm-lock.yaml) still declared it as an importer — this mismatch caused pnpm install to fail every time CI ran the Test Plugins workflow
  • Adding claudeup-core back to the workspace packages list aligns the definition with the lockfile, which already contains all required dependencies including vitest and @vitest/coverage-v8

Root Cause

tools/pnpm-workspace.yaml listed only skills-api, but tools/pnpm-lock.yaml still had a claudeup-core importer block. When GitHub Actions ran pnpm install from tools/claudeup-core/ with CI=true (which enables --frozen-lockfile by default), pnpm detected the lockfile–workspace mismatch and aborted.

Affected runs: 23779059727, 23778999927, 23776816762, 23723312764, 23723077305, 23697252527, 23697213395 (all Test Plugins failures since 2026-03-28).

Test plan

  • Verify the Test Plugins workflow passes on this PR
  • Confirm pnpm install in tools/claudeup-core installs vitest and all devDeps without error on both Node 20 and 22

https://claude.ai/code/session_014nwGwbkvaV8wvmb7xQmAy9

claudeup-core was removed from tools/pnpm-workspace.yaml but the
workspace lockfile (tools/pnpm-lock.yaml) still contained claudeup-core
as an importer. This mismatch caused `pnpm install` to fail in CI with
a lockfile inconsistency error (runs 23779059727, 23778999927, and older).

Adding claudeup-core back to pnpm-workspace.yaml aligns the workspace
definition with the existing workspace lockfile, which already contains
all of claudeup-core's dependencies including vitest and @vitest/coverage-v8.

Fixes: Test Plugins CI failures on main (since 2026-03-28)

https://claude.ai/code/session_014nwGwbkvaV8wvmb7xQmAy9
erudenko added a commit that referenced this pull request Mar 31, 2026
…n version sync

Three root causes for persistent Test Plugins CI failures:

1. pnpm workspace interference: tools/pnpm-workspace.yaml only lists
   'skills-api'. pnpm traverses up from tools/claudeup-core and finds this
   config, skipping claudeup-core's own deps. Fix: --ignore-workspace.

2. pnpm-lock.yaml in tools/claudeup-core is missing vitest and
   @vitest/coverage-v8 entirely (they are in package.json devDependencies
   but were never committed to the lockfile). With --ignore-workspace pnpm
   reads the local frozen lockfile and never installs vitest →
   'sh: vitest: not found'. Fix: --no-frozen-lockfile so pnpm installs from
   package.json directly.

3. kanban version mismatch: plugins/kanban/plugin.json is 1.1.0 but
   .claude-plugin/marketplace.json still listed 1.0.0. The marketplace-sync
   integration test catches this. Fix: bump to 1.1.0 in marketplace.json.

Supersedes PR #6 (which fixed #1 and #3 but not #2)."
Copy link
Copy Markdown
Member Author

Closing as superseded by PR #8 (fix/ci-vitest-lockfile-and-kanban-version), which correctly addresses all three root causes (pnpm workspace interference, vitest missing from lockfile, kanban version mismatch) and has passing CI.


Generated by Claude Code

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