New issue
Advanced search Search tips

Issue 813412 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

Blocked on:
issue 796757

Blocking:
issue 732804
issue 816601
issue 916548



Sign in to add a comment

Swarming: separate completing and Sealing a task

Project Member Reported by mar...@chromium.org, Feb 18 2018

Issue description

(I was sure I had filed this bug but I can't find it anywhere)

In short, task_runner could mark a task as completed, which would make it so the client can be unblocked, but task_runner would continue with cleanup operations, only later marking the task as sealed once the performance metadata is uploaded.

That requires a fair update to task_scheduler.bot_update_task() and a new task state.
 

Comment 1 by mar...@chromium.org, Feb 26 2018

Blockedon: 796757
Blocking: 732804
keywords: seal, postpone

Expanding the scope a bit. This would enable terminating the task even before removing the isolated tree, named cache, as explained in issue 796757. Then the dual terminate-then-seal API calls would permit correct metadata update (including attaching logs) about the task yet not blocking the client.

Comment 2 by mar...@chromium.org, Feb 26 2018

Blocking: 816601
Blocking: 916548

Sign in to add a comment