How priority scheduling works
When Cyberdesk assigns queued runs to machines, it evaluates currently eligible priority runs before normal runs:- Priority runs with a specific machine requirement
- Priority runs that can use any eligible machine
- Normal runs with a specific machine requirement
- Normal runs that can use any eligible machine
Priority only changes the order of eligible queued work. Machine availability, pool membership, connection state, and other matching requirements still apply.
Sessions and chains keep their order
Priority does not let a later run skip an earlier run in the same session or chain. If step two is marked as priority while step one is still queued, step two remains blocked until step one is assigned and completed according to the normal session sequence. For chain creation, oneis_priority value applies to every step in the chain. The steps still execute in their declared order.
Create a priority run
Setis_priority to true when creating a run. The field defaults to false.
- Dashboard
- HTTP
- TypeScript
- Python
In the new run dialog, select Priority run. The same checkbox is available for single runs, bulk runs, and chains.Priority runs are identified in the runs table and on the run detail page.
Bulk runs and chains
Bulk creation applies the value to every run in the request:Retries
An in-place retry preserves the run’s current priority by default. You can also promote or demote the run for its next scheduling attempt by includingis_priority in the retry request.