Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to **Pipecat Cloud** will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Improved the deployment readiness check to use the latest statuses available
from the Pipecat Cloud backend.

## [0.2.16] - 2025-12-18

### Fixed
Expand Down
9 changes: 6 additions & 3 deletions src/pipecatcloud/cli/commands/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,14 @@ async def _deploy(params: DeployConfigParams, org, force: bool = False):
# @TODO - Implement this

# Check if deployment is ready
# Both the service AND the active deployment must be ready
service_ready = agent_status.get("ready", False)
# For KEDA deployments, we need:
# - available: true (can handle traffic)
# - activeDeploymentReady: true (ReplicaSet is ready)
# The 'available' field falls back to 'ready' if not present (for backwards compatibility)
available = agent_status.get("available", agent_status.get("ready", False))
deployment_ready = agent_status.get("activeDeploymentReady", False)

if service_ready and deployment_ready:
if available and deployment_ready:
is_ready = True
break

Expand Down