feat: better error diagnostics - #568
Conversation
Signed-off-by: Giles Cope <gilescope@gmail.com>
There was a problem hiding this comment.
Code Review
This pull request introduces an exitCodeDiagnostic helper function to provide detailed troubleshooting tips when a command fails with exit code 126, and includes unit tests to verify this functionality. The feedback suggests refactoring the conditional block in main.go to avoid using an if statement with an initializer, declaring the diagnostic variable on a separate line instead.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
➖ Are we earthbuild yet?No change in "earthly" occurrences 📈 Overall Progress
Keep up the great work migrating from Earthly to Earthbuild! 🚀 💡 Tips for finding more occurrencesRun locally to see detailed breakdown: ./.github/scripts/count-earthly.shNote that the goal is not to reach 0. |
A mechanism for being more explicit about what the causes of an error might be.