[BUG] Scheduled routine stuck on "Setting up a cloud container" indefinitely
Resolved 💬 3 comments Opened May 13, 2026 by noah831 Closed May 17, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] 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:
- Create a scheduled routine via the Remote Trigger API (action: "run" or via cron schedule)
- Navigate to claude.ai/code/routines/{routine_id} to watch execution
- 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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗