Repository navigation
Release 0.16.1 (OS) and control plane 0.17.0 - #594
Conversation
The box-id is now the name the owner chose, used as given (andrei), not a base plus a system-assigned suffix (cindy-fox). The box already used the id only as an opaque DNS label, so nothing changes in behavior: the seed still needs a non-empty box_id and the box does not check its shape. Update the comments in internal/profile that stated the old shape, and add bare-id cases for the hosted hosts and URLs, the cert subjects, a seed round trip, the cert-subject split and the forward-auth cookie domain. The cindy-fox fixtures stay and now cover the older shape.
MOOSE_NETWORK.md replaces the base-plus-curated-suffix section with the new locked shape: 4 to 30 lowercase letters, digits and single inside dashes, a reserved list that covers every name with its own record under the fleet domain, a taken name refused with no reroll, and a destroyed box's name held for its former owner for one year. Older dashed ids stay valid, and the box-id is still fixed for the life of the box. Bring FIRST_RUN.md Step 5 and the enrollment flow in line, resolve the box-id allocation item in NEXT.md, record the flip in DECISIONS.md, and add the progress entry.
…suffix-shaped example hosts
Spec the box-id as the name the owner chose, with no suffix
A box pulls without logging in, so a registry counts its requests against a source IP that other traffic may share. A short 429 spike from ghcr rolled back a working install, because the pull ran once. pullWithRetry retries a pull whose error is a rate limit, with 2, 4, 8 and 16 second waits. Every other pull error still returns at once, so an unreachable registry fails fast and the offline fallback is unchanged.
Review on #587: when the install context ended during a backoff wait, the error was the stale 429, so a cancelled install read as a rate limit. Wrap ctx.Err() with it. Also say in the docs that an offline box retries a rate limit too, and that each image retries in turn.
Cut the image name out of the error before matching a rate limit, so an image called toomanyrequests does not retry. Test that cancelling during a backoff wait stops it. Correct the progress entry: a pull that stays rate-limited fails the install at that image.
Greptile on #587: cutting the image reference out of the whole error also cut it out of the registry's answer, so a short image name such as requests turned toomanyrequests into toomany and a real rate limit was missed. Match 'toomanyrequests: ' at a line start or after a space, or '429 Too Many Requests'. Neither can match inside an image reference, and only the driver's own 'pull <ref>: ' prefix is cut.
Retry an image pull the registry rate-limits
The catalog can now list, per image, an ordered set of backup sources that serve the same digest. The brain pulls upstream first. On a rate limit it waits once, retries upstream, then tries the sources, and finishes the backoff ladder on upstream if they fail. Any other registry or network error tries the sources at once. Local errors, a cancelled install and offline mode never move. When every source fails, the install reports upstream's error. Docker cannot tag a digest reference under another name, so the override names the reference that was pulled, and the stored pin keeps it in a new instance_images.ref column so uninstall removes the right image. The override sets pull_policy: never, and the brain pulls any missing image before every later compose up, so a later pull also goes upstream first. Refs #588
APP_STORE.md gains the sources field and its box-side rules, APP_LIFECYCLE.md the pull order and the override rules, and DECISIONS.md records that image mirroring is no longer deferred. Adds the progress entry and the source log field. Refs #588
Greptile on #589. The reconcile pass at boot shares one 30-second budget across every app, so a missing image there is now pulled with no backoff wait: on a rate limit it tries the sources at once and then leaves the app for a later start. And ensureImages now repairs the stored pin from the override even when nothing is pulled, so a save that failed on an earlier start does not stay wrong. Also records the hosted-box run in the progress entry. Refs #588
Pull an image from a backup source when upstream fails
Moves the OS package lock forward (`BUILD.md` # 1b # The OS package lock). Made by `.github/workflows/os-lock-bump.yml`. - Debian snapshot: `20261003T083111Z` to `20261008T085042Z` **Security:** 1 of the 1 changed packages come from `trixie-security`. Release rule: cut an OS patch release with this change within 7 days (`docs/dev/contributing.md` # Release model). | Package | From | To | Source | |---|---|---|---| | `liblzma5` | `5.8.1-1+deb13u1` | `5.8.1-1+deb13u2` | trixie-security | Merging this puts the change on `dev`, not on any box. It ships with the next OS release (`docs/dev/contributing.md` # Release model).
… more Moves the OS package lock forward (`BUILD.md` # 1b # The OS package lock). Made by `.github/workflows/os-lock-bump.yml`. - Debian snapshot: `20261003T083111Z` to `20261009T083023Z` - Docker pins: moved to the newest version within each major (`dev/os-lock/third-party.lock`) **Security:** 1 of the 4 changed packages come from `trixie-security`. Release rule: cut an OS patch release with this change within 7 days (`docs/dev/contributing.md` # Release model). | Package | From | To | Source | |---|---|---|---| | `containerd.io` | `2.3.6-1~debian.13~trixie` | `2.4.1-2~debian.13~trixie` | | | `docker-ce` | `5:29.8.2-1~debian.13~trixie` | `5:29.9.0-1~debian.13~trixie` | | | `docker-ce-cli` | `5:29.8.2-1~debian.13~trixie` | `5:29.9.0-1~debian.13~trixie` | | | `liblzma5` | `5.8.1-1+deb13u1` | `5.8.1-1+deb13u2` | trixie-security | Merging this puts the change on `dev`, not on any box. It ships with the next OS release (`docs/dev/contributing.md` # Release model).
The box snapshot now carries home.sections and pack keywords (onmoose/store#203), and it already carried packs, which the box ignored. The brain models them, resolves them against the apps it holds, and drops what this box cannot show: a missing id leaves its slot, a pack with any missing or remap-needing app drops whole, and empty slide lists, groups and sections drop whole. /catalog/home returns the sections, /catalog/pack?id= serves one pack, /catalog/search returns matching packs after the apps, and /catalog/illustration?key= proxies slide and pack art through the asset cache. The pack route takes a query value because /catalog/packs/{id} clashes with /catalog/{id}/install-plan in the mux. Refs #591
The store draws search, discover, intents, packs and categories in the order the catalog sends them, and keeps the older spotlight and groups landing when it sends none. A pack opens /store/packs/:id, where each app has its own Install: a pack never installs in one click. The detail page's install entry moves into useStartInstall so the pack page runs the same flow. Refs #591
Rewrite APP_STORE.md # Landing page, list the store routes in BRAIN_UI_PROTOCOL.md, and park the question of when the store may stop publishing spotlight and groups in NEXT.md. Refs #591
The button opens the pack page, where each app installs on its own. "Install pack" suggested a one-click install of every app. Refs #591
The sectioned landing now starts with the search box and has no category pills at the top. Its categories section is one tab per group: picked apps first, then the category's other apps, with Show more from five apps. The older landing keeps its pills. Refs #591
Box store: draw the landing from the catalog's sections, add pack pages
OS lock (security): liblzma5 5.8.1-1+deb13u1 to 5.8.1-1+deb13u2 and 3 more
Add a section to the release model that says which line each PR belongs to, when a bump is a patch or a minor on each line, and that an agent proposes the numbers and waits before it opens any PR.
Bump VERSION to 0.16.1 and CONTROL_PLANE_VERSION to 0.17.0
|
| if err := os.WriteFile(ovPath, out, 0o644); err != nil { | ||
| return fmt.Errorf("write override: %w", err) |
There was a problem hiding this comment.
Failed saves damage app settings
ensureImages uses os.WriteFile to overwrite the working override, truncating it before writing. If a missing-image download leaves the disk full, or the brain stops during the save, the file can be empty or partial. Later starts read that damaged file instead of rebuilding it, so the app may no longer start.
Write to a temporary file in the same directory and rename it over the override only after the write succeeds.
| <p v-else-if="home.isError.value" class="text-sm text-destructive"> | ||
| Couldn't load the catalog. {{ (home.error.value as Error)?.message }} | ||
| </p> |
There was a problem hiding this comment.
On a sectioned landing, a failed refresh of home removes the search input and results. Cached sections keep hasSearchSection true, hiding the heading input, while home.isError blocks the branch containing the section input. The old landing kept its heading input visible.
Keep the cached section layout mounted when a background refresh fails and show the error alongside it. Otherwise, users cannot change or clear their search until the landing request succeeds again.
The headline: a Debian security fix in the OS, and a control plane that installs apps more reliably and shows the store the same way the website does.
OS 0.16.1 (patch)
What ships:
liblzma5(5.8.1-1+deb13u1to5.8.1-1+deb13u2, fromtrixie-security), from the OS lock bump in OS lock (security): liblzma5 5.8.1-1+deb13u1 to 5.8.1-1+deb13u2 and 3 more #590. The release rule says atrixie-securitychange ships in an OS release within 7 days. OS lock (security): liblzma5 5.8.1-1+deb13u1 to 5.8.1-1+deb13u2 and 3 more #590 merged on 2026-10-09, so this must be released by 2026-10-16.docker-ceanddocker-ce-cli29.8.2 to 29.9.0,containerd.io2.3.6 to 2.4.1.docker-compose-pluginstays at 5.6.0.20261003T083111Zto20261009T083023Z.Why a patch: the OS change is the package lock only. Nothing in host-agent, the image build, the disk layout or the brain to host-agent protocol changed. A patch release never changes an on-disk format, and this one does not.
Control plane 0.17.0 (minor)
What ships:
andrei.onmoose.io). The box already treated the id as an opaque label, so this is specs, comments and tests only. No box behaviour changes.Why a minor: #589 and #592 are new features people will see, and #589 adds a column to the brain's database (
instance_images.ref). The change is additive with a default of'', so an older brain still reads the database.Upgrading
minimum_host_agentstays at 0.4.0 (minimumAgentVersionincmd/brain/main.go). The new brain needs nothing from the new OS, so a box on OS 0.16.0 can run control plane 0.17.0.v0.16.1andcontrol-plane-v0.17.0, creates both Releases, runs the full boot proof, signs the bundle, attaches the image and the bundle, and pushes the brain and UI images to ghcr.