Skip to content

docs(pipecat-cloud): document that min-agents changes apply asynchronously (T-3351) - #1089

Open
jamsea wants to merge 4 commits into
mainfrom
docs/pcc-min-agents-async-scale-up-t3351
Open

docs(pipecat-cloud): document that min-agents changes apply asynchronously (T-3351)#1089
jamsea wants to merge 4 commits into
mainfrom
docs/pcc-min-agents-async-scale-up-t3351

Conversation

@jamsea

@jamsea jamsea commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Why

A customer raised min-agents on their agent, waited 5 seconds, then started dialing. They got repeated 18 to 26 second cold starts and could not work out why, because their scaling config looked right.

The reason: a min-agents change is applied asynchronously. The successful response means the change was accepted, not that the new reserved instances exist or are ready to take a session. There is no readiness gate on that response. Their calls raced the scale-up.

Nothing in the public docs said this, and nothing told a customer how to check when the new reserved instances are actually ready. The ~30 second warm-up delay was already documented for idle agents on the capacity planning page, but it was never connected to a min-agents change.

Searchability

The new section names the symptom a customer actually sees ("unexpected cold starts right after raising min-agents") so it turns up in search and in Kapa answers.

…ously (T-3351)

Raising min-agents returns a success response as soon as the change is
accepted. It does not mean the new reserved instances exist or are ready.
Customers who raise min-agents and then dial a second later race the
scale-up and get cold starts.

Adds a "Changing min-agents at Runtime" section to the capacity planning
guide with the poll-before-traffic recipe (reconciledDeploymentId ==
desiredDeploymentId, ready, readyReplicas minus activeSessionCount), plus
a warning on the scaling page and a note on the CLI --min-agents param.
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Mintlify preview for this branch: https://daily-docs-pcc-min-agents-async-scale-up-t3351.mintlify.site

Reverts the scaling.mdx and deploy.mdx changes. Keeps only a short tip on
the capacity planning page: raise min-agents minutes ahead of traffic, and
note that the change applies asynchronously.

Refs T-3351

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to close a Pipecat Cloud documentation gap by clarifying that raising min-agents does not make new warm instances immediately available, so traffic sent “seconds later” can still experience cold starts.

Changes:

  • Added a new callout emphasizing that min-agents updates take effect asynchronously and should be done minutes in advance.
  • Updated the “Time-Based Scaling” strategy bullet to reinforce making the change ahead of traffic.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pipecat-cloud/guides/capacity-planning.mdx
Comment thread pipecat-cloud/guides/capacity-planning.mdx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jamsea jamsea self-assigned this Aug 13, 2026
@jamsea
jamsea requested a review from markbackman August 13, 2026 08:28
@jamsea
jamsea marked this pull request as ready for review August 13, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants