Repository navigation
fix(errors): keep the internal SQL_UNAVAILABLE code out of a published hint - #1495
Conversation
…d hint The SUBSCRIPTION_SEED_FAILED hint named SQL_UNAVAILABLE as an example. That code is internal, and the generated error reference must never publish one, so apps/docs' error-reference test failed on every branch built on alpha. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
✅ Deploy Preview for lunorash ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Thank you for following the naming conventions! 🙏 |
|
Caution Review failedThe pull request is closed.
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. |
PR Summary by QodoRemove an internal error code from the published subscription hint
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can turn these tips off under Display > Comment parts |
|
🎉 This has been released 🎉 alpha |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## alpha #1495 +/- ##
==========================================
- Coverage 83.97% 83.89% -0.08%
==========================================
Files 2089 2074 -15
Lines 126052 124466 -1586
Branches 32259 32035 -224
==========================================
- Hits 105855 104424 -1431
+ Misses 19447 19303 -144
+ Partials 750 739 -11
🚀 New features to boost your workflow:
|
Merging this PR will regress 1 benchmark1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Summary
The
SUBSCRIPTION_SEED_FAILEDhint inpackages/errors/src/hints.tsnamed the internal codeSQL_UNAVAILABLEas an example. The generated error reference (errors.mdx) must never publish an internal code, soapps/docs'error-reference.test.ts › never publishes an internal codefails onalphaand on every PR built on it (#1483, #1487, #1488, #1489, #1492, #1494).This PR drops the example code from the hint and regenerates
errors.mdx.Test plan
apps/docserror-reference.test.ts: 8/8 pass@lunora/errorstests: 982/982 passgenerate-error-reference.jsregenerated (213 published codes)🤖 Generated with Claude Code