Title: CI: roles module not available through workspace - squad-cli depends on published npm version · Issue #455 · github/squad · GitHub
Open Graph Title: CI: roles module not available through workspace - squad-cli depends on published npm version · Issue #455 · github/squad
X Title: CI: roles module not available through workspace - squad-cli depends on published npm version · Issue #455 · github/squad
Description: Problem 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. Imp...
Open Graph Description: Problem 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 includ...
X Description: Problem 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 in...
Opengraph URL: https://github.com/github/squad/issues/455
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI: roles module not available through workspace - squad-cli depends on published npm version","articleBody":"## Problem\n\nThe 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.\n\n## Impact\n\nAny PR targeting main that builds the CLI will fail with:\n\n error TS2305: Module '@bradygaster/squad-sdk' has no exported member 'listRoles'\n\nThe 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.\n\n## Root Cause\n\nIn packages/squad-cli/package.json, the dependency is pinned to the npm registry version:\n\n \"@bradygaster/squad-sdk\": \"0.8.25\"\n\nInstead 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.\n\n## Fix\n\nEither:\n1. Change the CLI dependency to use workspace protocol so npm links to local source\n2. Publish a new version of @bradygaster/squad-sdk that includes the roles module\n\n## Blocked PRs\n\n- #454 (token usage tracking) - CI fails on this pre-existing issue\r\n","author":{"url":"https://github.com/spboyer","@type":"Person","name":"spboyer"},"datePublished":"2026-03-19T03:01:25Z","url":"https://github.com/github/squad/issues/455"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b12e4a5e-dd72-803f-2b33-659e106ff888 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A878:3D97C8:1FAA620:2A1648C:6B01799F |
| html-safe-nonce | 5e5fbdb9c046bf02525e6f61976f9f8b6bd9db49997cabba0db72a92fe726ded |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODc4OjNEOTdDODoxRkFBNjIwOjJBMTY0OEM6NkIwMTc5OUYiLCJ2aXNpdG9yX2lkIjoiNzg1ODAyNDIxNzU0MTk2NjI0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 91835788e77403a5e803060b937724744aecb15c4cc9114fd0789fdd569c0c35 |
| hovercard-subject-tag | issue:4098954704 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/455/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1d423072ec319db478c0017936c5f64726e40c4a4e056138b239fe51f36fa26f/github/squad/issues/455 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d423072ec319db478c0017936c5f64726e40c4a4e056138b239fe51f36fa26f/github/squad/issues/455 |
| og:image:alt | Problem 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 includ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | spboyer |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width