claude-code - 💡(How to fix) Fix [BUG] Scheduled routines hang indefinitely on "Clone repository" step

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…

Scheduled routines (CCR) get stuck indefinitely on the "Setting up a cloud container" phase, specifically at the "Clone repository" step. No cancel/stop button is available in the UI.

Error Message

The routine should complete the "Clone repository" step within 1-2 minutes and proceed to execute the agent prompt. If cloning fails, it should show an error and allow the user to retry or cancel the run.

Error Messages/Logs

Root Cause

Scheduled routines (CCR) get stuck indefinitely on the "Setting up a cloud container" phase, specifically at the "Clone repository" step. No cancel/stop button is available in the UI.

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?

Description

Scheduled routines (CCR) get stuck indefinitely on the "Setting up a cloud container" phase, specifically at the "Clone repository" step. No cancel/stop button is available in the UI.

Steps to reproduce

  1. Create a scheduled routine via /schedule with a private GitHub repository as source
  2. Trigger a manual "Run now"
  3. UI shows: Setting up a cloud container → Clone repository → hangs indefinitely

Actual behavior

Hangs on "Clone repository" for 30+ minutes. Starting a second run also hangs. Multiple users reported the same issue in the same ~2 hour window (2026-05-24 ~10:55–12:00 UTC), suggesting a platform-wide outage.

Details

  • Repository size: ~1.1 MB (very small), PAT confirmed valid with full repo scope
  • Environment: Default (anthropic_cloud)
  • Routine ID: trig_01BNTRYgHrFSfeoHMXCq1dbS

Additional notes

No cancel/stop action exists in the RemoteTrigger API, making it impossible to abort stuck runs programmatically. A cancel button in the UI would help.

What Should Happen?

The routine should complete the "Clone repository" step within 1-2 minutes and proceed to execute the agent prompt. If cloning fails, it should show an error and allow the user to retry or cancel the run.

Error Messages/Logs

Steps to Reproduce

  1. Create a scheduled routine via /schedule with a private GitHub repository as source
  2. Trigger a manual "Run now"
  3. UI shows: Setting up a cloud container → Clone repository → hangs indefinitely

Actual behavior

Hangs on "Clone repository" for 30+ minutes. Starting a second run also hangs. Multiple users reported the same issue in the same ~2 hour window (2026-05-24 ~10:55–12:00 UTC), suggesting a platform-wide outage.

Details

  • Repository size: ~1.1 MB (very small), PAT confirmed valid with full repo scope
  • Environment: Default (anthropic_cloud)
  • Routine ID: trig_01BNTRYgHrFSfeoHMXCq1dbS

Additional notes

No cancel/stop action exists in the RemoteTrigger API, making it impossible to abort stuck runs programmatically. A cancel button in the UI would help.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.150

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

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