Prioritize Tasks

Tasks are run sequentially based on the time they are queued to start. If you have many deployments or runbooks running simultaneously, this can result in a large queue of Tasks. Octopus 2023.4 adds support for prioritizing Tasks that require immediate execution, such as production hotfixes.

Prioritizing Tasks can be done either on the Tasks page or when viewing an individual Task. On the Tasks page, select the overflow menu (...) on a queued task and click Move to Top. If you are viewing an individual Task, click the Move to Top button. Once an executing Task has completed, the prioritized Task will immediately start executing before any other Tasks in the queue.

The Move to Top button prioritizes the selected task above all others. This ensures that urgent tasks, such as hotfixes, can be addressed immediately.

Ensure any other queued deployments to the same environment are cancelled when prioritizing a deployment, otherwise an unexpected version of a release may overwrite the prioritized deployment.

Task queue priority

In Octopus 2024.4 we have redesigned the task system. Tasks are processed based on their priority, in this order:

  • Queued tasks that are moved to the top
  • Tasks created from a prioritized deployment or runbook
  • Regular tasks

Within each category, tasks are handled on a first in, first out basis.

Lifecycle phases

Octopus 2024.4 adds a feature to mark a phase within a lifecycle as a priority. See lifecycle phases with priority for more information.

Help us continuously improve

Please let us know if you have any feedback about this page.

Send feedback

Page updated on Monday, November 11, 2024