Skip to content

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

Description

@AlexvandenBerg

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?

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

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:routinesClaude Code routines on web, used for scheduled tasks, webhook-triggered tasks, etc.bugSomething isn't workingplatform:windowsIssue specifically occurs on WindowsstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions