Blocklist: show in web interface #99393

Closed
opened 2022-07-04 14:30:34 +02:00 by Sybren A. Stüvel · 4 comments

The blocklist should be shown in the web interface, and it should be possible to remove items from the list.

Each job has a blocklist, which is a list of (worker ID, task type) entries. Workers are listed on the job's blocklist if they fail a certain type of task three times.

The job's blocklist should be shown in the web interface, so that it's clear

  • Which job has a blocklist, and
  • which workers are failing.

After the source of failure has been resolved, these entries should be removable.

The blocklist can be obtained with

jobsAPI.fetchJobBlocklist(job_id)

.then((blocklist) => { … code to handle the list … }
.catch(… code to handle errors …);

See existing code on how to get the jobsAPI object.


As a follow-up task, it might be interesting to implement this from the worker's point of view as well, and display a list of (job, task type) entries.

The blocklist should be shown in the web interface, and it should be possible to remove items from the list. Each job has a *blocklist*, which is a list of (worker ID, task type) entries. Workers are listed on the job's blocklist if they fail a certain type of task three times. The job's blocklist should be shown in the web interface, so that it's clear - Which job has a blocklist, and - which workers are failing. After the source of failure has been resolved, these entries should be removable. The blocklist can be obtained with ```lang=js jobsAPI.fetchJobBlocklist(job_id) ``` .then((blocklist) => { … code to handle the list … } .catch(… code to handle errors …); ``` ``` See existing code on how to get the `jobsAPI` object. ---------------- As a follow-up task, it might be interesting to implement this from the worker's point of view as well, and display a list of (job, task type) entries.
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sybren A. Stüvel self-assigned this 2022-08-01 18:57:01 +02:00
Author
Owner
Implemented in - 404dbc5b - 11e5363d - 1469345f - 023d3925 - 9d65f6f4 - b6d8882b - f3aab861 - e6f76f52
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#99393
No description provided.