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
1 change: 1 addition & 0 deletions changes/11632.enhance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Split route health Valkey record into ReplicaProbeTarget (probe config) and ReplicaHealthStatus (TTL-based result), removing initial_delay from Valkey and switching to DB-based timeout in check_warming_up_health.
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.

The PR title says "fix," but the news fragment says "enhance," so I think we need to standardize this.

3 changes: 2 additions & 1 deletion src/ai/backend/client/cli/v2/deployment/revision.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def add(deployment_id: str, config: str, preset_id: str | None, auto_activate: b
data["deployment_id"] = deployment_id
if preset_id is not None:
data["revision_preset_id"] = preset_id
data["auto_activate"] = auto_activate
if auto_activate:
data.setdefault("options", {})["auto_activate"] = True
body = AddRevisionInput.model_validate(data)

async def _run() -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
HealthCheckStatus,
HealthStatus,
KernelStatus,
RouteHealthRecord,
ValkeyScheduleClient,
)
from .types import ReplicaHealthResult, ReplicaHealthStatus, ReplicaProbeTarget

__all__ = [
"HealthCheckStatus",
"HealthStatus",
"KernelStatus",
"RouteHealthRecord",
"ReplicaHealthResult",
"ReplicaHealthStatus",
"ReplicaProbeTarget",
"ValkeyScheduleClient",
]
Loading
Loading