The worker configurations modal loads configurations while closed
- Create a process and add a bunch of worker runs.
- Open the dev tools.
- Refresh the page.
- Admire the flood of
/api/v1/workers/<id>/configurations/?page=1in the network logs. - Cry.
You can also get this via the worker results deletion modal, since it also uses the worker configurations modal to show the configuration's details. The list is even less relevant in this case.
ListWorkerRuns and RetrieveWorkerRun already returns all the attributes of a configuration, so no additional API requests should be needed to display it; the configuration modal should only list all configurations when it is opened and not read-only.