Skip to content

fix: update e2e tests to use --runtime instead of renamed --agent flag#723

Draft
Hweinstock wants to merge 1 commit intoaws:mainfrom
Hweinstock:fix/e2e-agent-to-runtime
Draft

fix: update e2e tests to use --runtime instead of renamed --agent flag#723
Hweinstock wants to merge 1 commit intoaws:mainfrom
Hweinstock:fix/e2e-agent-to-runtime

Conversation

@Hweinstock
Copy link
Copy Markdown
Contributor

Problem

The CLI renamed --agent to --runtime across all commands (invoke, logs, traces, status, add online-eval, run eval, evals history), but the e2e tests still use the old --agent flag. This causes all e2e tests to fail with error: unknown option '--agent'.

Solution

Replace all --agent--runtime and --agent-runtime-id--runtime-id in e2e tests.

Testing

Verified each replacement matches the current CLI help output for invoke, logs, traces, status, add online-eval, run eval, and evals history.

@github-actions
Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.4.0.tgz

How to install

npm install https://github.com/aws/agentcore-cli/releases/download/pr-723-tarball/aws-agentcore-0.4.0.tgz

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.

1 participant