ci(release): released by MagicBeanAdmin/Release #152

Merged
HumanBean merged 1 commit from HumanBean/Beanstalk:ci/release-moved into main 2026-11-27 20:25:13 +00:00
Owner

The agent's releases should be built, signed and published on runners registered to MagicBeanAdmin/Release alone, as the launcher's and Longshot's, so that this repository needs neither the signing key nor the release and deploy runners and the seal broker.

Merging this is the switch. Release's beanstalk.yml releases nothing on its own while release-agent.yml is on main.

Before merging

  1. MagicBeanAdmin/Release has the secret BEANSTALK_RELEASE_SIGNING_KEY (the PEM of key abaaae81671d9e15), and its PUBLISH_TOKEN may write this repository's releases and tags.
  2. Release's beanstalk.yml is on its main, and a dry run of it (Run workflow, tag empty, publish off) has passed: it builds, signs with the key and checks the token.
  3. MagicBeanDev/Infra's release-trigger with Beanstalk in it is deployed, and this repository has its push webhook.
  4. No release-agent.yml run is waiting or running. No vN tag is pushed between adding the webhook and merging (the trigger takes each tag once).

After the first nightly from Release: delete this repository's secret RELEASE_SIGNING_KEY_SEALED soon (a v* tag on a commit from before this change would still run the old workflow), and take Beanstalk off the seal broker's ALLOWED_REPOS.

What changed

  • release-agent.yml is removed. ci.yml is the only workflow; it uses neither the release nor the deploy label, and .forgejo/actionlint.yaml drops them.
  • agent/scripts/release.py stays here and is still the code that releases: Release runs it at the commit its beanstalk-rev names (today 4b0be0cc), so a later change to it counts once that pin moves. The removed workflow leaves AGENT_PATHS.
  • docs/deploy.md and comments say where releases are made.
  • test_release.py checks that no workflow here releases or reads a secret.

What behaves differently

  • The trigger waits for 5 quiet minutes (at most an hour) instead of the run sleeping; Release also looks hourly.
  • A release that failed is retried by hand in Release; each pushed tag is taken once.
  • A change to the build steps (now in Release) no longer makes a nightly by itself.
  • Releases and their tags are made with Release's PUBLISH_TOKEN, not this repository's job token.

Testing

  • python3 -I -B agent/tests/test_release.py: passes.
  • In the runner image (act-24.04): dotnet build with the locked restore (0 warnings), test_agent_core.py --strict (3049 checks) and test_release.py.
  • actionlint on the workflows, shellcheck on package.sh.
  • Not tested: a real release from Release (nothing was signed with the real key, published or uploaded).

Nothing here shows on screen.

🤖 Generated with Claude Code

The agent's releases should be built, signed and published on runners registered to MagicBeanAdmin/Release alone, as the launcher's and Longshot's, so that this repository needs neither the signing key nor the `release` and `deploy` runners and the seal broker. **Merging this is the switch.** Release's `beanstalk.yml` releases nothing on its own while `release-agent.yml` is on `main`. ## Before merging 1. MagicBeanAdmin/Release has the secret `BEANSTALK_RELEASE_SIGNING_KEY` (the PEM of key `abaaae81671d9e15`), and its `PUBLISH_TOKEN` may write this repository's releases and tags. 2. Release's `beanstalk.yml` is on its `main`, and a dry run of it (Run workflow, tag empty, publish off) has passed: it builds, signs with the key and checks the token. 3. MagicBeanDev/Infra's `release-trigger` with Beanstalk in it is deployed, and this repository has its push webhook. 4. No `release-agent.yml` run is waiting or running. No `vN` tag is pushed between adding the webhook and merging (the trigger takes each tag once). After the first nightly from Release: delete this repository's secret `RELEASE_SIGNING_KEY_SEALED` soon (a `v*` tag on a commit from before this change would still run the old workflow), and take Beanstalk off the seal broker's `ALLOWED_REPOS`. ## What changed - `release-agent.yml` is removed. `ci.yml` is the only workflow; it uses neither the `release` nor the `deploy` label, and `.forgejo/actionlint.yaml` drops them. - `agent/scripts/release.py` stays here and is still the code that releases: Release runs it at the commit its `beanstalk-rev` names (today `4b0be0cc`), so a later change to it counts once that pin moves. The removed workflow leaves `AGENT_PATHS`. - `docs/deploy.md` and comments say where releases are made. - `test_release.py` checks that no workflow here releases or reads a secret. ## What behaves differently - The trigger waits for 5 quiet minutes (at most an hour) instead of the run sleeping; Release also looks hourly. - A release that failed is retried by hand in Release; each pushed tag is taken once. - A change to the build steps (now in Release) no longer makes a nightly by itself. - Releases and their tags are made with Release's `PUBLISH_TOKEN`, not this repository's job token. ## Testing - `python3 -I -B agent/tests/test_release.py`: passes. - In the runner image (`act-24.04`): `dotnet build` with the locked restore (0 warnings), `test_agent_core.py --strict` (3049 checks) and `test_release.py`. - actionlint on the workflows, shellcheck on `package.sh`. - Not tested: a real release from Release (nothing was signed with the real key, published or uploaded). Nothing here shows on screen. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ci(release): released by MagicBeanAdmin/Release
Some checks failed
CI / Conventional Commit title (pull_request) Successful in 4s
CI / Workflow lint (actionlint) (pull_request) Successful in 5s
CI / Coordinator tests (pull_request) Failing after 1m28s
CI / Coordinator image (pull_request) Successful in 13s
CI / Agent build and checks (pull_request) Successful in 1m36s
c3fd389dfc
The agent's releases move to MagicBeanAdmin/Release (beanstalk.yml), on runners registered to that repository alone, as
the launcher's and Longshot's. release-agent.yml goes, and with it Beanstalk's use of the release and deploy runners and
the seal broker. Release runs agent/scripts/release.py at a commit pinned there. Merging this is the switch.

Assisted-by: Claude Sonnet 5.5
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
HumanBean changed title from WIP: ci(release): released by MagicBeanAdmin/Release to ci(release): released by MagicBeanAdmin/Release 2026-11-27 20:25:06 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Beanstalk!152
No description provided.