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
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
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
Additional Context
Decision needed on command surface:
agentcore run ingest --name <kb> --stopagentcore stop ingest --name <kb>