Skip to content

fix(ci): upload both GA and preview tarballs in prerelease workflow#1386

Merged
jesseturner21 merged 2 commits into
mainfrom
fix/prerelease-dual-tarballs
May 26, 2026
Merged

fix(ci): upload both GA and preview tarballs in prerelease workflow#1386
jesseturner21 merged 2 commits into
mainfrom
fix/prerelease-dual-tarballs

Conversation

@jesseturner21
Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Trigger workflow manually via workflow_dispatch and verify both tarballs appear on the prerelease release
  • Verify GA tarball installs correctly: npm install -g <ga-url>
  • Verify Preview tarball installs correctly: npm install -g <preview-url>
  • Confirm agentcore invoke --help on GA build shows no harness options
  • Confirm agentcore invoke --help on Preview build shows harness options

The bundle script now produces two tarballs (GA + preview) but the
prerelease workflow only uploaded the first one it found. Upload both
and include install commands in the release notes.

Constraint: bundle.mjs names GA as *-<timestamp>.tgz and preview as *-preview-<timestamp>.tgz
Confidence: high
Scope-risk: narrow
@jesseturner21 jesseturner21 requested a review from a team May 26, 2026 21:46
@github-actions github-actions Bot added the size/s PR size: S label May 26, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label May 26, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label May 26, 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 May 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.15.0.tgz

How to install

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

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.

Reviewed the workflow change. The tarball naming logic correctly distinguishes between GA (aws-agentcore-<base>-<timestamp>.tgz) and preview (aws-agentcore-<base>-preview-<timestamp>.tgz) artifacts produced by scripts/bundle.mjs, and grep -v preview is the effective differentiator since both names match the digit-suffix glob. The notes heredoc indentation works out correctly after YAML block-scalar stripping (10 spaces) — the rendered markdown will have flush-left fenced code blocks. Concurrency group prevents the delete-then-create race.

LGTM.

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

github-actions Bot commented May 26, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 43.65% 10526 / 24112
🔵 Statements 42.89% 11188 / 26085
🔵 Functions 40.53% 1806 / 4455
🔵 Branches 39.81% 6728 / 16900
Generated in workflow #3304 for commit faaf99e by the Vitest Coverage Report Action

The test starts a dev server, waits up to 20s for health check, then
runs two invoke calls. On slow CI runners 30s total is insufficient.

Confidence: high
Scope-risk: narrow
@github-actions github-actions Bot added size/s PR size: S and removed size/s PR size: S labels May 26, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label May 26, 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 May 26, 2026
devProcess.kill('SIGTERM');
devProcess = null;
},
30000
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.

is this an unrelated fix? I saw this timing out so I think its welcome.

@jesseturner21 jesseturner21 merged commit 6044796 into main May 26, 2026
29 checks passed
@jesseturner21 jesseturner21 deleted the fix/prerelease-dual-tarballs branch May 26, 2026 22:46
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