Repository navigation
Follow Composer 0.32.0, and list the DEV error codes so their docs links resolve - #356
Open
wmadden-electric wants to merge 2 commits into
Open
wmadden-electric wants to merge 2 commits into
wmadden-electric wants to merge 2 commits into
Conversation
…> 0.32.0; @prisma/composer 0.31.0 -> 0.32.0 Moved with scripts/update-product-versions.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
…r list raise Composer's errors link to the hosted error reference, which is built from this page, and the page had no DEV entries, so those links led nowhere. It now lists DEV.ADDRESS_UNKNOWN, DEV.EMULATOR_FAILED, DEV.EMULATOR_UNREACHABLE, DEV.EMULATORS_DIR_INVALID, DEV.NOT_RUNNING and DEV.NOT_STARTED_HERE, with the summary, why and fix each command prints in Composer 0.32.0. The page already says it lists every code the CLI can emit, so a mounted family's codes belong here. The intro now says so, and says check:error-reference verifies only this repository's codes, so a family's entries are updated by hand with each release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
commit: |
wmadden
approved these changes
Oct 20, 2026
wmadden
approved these changes
Oct 20, 2026
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.
At a glance
The CLI now ships Composer 0.32.0. Composer's own release notes cover what changed in its commands, such as the second
prisma dev stopabove. The docs link in the error now leads to an entry: until this PR, the CLI's error reference had noDEV.*entries, so every docs link in aprisma dev url,prisma dev stoporprisma emulator listerror led to a missing page.The decision
@prisma/composer-cliand@prisma/composermove from 0.31.0 to 0.32.0. I used the repository's own script for following product releases (scripts/update-product-versions.mjs --channel release).docs/reference/error-reference.mdgains aDEVsection with the codes these commands raise:DEV.ADDRESS_UNKNOWNDEV.EMULATOR_FAILEDDEV.EMULATOR_UNREACHABLEDEV.EMULATORS_DIR_INVALIDDEV.NOT_RUNNINGDEV.NOT_STARTED_HEREWhy Composer's codes belong on this page
The page already says it lists every code the CLI can emit, and the hosted error reference is built from it. Composer's errors carry docs links into that hosted reference.
What kept family codes off the page is the completeness check.
pnpm check:error-referencescans only this repository's source, so it never asked for them.The page's introduction now says both things:
Each entry follows the page's existing format. It says when the code is raised, what the error's
whyandfixsay, and whichmetafields it carries. The wording is taken from what Composer 0.32.0 prints.The section opens by defining the words the entries rely on:
Tests
check:grammar,check:error-reference(131 codes),check:skill-packagingand Biome pass.check:conformancepasses with its existing allowed exceptions: Composer 0.32.0 and the ORM toolchain still peer CLI engine 0.7.0, while the shell ships 0.9.0.Not in this PR
Composer raises other
DEV.*codes fromprisma devitself, such asDEV.CONVERGE_FAILEDandDEV.PLATFORM_UNSUPPORTED, andCOMPOSE.*codes fromdeployanddev. The ORM family's codes are not listed either. Those links lead to a missing page today too. This PR covers the codes of the commands #355 added.Agent: attila-51
🤖 Generated with Claude Code