[BUG] Routines: no way to stop/cancel a running scheduled session

Open 💬 3 comments Opened May 4, 2026 by AlexvandenBerg

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?

Problem

When a scheduled Routine run gets stuck or runs unexpectedly long, there is no way
to kill it — neither from the Routines UI (no Stop/Cancel button on a running run)
nor programmatically (TaskStop only works for tasks spawned within the current session).

Current behavior

  • The Routines UI shows the run as active but offers no cancel action.
  • TaskStop requires a task_id that is not exposed for remote scheduled sessions.
  • The run from May 1 has been stuck for 3+ days with no way to terminate it.

Expected behavior

  • A Stop / Cancel button on any active run in the Routines UI.
  • Or: expose the task_id of a running routine session so it can be stopped via TaskStop.

Environment

  • Claude Code desktop app / Routines feature
  • OS: Windows 11 Pro

What Should Happen?

There should be an option to kill a running routine.

Error Messages/Logs

n.a.

Steps to Reproduce

Hard to reproduce. This was caused while setting up my first routine.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude 1.5354.0 (9a9e3d) 2026-04-29T01:14:34.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="1917" height="1090" alt="Image" src="https://github.com/user-attachments/assets/d8fe69af-87eb-4fb2-b935-2f62394e95fd" />

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗