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
CI: roles module not available through workspace - squad-cli depends on published npm version #455
The CLI package depends on a fixed version of the SDK (0.8.25) from npm instead of using a workspace reference. This causes npm ci to install the published npm package, which doesn't include the roles module added in PR #369.
Impact
Any PR targeting main that builds the CLI will fail with:
error TS2305: Module '@bradygaster/squad-sdk' has no exported member 'listRoles'
The roles source files exist on main, but the published npm v0.8.25 doesn't include them. CI doesn't run on main pushes (only PRs), so this wasn't caught when #369 was merged.
Root Cause
In packages/squad-cli/package.json, the dependency is pinned to the npm registry version:
"@bradygaster/squad-sdk": "0.8.25"
Instead of a workspace link. When npm ci runs, it installs the published package (which predates the roles module) rather than linking to the local workspace source.
Fix
Either:
Change the CLI dependency to use workspace protocol so npm links to local source
Publish a new version of @bradygaster/squad-sdk that includes the roles module
cc @bradygaster — this is blocking all PRs targeting main. The roles module from #369 was merged but the published npm package doesn't include it, so the CLI build fails. Either a new SDK publish or a workspace link fix would unblock CI.
Issue:#455 — CI: roles module not available through workspace - squad-cli depends on published npm version Assigned to: FIDO (Quality Owner) Reason: Issue relates to testing/quality work
@copilot evaluation: No strong capability match — routed to squad member.
Fixed. CI now auto-removes stale nested workspace entries from package-lock.json before install. Added ci-rerun.yml for manual retrigger on fork PRs. Default branch changed to dev.
Activity
spboyer commentedon Mar 19, 2026
cc @bradygaster — this is blocking all PRs targeting main. The roles module from #369 was merged but the published npm package doesn't include it, so the CLI build fails. Either a new SDK publish or a workspace link fix would unblock CI.
github-actions commentedon Mar 20, 2026
📋 Assigned to GNC (Node.js Runtime)
Issue: #455 — CI: roles module not available through workspace - squad-cli depends on published npm version
GNC will pick this up in the next Copilot session.
github-actions commentedon Mar 20, 2026
🏗️ Squad Triage — Flight (Lead)
Issue: #455 — CI: roles module not available through workspace - squad-cli depends on published npm version
Assigned to: FIDO (Quality Owner)
Reason: Issue relates to testing/quality work
@copilot evaluation: No strong capability match — routed to squad member.
Team roster:
squad:flightsquad:proceduressquad:eecomsquad:fidosquad:paosquad:capcomsquad:controlsquad:surgeonsquad:boostersquad:gncsquad:networksquad:retrosquad:incosquad:guidosquad:telemetrysquad:voxsquad:dskysquad:simssquad:handbooksquad:ralphsquad:copilotgithub-actions commentedon Mar 20, 2026
📋 Assigned to Booster (CI/CD Engineer)
Issue: #455 — CI: roles module not available through workspace - squad-cli depends on published npm version
Booster will pick this up in the next Copilot session.
fix(ci): add edited trigger + lockfile lint for stale workspace entries
bradygaster commentedon Mar 20, 2026
Fixed. CI now auto-removes stale nested workspace entries from package-lock.json before install. Added ci-rerun.yml for manual retrigger on fork PRs. Default branch changed to dev.
fix: exit message includes session summary (github#455) (github#470)