deploy and dev stop at the first config problem because loadAppConfigDiagnostics has no callers
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 76/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
Research direction
Start with packages/0-framework/3-tooling/cli/src/load-config.ts and pipeline.ts, then trace how deploy and dev reach the loader through runPipeline. Confirm the diagnostics loader's behavior and identify existing tests for config loading or pipeline execution. Done means the pipeline uses loadAppConfigDiagnostics, the unused throwing loader and obsolete comment are removed, and deploy and dev report all config problems together.
Written by the indexing model from the issue text.
Description
loadAppConfigDiagnostics in packages/0-framework/3-tooling/cli/src/load-config.ts returns every config problem as diagnostics instead of throwing on the first. Nothing calls it: pipeline.ts uses the throwing loadAppConfig, and both deploy and dev reach it through runPipeline. So users fix config errors one at a time. The comment in load-config.ts says the throwing loader stays for the clipanion CLI, but clipanion is gone. Switch the pipeline to the diagnostics loader and delete the throwing one.
Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out: https://github.com/prisma/prisma-cli/blob/4356b361adf7044bae59aa0bc70340eda89fdad6/.drive/projects/prisma-cli-v8/deferred.md#L71
🤖 Generated with Claude Code
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 2
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 33
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from prisma/composer
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 67/100
Maintainers usually reply within 1 day
Similar issues
-
agent/guide documentation help wanted stage/010-actionable
Difficulty 1/5 Under an hour Newbie friendliness 82/100
kubestellar/console-marketplace#1101 ·
Maintainers usually reply within 1 day
-
Java Edition Tests
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JSPrismarine/JSPrismarine#4178 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
totec448-spec/chat-on-steroids#2394 ·
Maintainers usually reply within 1 day
-
github_actions
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
StellarHyperion/stellarhyperion-backend#499 ·
Maintainers usually reply within 1 day