Skip to content

Revert "feat(run): add --kms-key flag to run insights for KMS parity (#1688)"#1723

Merged
tejaskash merged 1 commit into
mainfrom
revert-1688-run-insights-kms-key
Jul 9, 2026
Merged

Revert "feat(run): add --kms-key flag to run insights for KMS parity (#1688)"#1723
tejaskash merged 1 commit into
mainfrom
revert-1688-run-insights-kms-key

Conversation

@jariy17

@jariy17 jariy17 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Reverts #1688, which added a --kms-key flag to run insights for KMS parity with run batch-evaluation and run recommendation.

This reverts merge commit e61338c.

Reverted changes

  • src/cli/commands/run/command.tsx — removes --kms-key <arn> from run insights.
  • src/cli/operations/jobs/shared/types.ts — removes kmsKeyArn? from StartInsightsJobOptions.
  • src/cli/operations/jobs/insights/handler.ts — stops threading kmsKeyArn through to startBatchEvaluation.

Re-opens #1655.

@jariy17 jariy17 requested a review from a team July 9, 2026 20:18
@github-actions github-actions Bot added the size/xs PR size: XS label Jul 9, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Jul 9, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.23.0.tgz

How to install

gh release download pr-1723-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-0.23.0.tgz

@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Jul 9, 2026

@agentcore-cli-automation agentcore-cli-automation left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, complete revert of #1688. Diff exactly mirrors the original commit (same 3 files, same 6 lines removed). No tests were added in #1688, so nothing test-related needs reverting either.

Verified no lingering references to kmsKeyArn remain in the insights code path (src/cli/commands/run/, src/cli/operations/jobs/insights/, or in StartInsightsJobOptions), so this compiles cleanly. Sibling commands (run batch-evaluation, run recommendation) retain their --kms-key support, as expected.

LGTM — safe to merge.

@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 39.58% 14652 / 37014
🔵 Statements 38.85% 15615 / 40192
🔵 Functions 33.67% 2495 / 7408
🔵 Branches 33.1% 9734 / 29405
Generated in workflow #4056 for commit 0d465e0 by the Vitest Coverage Report Action

@tejaskash tejaskash merged commit 1fefd37 into main Jul 9, 2026
34 of 35 checks passed
@tejaskash tejaskash deleted the revert-1688-run-insights-kms-key branch July 9, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants