Skip to content

feat: binary artifact publishing + CLI update command#35

Merged
thisnick merged 1 commit intomainfrom
feat/binary-publishing
Feb 25, 2026
Merged

feat: binary artifact publishing + CLI update command#35
thisnick merged 1 commit intomainfrom
feat/binary-publishing

Conversation

@thisnick
Copy link
Copy Markdown
Owner

Summary

  • Release workflow: new publish-binary job builds standalone agent-server binaries (amd64/arm64) in Docker and uploads them as GitHub Release assets alongside Docker images
  • CLI: new wx update command downloads the binary matching the CLI's own version from GitHub Releases and hot-swaps it into the running container (docker cp + pkill)

This enables updating the server binary without rebuilding the full Docker image — same hot-swap pattern as dev-deploy.sh.

Test plan

  • Push a changeset to main → verify release creates GitHub Release with agent-server-{version}-linux-{amd64,arm64} assets
  • Run wx update locally → binary downloaded, swapped into container, server restarts, /health returns ok
  • Companion PR in agent-wechat-infra adds deploy-binary workflow + script for VPS deployment

🤖 Generated with Claude Code

Release workflow now builds and uploads standalone agent-server binaries
(amd64/arm64) as GitHub Release assets. New `wx update` CLI command
downloads the matching binary and hot-swaps it into the running container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@thisnick thisnick merged commit fa0d64a into main Feb 25, 2026
1 check passed
@thisnick thisnick deleted the feat/binary-publishing branch February 25, 2026 01:58
@github-actions github-actions bot mentioned this pull request Feb 25, 2026
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