GoogleChrome / chromium-dashboard

Chrome Status Dashboard
https://www.chromestatus.com
Apache License 2.0
633 stars 363 forks source link

Implement the retry logic for OT creation #4098

Closed DanielRyanSmith closed 2 weeks ago

DanielRyanSmith commented 1 month ago

For the automated origin trial creation process, sending the request to the OT API should include retry logic that allows for an idempotent handling of trial creation, even after an initial partial failure. This design is described in the design document.

DanielRyanSmith commented 2 weeks ago

The implementation here will change to no longer use an API structure that allows partial failure and errors, per best practices. Instead, the trial creation step and the subsequent origin trial setup (announcement group creation, ganpati group creation, etc.) will be separated into 2 endpoints on the origin trials API.