Skip to content

feat(release): agentx release pipeline#3

Merged
imryao merged 18 commits into
mainfrom
feature/agentx-release-pipeline
May 5, 2026
Merged

feat(release): agentx release pipeline#3
imryao merged 18 commits into
mainfrom
feature/agentx-release-pipeline

Conversation

@imryao
Copy link
Copy Markdown
Member

@imryao imryao commented May 5, 2026

Summary

  • Adds .github/workflows/agentx-release.yml triggered on agentx-v*.*.* tags. Builds 5 platform binaries (Linux x86_64/aarch64 musl, macOS aarch64/x86_64, Windows x86_64), signs+notarizes macOS artifacts via the existing upstream macos-code-sign action, creates a GitHub Release, and gates winget/choco/homebrew publishing on stable releases.
  • Adds Makefile target agentx-release for safe version-bump + tag.
  • Adds Chocolatey package skeleton (.github/chocolatey/) and Homebrew cask template (.github/homebrew/agentx.rb.template).
  • Two pipeline fixes from dry-run: 7z fallback for Windows packaging step (Git Bash on windows-latest lacks zip), and glob-based SHA256SUMS regeneration to avoid hashing a stale SHA256SUMS.tmp.

Design / plan

Spec: docs/superpowers/specs/2026-05-05-agentx-rebrand-and-release-design.md in /root/agentserver.
Plan: docs/superpowers/plans/2026-05-05-agentx-rebrand-and-release.md in /root/agentserver.

Rebrand is packaging-layer only (binary file rename + package id). Source code is untouched; only codex-rs/Cargo.toml workspace version field bumps per release. Upstream rust-release.yml is left untouched and stays dormant.

Validation

  • Dry-run agentx-v0.128.0-agentx.1 succeeded end-to-end. All 8 release assets present.
  • macOS Apple Developer ID signing + notarization + stapling verified by job success on both arm and x86_64 targets.
  • Choco/homebrew/winget templates rehearsed locally (sed substitution, URL 200 check, nuspec XML validation, no leftover __PLACEHOLDER__).

Test plan

  • Local artifact validation on Mac: `xcrun stapler validate agentx-aarch64-apple-darwin.dmg`, `spctl --assess --type execute -vv ...`
  • Configure `HOMEBREW_TAP_PAT` repo secret (fine-grained PAT with write access to `agentserver/homebrew-tap`)
  • Cut `agentx-v0.128.0` (no suffix) to validate winget/choco/homebrew jobs end-to-end

🤖 Generated with Claude Code

mryao and others added 18 commits May 5, 2026 11:19
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub windows-latest runner's Git Bash does not ship `zip` in PATH,
so the windows packaging step exited 127 with "zip: command not found"
during the agentx-v0.128.0-agentx.0 dry-run. windows-latest does have
`7z` preinstalled, so probe both and use whichever is available.

Linux/macOS still use `zip` (test harness unchanged, 4/4 tests pass).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Release job's `find ... > SHA256SUMS.tmp` pipeline created the tmp
file eagerly (shell `>` redirect) before find ran, so find included
SHA256SUMS.tmp in the file list and `e3b0c44...` (sha256 of empty
string) ended up as a stale row. Verified by inspecting the
agentx-v0.128.0-agentx.1 release's SHA256SUMS.

Replace with a plain glob: `sha256sum agentx-* > SHA256SUMS`. All
release artifacts are agentx-* prefixed, no temp file needed,
shellcheck-clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Upstream codex's `pnpm format` runs prettier --check across
.github/workflows/*.yml; multi-space alignment in `permissions:` and
the chocolatey job's `env:` block was rejected. Run prettier --write
to collapse to single spaces.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@imryao imryao merged commit 31d07c7 into main May 5, 2026
10 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant