Closed PhilippeOberti closed 1 week ago
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)
Fewer modules leads to a faster build time
id | before | after | diff |
---|---|---|---|
securitySolution |
5458 | 5459 | +1 |
Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app
id | before | after | diff |
---|---|---|---|
securitySolution |
17.4MB | 16.8MB | -604.4KB |
Size of the bundles that are downloaded on every page load. Target size is below 100kb
id | before | after | diff |
---|---|---|---|
securitySolution |
82.7KB | 82.7KB | -14.0B |
To update your PR or re-run it, just comment with:
@elasticmachine merge upstream
Status | Branch | Result |
---|---|---|
❌ | 8.14 | Backport failed because of merge conflicts |
To create the backport manually run:
node scripts/backport --pr 181894
Please refer to the Backport tool documentation
Status | Branch | Result |
---|---|---|
✅ | 8.14 |
Note: Successful backport PRs will be merged automatically after passing CI.
Please refer to the Backport tool documentation
Summary
While making a very small change to the note_previews component (see pending PR), I noticed some jest tests failing. Those tests seem to be completely unrelated to the changes made in the PR... After investigation, the issues comes from the
DocumentDetailsRightPanelKey
constant that we import. There must be some sort of circular dependency, or something Webpack isn't happy about...This current PR only extracts those constants to a separate file. This fixes the jest tests failing in the PR mentioned above. Absolutely no code changes are implemented, other than extracting the constants and updating all the imports.
Will help merge this, so indirectly addresses this bug