Skip to content

feat: build the batteries image from the bundle; pin the first-party set - #1

Merged
Taure merged 1 commit into
mainfrom
feat/wire-bundle-image
Aug 13, 2026
Merged

Taure merged 1 commit into
mainfrom
feat/wire-bundle-image

Conversation

@Taure

@Taure Taure commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

What

Turns asobi_bundle from an unwired meta-package into the source of the official batteries image, and pins the first-party set to a known-good row.

  • Pins -> exact tags + committed rebar.lock: asobi v0.83.8, asobi_quests v0.2.3, asobi_seasons v0.1.0 (were {branch,"main"} with no lock).
  • Release + prod profile: {release, {asobi_bundle, git}, [asobi_bundle, sasl]}, boots asobi (the bundle contributes no code).
  • config/: asobi's own config templates verbatim (asobi is the bootstrap_application).
  • Dockerfile: builds the release; CMD bin/asobi_bundle foreground.
  • docker-publish.yml: relocated from the asobi repo, hard-coded to publish ghcr.io/widgrensit/asobi (not the repo name) so existing pins keep working - the asobi_lua source-less-image precedent.
  • README: first-party-only scope, the image, and the asobi_bundle vs asobi_engine_bundle disambiguation.

Why

The batteries image was built from the asobi repo's [asobi, sasl] relx, which omits every extension. asobi_engine's relx omits them too. So asobi_seasons and asobi_quests - the two subsystems already extracted out of core - reached zero running nodes on upgrade (undef / nil game.* / 404). Building the image from the bundle's full closure closes that silent-removal.

Follow-ups (separate PRs): retire the asobi repo's docker-publish.yml; point asobi_engine at asobi_bundle; self-host docs.

Verified locally

rebar3 compile, rebar3 as prod release (assembles as bin/asobi_bundle with quests+seasons in the closure), rebar3 asobi check (green, 2 extensions in migration order), rebar3 fmt --check — all pass.

Pin asobi/quests/seasons to exact tags with a committed rebar.lock (was branch
pins with no lock) so the bundle asserts one CI-verified row.

Add the release + prod profile, asobi's config templates, a Dockerfile, and the
docker-publish.yml relocated from the asobi repo so ghcr.io/widgrensit/asobi is
built from the full extension closure instead of the bare kernel. This fixes the
silent-removal where asobi_seasons and asobi_quests reached zero running nodes:
neither the asobi nor the asobi_engine release listed them, so the two existing
extractions shipped to no one on upgrade.

README documents the first-party-only scope, the image, and the
asobi_bundle-vs-asobi_engine_bundle disambiguation.
@Taure
Taure merged commit 43ea4a8 into main Aug 13, 2026
1 of 2 checks passed
@Taure
Taure deleted the feat/wire-bundle-image branch August 13, 2026 14:32
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