Repository navigation
chore(canary): run refactor e2e canary only on v1 - #2648
Conversation
Package TarballHow to installgh 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 |
There was a problem hiding this comment.
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.
|
Claude Security Review: no high-confidence findings. (run) |
|
Claude Security Review: no high-confidence findings. (run) |
Coverage Report
|
Description
Update refactor canary to target
@latestinstead of@rc, and gate the run on@latestresolving to v1.x.x.Type of Change
Testing
How have you tested the change?
npm run test:unitandnpm run test:integnpm run typechecknpm run lintsrc/assets/, I rannpm run test:update-snapshotsand committed the updated snapshotsChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.