Skip to content

Commit 43c59bd

Browse files
Merge pull request #8089 from MicrosoftDocs/users/sdanie/297486
Update MDP 2 day job limit
2 parents c03e417 + bf8d863 commit 43c59bd

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/managed-devops-pools/configure-scaling.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Configure scaling
33
description: Learn the different performance options for Managed DevOps Pools and their impact on agent performance.
4-
ms.date: 06/13/2025
4+
ms.date: 07/03/2025
55
---
66

77
# Configure scaling
@@ -142,6 +142,9 @@ When **Same agent can be used by multiple builds** (`"kind": "stateful"` in reso
142142

143143
* **Max time to live for standby agents** (`maxAgentLifetime`) configures the maximum duration an agent in a stateful pool can run before it is shut down and discarded. The format for **Max time to live for standby agents** is `dd.hh:mm:ss`. The default value of **Max time to live for standby agents** is set to the maximum allowed duration of seven days (`7.00:00:00`).
144144

145+
> [!IMPORTANT]
146+
> If a job is running when the **Max time to live for standby agents** interval expires, the agent won't shut down until the job completes, unless the job takes longer than two days to run. Individual jobs in Managed DevOps Pools can run for a maximum of two days, even if they are running on a standby agent with more than two days configured for **Max time to live for standby agents**. Contact support if your workflow requires running a single job that takes more than two days to complete.
147+
145148
* **Grace Period** (`gracePeriodTimeSpan`) configures the amount of time an agent in a stateful pool waits for new jobs before shutting down after all current and queued jobs are complete. The format for **Grace Period** is `dd.hh:mm:ss` and the default is no grace period.
146149

147150
While agents in stateless pools are shut down and discarded after every job, agents in stateful pools continue running if any of the following conditions are met.
@@ -888,7 +891,7 @@ If you don't know your usage patterns and want to rely on automatic forecasting
888891

889892
## Lifecycle of agents and potential delays in allocation
890893

891-
Standby agents using a [Stateless](#stateless-pools) scheme require the Azure Pipelines agent to be installed and configured before transitioning from the [ready](./view-agents.md#status) state to the [allocated](./view-agents.md#status) state and running a pipeline. When provisioning new agents, Managed DevOps Pools attempts to download the latest [Azure Pipelines agent](https://github.com/microsoft/azure-pipelines-agent/releases) in order to have it already downloaded on standby agents before they transition into ready status. Startup, connection, and beginning the job can take anywhere from 10 seconds to a minute depending on the pool's SKU speed, image used, and networking load. Additionally, certain settings in a pipeline job can cause a redownload and running of a different agent, and regressions and rollbacks of the agent can also cause a redownload of the agent. [Ready agents](./view-agents.md#status) will always have a potential delay, as Managed DevOps Pools uses this agent in an "ephemeral" manner, meaning we start and run the task agent one time per job.
894+
Standby agents using a [Stateless](#stateless-pools) scheme require the Azure Pipelines agent to be installed and configured before transitioning from the [ready](./view-agents.md#status) state to the [allocated](./view-agents.md#status) state and running a pipeline. When Managed DevOps Pools provisions new agents, it attempts to download the latest [Azure Pipelines agent](https://github.com/microsoft/azure-pipelines-agent/releases) in order to have it already downloaded on standby agents before they transition into ready status. Startup, connection, and beginning the job can take anywhere from 10 seconds to a minute depending on the pool's SKU speed, image used, and networking load. Additionally, certain settings in a pipeline job can cause a redownload and running of a different agent, and regressions and rollbacks of the agent can also cause a redownload of the agent. [Ready agents](./view-agents.md#status) will always have a potential delay, as Managed DevOps Pools uses this agent in an "ephemeral" manner, meaning we start and run the task agent one time per job.
892895

893896
If you are seeing delays in ready agents picking up jobs from Azure DevOps, the following are important to consider:
894897

docs/managed-devops-pools/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Managed DevOps Pools Overview
33
description: Learn about Managed DevOps Pools.
4-
ms.date: 03/25/2025
4+
ms.date: 07/03/2025
55
ms.topic: overview
66
#Customer intent: As a platform engineer, I want to understand the benefits of using Managed DevOps Pools.
77
---
@@ -21,7 +21,7 @@ Manage DevOps Pools:
2121
* Has agents in the geographical region closest to your dependencies
2222
* Scales up and down based on your configuration
2323
* Can maintain state of your agents up to seven days, so your builds are faster due to cache hits
24-
* Can run long running workflows up to two days long
24+
* Can run long running workflows up to two days long. Contact support if your workflow requires running a single job that takes more than two days to complete.
2525
* Can access resources in your company network or isolate your workload to only access specific endpoints
2626
* Can create agents that have the same software as Azure Pipelines Microsoft-hosted agents
2727
* Can view all active agents and the status of agent provisioning and reimaging

0 commit comments

Comments
 (0)