Skip to content

rad deploy can run for hours without timing out #12595

Description

@willtsai

Steps to reproduce

  1. Configure an application deployment workflow that uses Radius.
  2. Run rad deploy as part of the workflow.
  3. Encounter a deployment operation that does not complete normally.
  4. Observe that rad deploy continues waiting without an apparent timeout.

Example workflow job: https://github.com/willtsai/aks-store-demo/actions/runs/30588288843/job/91024711426

Observed behavior

The rad deploy command appears to wait indefinitely when the deployment does not complete. In the example GitHub Actions run, the deployment workflow continued for more than two hours before eventually failing. This ties up the workflow runner and delays actionable failure feedback.

Desired behavior

rad deploy should enforce a reasonable timeout, or provide a configurable timeout option, for deployment operations. When the timeout is reached, the command should exit with a non-zero status and a clear error identifying the timed-out deployment or resource. The workflow should not remain blocked for multiple hours by default.

Workaround

No workaround identified other than configuring an external timeout at the workflow step or job level.

rad Version

Not captured in the referenced workflow run.

Operating system

GitHub-hosted Actions runner; exact operating system and architecture were not captured.

Additional context

Example failure: https://github.com/willtsai/aks-store-demo/actions/runs/30588288843/job/91024711426

The referenced job details were not accessible through the available API, so the exact command output and final error are not included here.

Metadata

Metadata

Assignees

Labels

bugSomething is broken or not working as expectedgithub-copilottriagedThis issue has been reviewed and triaged

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions