feat: add ability to stop in-progress ingestion jobs

Aperta
#1,733 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@nborges-aws ci sta già lavorando.

Dal 15/7/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
TypeScript
Stelle
339
Fork
129
Merge medio
19h 21m
PR unite (30g)
125

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws/agentcore-cli

Tutte le issue di aws/agentcore-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.