Skip to content

chore: simplify release-main-and-preview workflow#1415

Merged
jesseturner21 merged 1 commit into
mainfrom
chore/simplify-release-workflow
May 28, 2026
Merged

chore: simplify release-main-and-preview workflow#1415
jesseturner21 merged 1 commit into
mainfrom
chore/simplify-release-workflow

Conversation

@jesseturner21
Copy link
Copy Markdown
Contributor

@jesseturner21 jesseturner21 commented May 28, 2026

Summary

  • Rename workflow from "Release" to "Release Main and Preview" so it's distinguishable from the single-release workflow in the GitHub Actions UI
  • Remove redundant test-main and test-preview jobs — the release PR already triggers build-and-test.yml CI, so running lint/typecheck/tests twice is unnecessary
  • Update approval gate messaging to remind reviewers to check PR CI before merging

Test plan

  • Trigger the workflow manually with dry_run: true and verify it reaches the approval gate without the removed test jobs
  • Confirm the workflow name shows as "Release Main and Preview" in the Actions tab

Rename workflow to "Release Main and Preview" to distinguish it from the
single-release workflow in the Actions UI. Remove redundant test-main and
test-preview jobs since the release PR already triggers build-and-test CI.

Confidence: high
Scope-risk: narrow
@jesseturner21 jesseturner21 requested a review from a team May 28, 2026 18:53
@github-actions github-actions Bot added the size/s PR size: S label May 28, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label May 28, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label May 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.15.0.tgz

How to install

gh release download pr-1415-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-0.15.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 May 28, 2026
Copy link
Copy Markdown

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

Choose a reason for hiding this comment

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

LGTM. The rationale is sound — build-and-test.yml and lint.yml both run on PRs to main and cover the same checks (lint, typecheck, build, test:unit) that the removed test-main/test-preview jobs ran, so duplicating them in the release workflow was indeed redundant. The dependency graph cleanup is correct: removing test-main/test-preview from release-approval's needs also makes the if: always() && !failure() && !cancelled() guard unnecessary (it was only needed because those jobs could be skipped per release_target).

One minor thing worth noting (not a blocker): the removed test-preview job did a BUILD_PREVIEW=1 build, which the regular CI doesn't perform. If that build ever breaks, it'll now be caught at publish-preview time rather than before the approval gate. Given that publish-preview performs the same build, this just shifts where the failure surfaces — not a regression in correctness. Worth keeping in mind if preview-specific build issues become a recurring pain point.

@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label May 28, 2026
Copy link
Copy Markdown
Contributor

@Hweinstock Hweinstock left a comment

Choose a reason for hiding this comment

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

LGTM

@jesseturner21 jesseturner21 merged commit 12d0cf6 into main May 28, 2026
31 checks passed
@jesseturner21 jesseturner21 deleted the chore/simplify-release-workflow branch May 28, 2026 19:03
@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 34.96% 10673 / 30529
🔵 Statements 34.32% 11341 / 33044
🔵 Functions 29.97% 1813 / 6049
🔵 Branches 29.01% 6751 / 23266
Generated in workflow #3374 for commit ff3822e 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.

3 participants