-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Performance: Fix empty results handling in performance test results #47646
Conversation
Size Change: 0 B Total Size: 1.31 MB ℹ️ View Unchanged
|
Flaky tests detected in 1bb768e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4064323730
|
I'm not sure it fixed it? I don't see this branch reported |
Nope, unfortunately it didn't. But I have another fix coming in a second. |
Here's the fix: #47650. Seems like we inadvertently removed the reduce initial value. |
What?
This PR is adding handling for non-objects in the performance test results logger script.
Why?
I think we broke the performance results with #47600. I believe this PR should fix them.
How?
We're adding a fallback to an empty object to handle the case of no performance results for the specified hash.
Testing Instructions
Similar to #47442 😅