Repository navigation
Remove low-value CLI, desktop, mobile, and web tests - #4373
Merged
Merged
Conversation
- delete the repository-wide grep for a `bb workflows catalog` command that never existed on main. - delete the Docs and GitHub "official plugin frontend bundle" tests and helpers/plugin-copy.ts. The plugin-forks CI job owns building copied plugins; the Docs registration is asserted by plugins/docs/app.test.tsx; the GitHub nav panel and PR thread tab registration assertions move to plugins/github/app.test.tsx. - delete the integration test of requireEnvironmentMergeBaseBranch (precedence is owned by packages/domain/test/environment.test.ts) and make the helper file-private. - fold the stop/compact/clear/cancel-plan/clear-goal tests into one table; every row fails if the CLI pre-fetches the thread. - delete the createDevTurboCommand literal restatement and un-export it. - delete the `bb thread log` help-string pin. - delete the three manual-runbook prose pins; keep the permission mode cross-check. - delete two server-probe tests contained in their siblings. - delete the SF Symbol source scan and literal restatement that cannot fail while "maps every icon name" passes. - delete the dark-theme SSR test that asserted its own wrapper. - delete the duplicate 503 case and search-serialization.test.ts; the empty-search case moves to marketplace-routes. - assert browser permissions only through the session handlers (now including notifications and geolocation) and un-export the predicate. - test SIGINT and SIGTERM through registerDesktopShutdownSignalHandlers as one table; the register function owns its once-only state, so handleDesktopShutdownSignal and createDesktopShutdownState are no longer exported. - move shellHref and isNativeOnlyShellPath cases onto resolveShellIncomingLink and un-export both helpers. - replace module-derived font expectations with literals and drop the tautological font tests. - fold the three Linux window-factory tests into one table. - fold the eight terminal-open tests into one table. Skipped: none. Co-Authored-By: Claude Opus 5.5 <[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.
Human comments
What was wrong
Several CLI, desktop, mobile, web and integration tests could not fail on their own:
bb workflows catalogcommand that never existed;Others duplicated a stronger test, or kept test-only exports alive.
What changed
Found by a read-only test audit using the repo
test-auditskill (#4361).bb workflows cataloggrep, thebb thread loghelp-string pin and thecreateDevTurboCommandrestatement.createDevTurboCommandis no longer exported.helpers/plugin-copy.ts. The plugin-forks CI job owns building copied plugins. The GitHub nav panel and PR thread-tab registration assertions move toplugins/github/app.test.tsx.packages/domain/test/environment.test.ts) and makes the helper file-private.registerDesktopShutdownSignalHandlers, which now owns its once-only state.shellHrefandisNativeOnlyShellPathcases now run throughresolveShellIncomingLink.marketplace-routes.Production +9/−17, tests +375/−1326.
How you verified
pnpm exec turbo run test lint typecheckpasses for all 9 touched packages, plusbb-plugin-simple-notesand@bb/domain.smoke:browser-cdp,smoke:browser-broker,smoke:packaged,smoke:appimage-lifecycle) pass under xvfb against a built AppImage.@bb/integration-teststest:smokepasses 31/31.🤖 Generated with Claude Code