Skip to content

Add one-call immediate manual service updates - #2

Merged
KyleDerZweite merged 10 commits into
mainfrom
feat/immediate-manual-update
Oct 5, 2026
Merged

KyleDerZweite merged 10 commits into
mainfrom
feat/immediate-manual-update

Conversation

@KyleDerZweite

@KyleDerZweite KyleDerZweite commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

An authorized manual update currently needs separate discovery, Git publication and apply commands. Add mooring update SERVICE --now to publish and deploy the latest allowed stable tag immediately, or --now --version TAG to select an exact higher stable tag in the same repository and semver family.

This invocation bypasses the window and release-age delays. Only an exact version overrides the automatic semver level. Bare update, update --commit and run retain their behavior; no host configuration or timer changes.

One host/maintenance lock covers the operation. Drift, pending operations, unapplied host policy and non-image changes stop publication. A durable receipt pins the digest and prepared Git commit before push. Retries retain that target, pending image-only Git intent takes precedence, and JSON reports publication, deployment phases and actionable recovery. Matching retained approval survives later publication failures. Healthy targets remain unchanged; unknown or different applied bytes require explicit review instead of an implicit same-tag repull.

Closes #1.

Validation for source 13b17357b9b963eff649ca130e4c4f31feaf86b7:

  • 83 local tests passed; Ruff lint and format passed. Independent review found no remaining source findings.
  • 20 real Docker/rootless-Podman integration cases passed in 206.14 seconds, including all teardown and persistence checks. No test containers, volumes or networks remained.
  • Ubuntu 26.04, Docker 29.1.3/Compose 2.40.3, rootless Podman 5.7.0/podman-compose 1.6.0, Skopeo 1.21.0-dev, Python 3.14.4.
  • Earlier Podman cleanup failures required the host owner to reload the unchanged existing Pasta AppArmor profile. Final cleanup passed. Local SELinux-host diagnostic limits are recorded in docs/validation.md.

The subsequent validation commit changes documentation only. GitHub CI checks Python 3.11 and 3.14. The installed Mooring checkout, production services, schedules and credentials were not changed. No merge or production rollout is included.

@KyleDerZweite
KyleDerZweite marked this pull request as ready for review October 5, 2026 12:37
@KyleDerZweite
KyleDerZweite merged commit 7e43d50 into main Oct 5, 2026
4 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.

Support a one-call immediate manual service update

1 participant