[build-tools] - Add additional known error categories to build error handlers#3673
Open
AbbanMustafa wants to merge 3 commits intomainfrom
Open
[build-tools] - Add additional known error categories to build error handlers#3673AbbanMustafa wants to merge 3 commits intomainfrom
AbbanMustafa wants to merge 3 commits intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3673 +/- ##
==========================================
+ Coverage 56.24% 56.52% +0.29%
==========================================
Files 879 886 +7
Lines 37988 38210 +222
Branches 7899 7950 +51
==========================================
+ Hits 21363 21596 +233
+ Misses 16527 16516 -11
Partials 98 98 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Subscribed to pull request
Generated by CodeMention |
|
⏩ The changelog entry check has been skipped since the "no changelog" label is present. |
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.
Why
~49% of EAS Build errors are considered unknown because they don't match any pattern in the build error handler system. Analysis of ~9,000 events over 5 days identified 12 high-volume patterns accounting for ~5,600 of these unclassified events. Categorizing these helps us break down patterns, and catch new regressions.
How
Added 9 new
buildErrorHandlerentries for internal Datadog tracking. These only settrackingCode— user-facingerrorCoderemains unchanged, so there is no change to user-facing behavior.New tracking codes (by volume):
NPM_ERESOLVE— npm peer dependency resolution failuresMETRO_UNABLE_TO_RESOLVE— Metro module resolution failuresPNPM_ERROR— pnpm install errorsPREBUILD_DANGEROUS_MOD_ENOENT— missing files in dangerous base mods (non-icon)SYNTAX_ERROR— JavaScript/JSON syntax errorsMONOREPO_PACKAGE_JSON_NOT_FOUND— missing package.json in monoreposEXPO_CONFIG_ERROR— Expo config validation errorsRUNTIME_VERSION_MISMATCH— expo-updates runtime version issuesCONFIG_PLUGIN_RESOLVE_ERROR— failed config plugin resolutionTest Plan
yarn jest-unit src/buildErrors/__tests__/detectError.test.ts)