DataDog / datadog-ci

Use Datadog from your CI.
https://datadoghq.com
Apache License 2.0
129 stars 55 forks source link

[SYNTH-16456] Postpone reporting results on 404 #1480

Closed Drarig29 closed 4 weeks ago

Drarig29 commented 1 month ago

What and why?

There is sometimes some latency between batches and the poll results endpoint. When this happens, the poll results endpoint may return a 404 error because some queried results cannot be found, so the request ends up returning nothing.

Currently, we retry 3 times on 404 errors for that endpoint, and if the request never succeeds, datadog-ci quits and the CI fails.

How?

Review checklist

datadog-datadog-prod-us1[bot] commented 1 month ago

Datadog Report

Branch report: corentin.girard/SYNTH-16456/incomplete-results-when-poll-result-404 Commit report: a91b3fa Test service: datadog-ci-tests

:white_check_mark: 0 Failed, 1640 Passed, 0 Skipped, 1m 57.02s Total duration (1m 33.05s time saved)