Skip to content

chore(canary): run refactor e2e canary only on v1 - #2648

Merged
jariy17 merged 2 commits into
mainfrom
update-rc-canary
Oct 22, 2026
Merged

jariy17 merged 2 commits into
mainfrom
update-rc-canary

Conversation

@nborges-aws

Copy link
Copy Markdown
Contributor

Description

Update refactor canary to target @latest instead of @rc, and gate the run on @latest resolving to v1.x.x.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other (please describe): chore

Testing

How have you tested the change?

  • I ran npm run test:unit and npm run test:integ
  • I ran npm run typecheck
  • I ran npm run lint
  • If I modified src/assets/, I ran npm run test:update-snapshots and committed the updated snapshots

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.

@nborges-aws
nborges-aws requested a review from a team October 22, 2026 14:55
@github-actions github-actions Bot added the size/s PR size: S label Oct 22, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added claude-security-reviewing Claude Code /security-review in progress agentcore-harness-reviewing AgentCore Harness review in progress labels Oct 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.31.1.tgz

How to install

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

@agentcore-devx-automation agentcore-devx-automation Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

AgentCore Harness Review

Verdict: Looks good

The gating logic correctly skips E2E when @latest is still 0.x.x (currently 0.31.1), activates when it becomes a stable 1.x.x, and fails loudly on anything unexpected. The regex intentionally rejects prerelease identifiers on @latest (e.g. 1.0.0-rc.7), which is the right call since stable @latest shouldn't carry a prerelease tail once v1 ships.

One thing worth confirming (not blocking): dropping tags: canary means this scheduled job (every 20 min) will now run the full refactor E2E suite via bun run test:e2e instead of just the canary-tagged subset — the refactor-e2e.yml workflow branches on inputs.tags == ''. If that broader coverage/cost tradeoff is intentional (and it reads like it is given this is the v1 stable canary), no change needed; otherwise re-add tags: canary.

@agentcore-devx-automation agentcore-devx-automation Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label Oct 22, 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 Oct 22, 2026
@github-actions github-actions Bot added size/s PR size: S and removed size/s PR size: S labels Oct 22, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Oct 22, 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 Oct 22, 2026
@jariy17
jariy17 merged commit 7b908c8 into main Oct 22, 2026
30 of 31 checks passed
@jariy17
jariy17 deleted the update-rc-canary branch October 22, 2026 15:01
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 41.6% 15969 / 38384
🔵 Statements 40.85% 17036 / 41697
🔵 Functions 35.55% 2744 / 7718
🔵 Branches 34.62% 10666 / 30805
Generated in workflow #4552 for commit e1793e6 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/s PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants