Skip to content

test(e2e): wait before archiving batch evaluation#1785

Open
notgitika wants to merge 1 commit into
mainfrom
fix/e2e-archive-batch-wait
Open

test(e2e): wait before archiving batch evaluation#1785
notgitika wants to merge 1 commit into
mainfrom
fix/e2e-archive-batch-wait

Conversation

@notgitika

Copy link
Copy Markdown
Contributor

Description

Fix the archive lifecycle E2E race exposed by full-suite run 29547583927.

agentcore run batch-evaluation returns while the job is still PENDING unless --wait is provided. The test immediately attempted to archive that job, which intermittently failed with a service 409. Pass --wait so the evaluation reaches a terminal, archivable status first.

The other two failures in that run were cascading assertions after the initial archive failed.

Related Issue

No issue; fixes a post-merge E2E failure.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other: E2E test stabilization

Testing

  • npx tsc --noEmit --incremental
  • npx prettier --check e2e-tests/archive-lifecycle.test.ts
  • Pre-commit ESLint, Prettier, secretlint, and typecheck hooks
  • Live AWS E2E (left to CI to avoid duplicating resource mutations)

@notgitika
notgitika requested a review from a team July 17, 2026 01:55
@github-actions github-actions Bot added the size/xs PR size: XS label Jul 17, 2026
@github-actions github-actions Bot added agentcore-harness-reviewing AgentCore Harness review in progress and removed agentcore-harness-reviewing AgentCore Harness review in progress labels Jul 17, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Jul 17, 2026
@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 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.24.1.tgz

How to install

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

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 39.99% 14851 / 37135
🔵 Statements 39.24% 15826 / 40323
🔵 Functions 34.03% 2527 / 7425
🔵 Branches 33.47% 9894 / 29555
Generated in workflow #4137 for commit 294327c by the Vitest Coverage Report Action

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