Skip to content

Release 0.16.1 (OS) and control plane 0.17.0 - #594

Merged
onel merged 31 commits into
mainfrom
release/0.16.1
Oct 9, 2026
Merged

onel merged 31 commits into
mainfrom
release/0.16.1

Conversation

@onel

@onel onel commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

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:

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:

  • Backup image sources (Pull an image from a backup source when upstream fails #589). The catalog can list backup places that serve the same image digest. When the upstream registry fails, the box pulls from a backup instead of failing the install. The digest stays the same, so a backup cannot change what runs. Before each start the brain also checks that every pinned image is still there and pulls a missing one again.
  • Retry when a registry rate-limits a pull (Retry an image pull the registry rate-limits #587). An install used to roll back when ghcr answered one pull with HTTP 429. The brain now waits and tries again (2, 4, 8 and 16 seconds) before it gives up.
  • A sectioned store landing and pack pages (Box store: draw the landing from the catalog's sections, add pack pages #592). The box store now shows the same sections as the website's store: search, discover, intents, packs and categories. A new pack page lets you install each app in a pack. Search now finds packs too. A catalog that has no sections yet still gets the old landing. The catalog side (onmoose/store#203) is not merged yet, so boxes keep the old landing until it is.
  • Bare box ids (Spec the box-id as the name the owner chose, with no suffix #585). The box-id can now be the name the owner chose (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_agent stays at 0.4.0 (minimumAgentVersion in cmd/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.
  • A hosted box moves to control plane 0.17.0 once its update target names it. A box made from the 0.16.0 image takes OS 0.16.1 once its update target names the bundle.
  • New boxes made from the 0.16.1 image get both from the start.
  • Merging the release PR into main tags v0.16.1 and control-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.

onel and others added 30 commits October 6, 2026 18:40
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.
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
A catalog whose apps carry no categories can still send sections. The
empty-store check looked only at categories and the featured row, so it
hid those sections and the search box. Found by Greptile on #592.

Refs #591
The heading's search input showed until the sections arrived, then was
swapped for the section's input, so a user typing early lost focus.
Also drop the stale six-method count from architecture.md. From the
Sonnet review on #592.

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
A category tab now matches an app's category without regard to case,
like the brain's own category match. When GET /catalog fails, the tab
says it shows only the picked apps and offers a retry, instead of
quietly hiding the rest. Raised by Greptile and the Sonnet review on
#592.

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
@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

[High impact] Version bump and API contract changes for two release lines.

Protect the working override during image recovery before merging; the search-refresh issue is a smaller follow-up.

Findings

  1. P1 Failed saves damage app settings ▶
  2. P2 Failed refresh removes search ▶

Reviews (1) · Last reviewed commit: "Merge pull request #593 from onmoose/rel..." · Reviewed by Greptile

Comment on lines +530 to +531
if err := os.WriteFile(ovPath, out, 0o644); err != nil {
return fmt.Errorf("write override: %w", err)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 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.

Comment on lines +314 to 316
<p v-else-if="home.isError.value" class="text-sm text-destructive">
Couldn't load the catalog. {{ (home.error.value as Error)?.message }}
</p>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Failed refresh removes search

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.

@onel
onel merged commit c63c7fd into main Oct 9, 2026
20 checks passed
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