Skip to content

Add kaggle kernels cancel CLI command#967

Open
kaggle-agent wants to merge 1 commit intomainfrom
agent/bovard-20260410183538-881cb118
Open

Add kaggle kernels cancel CLI command#967
kaggle-agent wants to merge 1 commit intomainfrom
agent/bovard-20260410183538-881cb118

Conversation

@kaggle-agent
Copy link
Copy Markdown
Collaborator

Users need to cancel accidentally submitted notebook runs from the
command line. The SDK already has cancel_kernel_session() but it
wasn't exposed in the CLI. This wires up the cancel flow by first
fetching the session ID from the status endpoint, then calling the
SDK's cancel method.

Co-authored-by: kaggle-agent kaggle-agent@users.noreply.github.com


Task: bovard-20260410183538-881cb118
Context: https://chat.kaggle.net/kaggle/pl/5nsf9u1kptrydpokxnrmijxeow

Users need to cancel accidentally submitted notebook runs from the
command line. The SDK already has `cancel_kernel_session()` but it
wasn't exposed in the CLI. This wires up the cancel flow by first
fetching the session ID from the status endpoint, then calling the
SDK's cancel method.

Co-authored-by: kaggle-agent <kaggle-agent@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants