feat: add ability to stop in-progress ingestion jobs

未關閉
#1,733 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@nborges-aws 已經在處理了。

開始於 2026年7月15日。

評估

這個 Issue 還沒有評估資料。

描述

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
主要語言
TypeScript
星號
339
分支
129
平均合併
19 小時 21 分鐘
30 天內合併 PR
125

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

aws/agentcore-cli 的其他 Issue

查看 aws/agentcore-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。