-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Heartbeat] Report first synth error on summary #24194
Conversation
Fixes elastic/kibana#92066 Prior to this for the summary.error field for browser events we'd report the last encountered error. We now report the first. This prevents the issue where on a failing run the synthetics library considers an exit status of 1 to be an error. This will always be the case when a step fails, meaning that the last error will always be a status code error stepping on the actual step error.
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
Pinging @elastic/uptime (Team:Uptime) |
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.
Simple enough, looks good.
Fixes elastic/kibana#92066 Prior to this for the summary.error field for browser events we'd report the last encountered error. We now report the first. This prevents the issue where on a failing run the synthetics library considers an exit status of 1 to be an error. This will always be the case when a step fails, meaning that the last error will always be a status code error stepping on the actual step error. (cherry picked from commit c5821d9)
Fixes elastic/kibana#92066 Prior to this for the summary.error field for browser events we'd report the last encountered error. We now report the first. This prevents the issue where on a failing run the synthetics library considers an exit status of 1 to be an error. This will always be the case when a step fails, meaning that the last error will always be a status code error stepping on the actual step error. (cherry picked from commit c5821d9)
Fixes elastic/kibana#92066 Prior to this for the summary.error field for browser events we'd report the last encountered error. We now report the first. This prevents the issue where on a failing run the synthetics library considers an exit status of 1 to be an error. This will always be the case when a step fails, meaning that the last error will always be a status code error stepping on the actual step error. (cherry picked from commit c5821d9)
Fixes elastic/kibana#92066 Prior to this for the summary.error field for browser events we'd report the last encountered error. We now report the first. This prevents the issue where on a failing run the synthetics library considers an exit status of 1 to be an error. This will always be the case when a step fails, meaning that the last error will always be a status code error stepping on the actual step error. (cherry picked from commit c5821d9)
Fixes elastic/kibana#92066
Prior to this for the summary.error field for browser events we'd report the last encountered error. We now report the first. This
prevents the issue where on a failing run the synthetics library considers an exit status of 1 to be an error. This will always be the
case when a step fails, meaning that the last error will always be a status code error stepping on the actual step error.
No changelog required because this bug should only be present in 7.12
Checklist
- [ ] I have made corresponding changes to the documentation- [ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
Run synthetics with a failing test against this branch. In the Uptime UI, on the monitor overview page, the error shown should be the first failing step.
Related issues
Use cases
Screenshots
Logs