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 摘要。