feat: add ability to stop in-progress ingestion jobs

Offen
#1,733 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@nborges-aws arbeitet bereits daran.

Seit 15.7.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

enhancement
Description

Users have no way to cancel a running ingestion job through the CLI. Currently, if a user starts ingestion on a large data source and realizes they made a config mistake, they're forced to wait for the full job to complete before re-ingesting with the corrected config. This wastes compute (driving up cost) and delays their workflow.

The Bedrock API supports StopIngestionJob — we should expose this through the CLI.

Acceptance Criteria
  • User can stop an in-progress ingestion job for a named knowledge base
  • Command reports which job(s) were stopped and their final status
  • Command errors clearly if no ingestion job is currently running for the specified KB
  • Works for both single-DS and multi-DS knowledge bases (stops all active jobs)
Additional Context

Decision needed on command surface:

  • Option 1: Flag on run — agentcore run ingest --name <kb> --stop
  • Option 2: Top-level stop — agentcore stop ingest --name <kb>
  • Option 3: Job engine — Register ingestion as a JobType with Stoppable trait
Vorherrschende Sprache
TypeScript
Sterne
339
Forks
129
Ø Merge
19 Std. 21 Min.
Gemergte PRs (30 T.)
125

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus aws/agentcore-cli

Alle Issues in aws/agentcore-cli

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.