Repository navigation
Retire destroy and log from the composer command family - #253
Merged
wmadden-electric merged 2 commits intoAug 22, 2026
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
wmadden
approved these changes
Aug 22, 2026
The 2026-08-21 PM review dropped destroy and log from the surface the prisma bin mounts, and prisma-cli has been filtering them out of the family (COMPOSER_DROPPED_COMMANDS). createComposerFamily() now ships deploy and dev only, with no redirects, so hosts can mount it as-is. The retirement applies to the family, not to prisma-composer itself: createComposerCli mounts the destroy and log definitions on top of the family, so the bin's surface is unchanged (deploy, destroy, dev, log). dev's help drops its 'run `log <entry>`' pointer — that text also renders under the prisma bin, where log doesn't exist. Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
…was missing A bare destroy is an error — the script could never have succeeded; its siblings all pass --production. Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
wmadden-electric
force-pushed
the
claude/retire-destroy-log-commands-4c1e3e
branch
from
August 22, 2026 08:44
38b98d5 to
995931b
Compare
Merged
4 tasks done
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.
The 2026-08-21 PM review dropped
destroyandlogfrom the surface theprismabin mounts, and prisma-cli has been re-wrapping composer's family to filter them out (COMPOSER_DROPPED_COMMANDS). This makes the family stop shipping them, so hosts can mount it as-is — whileprisma-composeritself keeps all four commands.What changed
createComposerFamily()now mountsdeployanddevonly, with no redirects — asserted in tests.createComposerCli()mounts thedestroyandlogdefinitions on top of the family, so composer's own bin surface is unchanged:deploy,destroy,dev,log. The programmatic@prisma/composer/controloperations are untouched.dev's help no longer says "runlog <entry>" — that command definition renders on theprismasurface too, wherelogdoesn't exist.destroy/log), exceptexamples/cron's destroy script, which gains the--productiontarget it was missing — a baredestroywas already an error.Verification
createComposerFamily().commands=['deploy', 'dev'],redirects=[]; a new test runs the real bin's--helpand asserts all four usage lines.@internal/cli: 256 tests pass. Process-levelcli.engine-shell.test.ts: 7 pass (bin help lists all four).pnpm lint,check:family-static-graph,check:skill-packagingpass. Fullpnpm testis green except environment-dependent emulator/Next.js integration tests that fail identically on the clean baseline.Out of scope
@prisma/cli-enginepin is untouched.COMPOSER_DROPPED_COMMANDS(ledger: "Upstream family cleanups" in.drive/projects/prisma-cli-v8/deferred.md).🤖 Generated with Claude Code