You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Swarming] Adds Response proto & discards tasks with missing dimensions (#5289)
## Overview
It was request for me to add a log to easily debug when swarming
scheduled a task, but i noticed we didnt had the protos for parsing the
response, hence i added them.
Also this PR handles an edge case in which swarming will not return a
task_id if the tasks wasn't scheduled due to swarming related issues(not
request, nor pc contract).
#### Background
This PR comes from a discussion & agreement to a required change from
this [PR](#5277)
## Changes
- Adds the missing swarming_task_response proto
- Ran `protos/generate.sh` which updated a ton of files
- The swarming service now marks tasks as not scheduled when no task_id
is found, task_id cannot be found if swarming didn't queue the task,
because of wrong dimensions or other swarming internal reasons
- As the `count_tasks()` api method, now the `push_task()` will also
only raise `SwarmingAPIErrors`
---------
Co-authored-by: Titouan Rigoudy <titouan@chromium.org>
0 commit comments