Repository navigation
Move T3 sidebar plugin to examples - #1109
Merged
Merged
Conversation
SawyerHood
marked this pull request as ready for review
August 6, 2026 22:02
SawyerHood
commented
Aug 7, 2026
SawyerHood
left a comment
Collaborator
Author
There was a problem hiding this comment.
🚨 SLOP COP 🚨 · review
I am the SlopCop. I am reviewing this pull request under the security, code-quality, performance, architecture, and end-to-end guidelines.
The stack contains only PR #1109. The required two-minute second scan found no later pull request. I skipped no stack pull requests.
SawyerHood
added a commit
that referenced
this pull request
Aug 7, 2026
#1109 moved t3sidebar from plugins/ to examples/plugins/ and updated builtin-plugins and official-plugins tests, but not the catalog route test. Its own CI run was cancelled, so main landed red and every PR branched from it fails Tests (server). The bundled catalog is now 12 plugins, 4 of them optional. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
SawyerHood
added a commit
that referenced
this pull request
Aug 7, 2026
## Summary - Derive `pluginCount`, `includedPluginCount`, and `optionalPluginCount` in `plugin-catalog-routes.test.ts` from the bundled plugin registry instead of hardcoding `13 / 8 / 5`. ## Why CI is red on `main`. Commit f13c2d3 ("Move T3 sidebar plugin to examples", #1109) removed `t3sidebar` from `OFFICIAL_PLUGINS`, so the bundled catalog went from 13 plugins to 12. That PR updated `plugin-catalog-service.test.ts`, which derives its counts from the registry, but it missed the route test, which hardcoded the numbers. ``` AssertionError: expected { catalog: { pluginCount: 12, ... } } to match object { catalog: { pluginCount: 13, ... } } ``` #1109 landed without a green run: its own CI run (31186905645) was cancelled when #1108 pushed on top of it. The route test now uses the same source of truth as the service test, so a future plugin add or remove will not break it again. ## Tests - `pnpm exec turbo run test --filter=@bb/server -- plugin-catalog` — 7 passed. - `pnpm exec turbo run test --filter=@bb/server` — 1336 passed. One unrelated local-only failure in `internal-skill-trees.test.ts`, which asserts file mode `0o644` but writes the file with no explicit `chmod`. It follows the umask, so it fails under umask `0002` and passes on CI runners under `0022`. - `pnpm exec turbo run typecheck --filter=@bb/server` — pass. - CI run 31187487485 on `main`: `Tests (server)` was the only failing job. All other jobs passed. ## Risk Test-only change. No product code is touched. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
amadad
pushed a commit
to amadad/bb
that referenced
this pull request
Aug 14, 2026
## Summary - Move the T3 sidebar plugin from `plugins/` to `examples/plugins/`. - Remove T3 Sidebar from the bundled official plugin catalog. - Add local icon, select, and style helpers so the example does not use BB's private shared UI package. - Update the plugin guides, reference documents, catalog tests, generated templates, and lockfile. ## Why T3 Sidebar is a reference implementation for the sidebar replacement APIs. It should remain an installable example instead of a bundled product plugin. ## Impact New BB builds will not include T3 Sidebar in the official plugin catalog. Developers can install it from a checkout with: ```sh bb plugin install ./examples/plugins/t3sidebar ``` ## Validation - `pnpm exec turbo run typecheck --filter=bb-plugin-t3sidebar --filter=@bb/server --filter=@bb/templates` - `pnpm exec turbo run test --filter=bb-plugin-t3sidebar --force` - `pnpm exec vitest run --config vitest.config.ts test/services/plugins/official-plugins.test.ts test/services/plugins/builtin-plugins.test.ts` - `pnpm run bb -- plugin build examples/plugins/t3sidebar`
amadad
pushed a commit
to amadad/bb
that referenced
this pull request
Aug 14, 2026
## Summary - Derive `pluginCount`, `includedPluginCount`, and `optionalPluginCount` in `plugin-catalog-routes.test.ts` from the bundled plugin registry instead of hardcoding `13 / 8 / 5`. ## Why CI is red on `main`. Commit f13c2d3 ("Move T3 sidebar plugin to examples", get-bb#1109) removed `t3sidebar` from `OFFICIAL_PLUGINS`, so the bundled catalog went from 13 plugins to 12. That PR updated `plugin-catalog-service.test.ts`, which derives its counts from the registry, but it missed the route test, which hardcoded the numbers. ``` AssertionError: expected { catalog: { pluginCount: 12, ... } } to match object { catalog: { pluginCount: 13, ... } } ``` get-bb#1109 landed without a green run: its own CI run (31186905645) was cancelled when get-bb#1108 pushed on top of it. The route test now uses the same source of truth as the service test, so a future plugin add or remove will not break it again. ## Tests - `pnpm exec turbo run test --filter=@bb/server -- plugin-catalog` — 7 passed. - `pnpm exec turbo run test --filter=@bb/server` — 1336 passed. One unrelated local-only failure in `internal-skill-trees.test.ts`, which asserts file mode `0o644` but writes the file with no explicit `chmod`. It follows the umask, so it fails under umask `0002` and passes on CI runners under `0022`. - `pnpm exec turbo run typecheck --filter=@bb/server` — pass. - CI run 31187487485 on `main`: `Tests (server)` was the only failing job. All other jobs passed. ## Risk Test-only change. No product code is touched. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
plugins/toexamples/plugins/.Why
T3 Sidebar is a reference implementation for the sidebar replacement APIs. It should remain an installable example instead of a bundled product plugin.
Impact
New BB builds will not include T3 Sidebar in the official plugin catalog. Developers can install it from a checkout with:
Validation
pnpm exec turbo run typecheck --filter=bb-plugin-t3sidebar --filter=@bb/server --filter=@bb/templatespnpm exec turbo run test --filter=bb-plugin-t3sidebar --forcepnpm exec vitest run --config vitest.config.ts test/services/plugins/official-plugins.test.ts test/services/plugins/builtin-plugins.test.tspnpm run bb -- plugin build examples/plugins/t3sidebar