-
Notifications
You must be signed in to change notification settings - Fork 1.1k
wrangler: clearer user-facing error for self-signed cert issues #11615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 29d6fd9 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the Depending on your changes, running Notes:
|
petebacondarwin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but I do think this should be back ported.
dbacc2b to
29d6fd9
Compare
|
@claude review this |
|
Claude finished @petebacondarwin's task —— View job Code Review Complete ✅Todo List:
Review FeedbackThis is a solid implementation that addresses a real user pain point. The code is well-structured, thoroughly tested, and follows good practices. ✅ StrengthsClear Problem Definition: The SSL certificate error messages are well-documented with descriptive constants ( Comprehensive Error Detection: The Excellent Test Coverage: The test suite (
User-Friendly Messaging: The warning text is clear, actionable, and explains both the problem and solution without being overly technical. Non-Invasive Implementation: The warning is added without disrupting existing error handling flow - original errors are still logged normally. 🔍 Minor ObservationsConsistent Placement: The certificate error check is logically placed early in the error handling flow ( String Matching Approach: Using 📝 Changeset QualityThe changeset properly categorizes this as a Overall Assessment: This PR effectively solves a common user experience problem with minimal risk and good engineering practices. The implementation is ready for merge. |
|
@petebacondarwin I'm glad Claude liked it because Claude (Opus 4.5) wrote it 😉 |
* wrangler: clearer user-facing error for self-signed cert issues * wrangler: add changeset for this
This PR adds a more useful, actionable error message when wrangler runs into self-signed certificate issues. Right now, the "self-signed" (and related) error emitted from Node.js is unclear to users who are just using a computer and not TLS/SSL/system root aware experts.
Generated via opencode with the following initial prompt (and minimal additional changes):
cc @fisherdarling :-)
A picture of a cute animal (not mandatory, but encouraged)