claude-code - 💡(How to fix) Fix [BUG] Scheduled routine stuck on "Setting up a cloud container" indefinitely [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#58719Fetched 2026-05-14 03:41:14
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1renamed ×1unlabeled ×1

Error Message

Actual behavior: Container setup hangs indefinitely. No error is shown. Manual re-triggers also hang.

Error Messages/Logs

Fix Action

Fix / Workaround

Workaround: None available from the user side — had to run the task manually in a local Claude Code session instead.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Scheduled remote agent routines frequently hang at the "Setting up a cloud container" stage and never proceed to execution. The issue is reproducible across multiple manual trigger attempts on the same routine.

What Should Happen?

Expected behavior: Container provisions within a reasonable time (< 2 minutes) and the agent begins executing.

Actual behavior: Container setup hangs indefinitely. No error is shown. Manual re-triggers also hang.

Error Messages/Logs

Steps to Reproduce

Steps to reproduce:

  1. Create a scheduled routine via the Remote Trigger API (action: "run" or via cron schedule)
  2. Navigate to claude.ai/code/routines/{routine_id} to watch execution
  3. Observe the session stuck on "Setting up a cloud container" indefinitely — never advances to running the agent prompt

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.139

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Environment:

  • Environment: Default (env_017AZVJeWMpe5bQZpLCPkehL, kind: anthropic_cloud)
  • Routine ID: trig_01CibKyrUBp6rz4Qco6gP2Ss
  • Observed: May 12–13, 2026
  • Attempted 3+ manual triggers across two days, all hung at container setup

Workaround: None available from the user side — had to run the task manually in a local Claude Code session instead.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Scheduled routine stuck on "Setting up a cloud container" indefinitely [1 comments, 2 participants]