release gate / check (push) Failing after 5m49s
- .opencode/agents/superbrain.md: primary project engineer agent - .opencode/agents/invariant-reviewer.md: read-only diff reviewer subagent - .opencode/skills/: db-migration, add-endpoint, web-invariants, verify, release - RUNNING.md: warn that the repo docker-compose.yml is local dev/test only and must never be run on a core (cores use the federated render + shared postgresql)
2.8 KiB
2.8 KiB
name, description
| name | description |
|---|---|
| Release | Cut a Superbrain release — lockstep version bump across service/installer/mcp files, CHANGELOG entry, tag (no v prefix), and the separate Docker Hub publish process. Use when asked to bump the version or prepare a release. |
Release workflow
Versions correspond to git tags AND the published image set
(federatedcomputer/superbrain-{app,web,migrate} on Docker Hub). The
superbrain-mcp Python package and the federated suite files move in lockstep.
Superbrain is pre-beta: the line is 0.x, semver without a v prefix
(suite VERSION_RX is ^[0-9][0-9\.]*$).
Steps
- Propose the version bump first and get user approval before editing.
- Bump every lockstep file together (a release commit touches all of them):
deploy/federated/service— theVERSIONline.- The installer image version referenced by the federated suite
(
deploy/federated/lib-superbrain.shand/or the installer image tag). mcp/pyproject.toml—version = "...".mcp/superbrain_mcp/__init__.py—__version__. Confirm withgit log --staton a prior "release 0.3.x" commit for the exact file set at the current head.
- Add a CHANGELOG entry at the top of
CHANGELOG.md:## X.Y.Z — YYYY-MM-DDwith### Added/### Changed/### Fixedsubsections. Match the existing prose style (feature-first, one bullet per user-visible change). Dates are tag dates. - Commit with the message pattern
release X.Y.Z: bump federated service VERSION, installer image version and mcp package version. - Tag without a
vprefix:git tag X.Y.Z.
Publishing (important, do not "fix")
- The Docker Hub image set is published by a SEPARATE process triggered on
push to
main— NOT by this repo's CI. - The Gitea
release.ymlpublish job has never succeeded (the repo'sDOCKERHUB_*Actions secrets are empty; writing them needs a repo-owner account the git credential user is not). Do NOT treat that job's failure as a regression or rework the flow. Its tag-triggeredsmokejob is still a valid gate. - Fallback publisher: local
docker buildxwith themultiarchbuilder (amd64 + arm64,<tag>+latest, web build-argSUPERBRAIN_VERSION=<tag>). qemu arm64 binfmt registration is lost on reboot — re-register withdocker run --privileged --rm tonistiigi/binfmt --install arm64thendocker restart buildx_buildkit_multiarch0. - Cores consume Docker Hub via the suite upgrade flow (erwin example):
ssh core 'sudo bash -c "$(docker run --rm --pull always federatedcomputer/superbrain-migrate cat /deploy/update.sh)" update.sh <version>'.
Reference
CHANGELOG.md(format + recent entries).- Root
AGENTS.md→ "Release publishing (confirmed by operator 2026-11-21)". RUNNING.mdfor deploy/upgrade detail.