Files
backstage/packages/backend-plugin-api
Fredrik 015668c5d2 Add cancelTask to SchedulerService for cancelling running tasks
Adds the ability to cancel currently running scheduled tasks via a new
cancelTask method on the SchedulerService interface. For global (distributed)
tasks, the database lock is released and a periodic liveness check detects
the lost ticket and aborts the task function's AbortSignal. For local tasks,
the abort signal is triggered directly. Also adds a REST endpoint at
POST /.backstage/scheduler/v1/tasks/:id/cancel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-09 22:00:44 +01:00
..
2026-02-24 19:24:06 +00:00
2026-02-24 19:24:06 +00:00

@backstage/backend-plugin-api

This package provides the framework API used by Backstage backend plugins and modules.

Installation

Add the library to your backend plugin or module package:

# From your Backstage root directory
yarn --cwd plugins/<plugin>-backend add @backstage/backend-plugin-api

Documentation