5.9 KiB
Device Core automatic deployment acceptance
Date: 2026-09-29. First automatic release accepted; the second was rejected by runtime
acceptance and successfully rolled back. Ordered-release acceptance remains open. This report concerns Device Core only. B2 multi-client contours are
a separate implementation in NODEDC_MISSION_CORE_ARNAVI-VPS.
Installed authority
Platform source: f7416bc59a19a9ac53c4f4591eaf50a7f4a41641.
Root runner SHA-256:
c1301d1072f3d5d39ba422a09847a05a5aad8a753c816d7fb6916d1f1cadd9c6.
The operator's promotion returned verify-install-ok, Python3.8.15.
Controller artifact:
nodedc-device-core-autodeploy-v1-20260929-001.tgz, SHA-256
fe9298baa5f41a35c2705ee9946b730ff2de7d5b5c9b2b8eb1b4cca0bc8ed12b.
Canonical ledger386 records success at18:35:52Z, with backup
device-core-autodeploy-device-core-autodeploy-v1-20260929-001-20260929-213533.
Native timer, private token import, no published ports and preservation of
existing applications were checked by canonical apply.
The temporary Mac token file and NAS enrollment staging were removed after private import. The NAS retains its root-private working credential and queue. The observer on the Mac only reads Gitea/SMB and verifies hashes; it has no stage, plan or apply role in these automatic releases.
Two consecutive main pushes
Both commits were pushed before the first release completed, without a manual NAS plan/apply. Build runner1 has capacity1. The controller orders releases by their durable run identity and invokes the canonical installer itself.
| Run | Device Core source | Artifact SHA-256 | Canonical result |
|---|---|---|---|
| 8 | 154f243cfde4c9407a28c4d0cb63d29b4cea7c4c |
2d830958572509df220125a90251d1106abee50e5d891852140e83496ba325f6 |
ledger387, success18:56:55Z |
| 9 | e912e6ffaf7e142afa02254c6c48ac645eb2db63 |
5e678e69b316ceb547112c45ac51cc2294b2f301f2bdc380bcf4347e504739fb |
failed ledger79, clean rollback19:04:04Z |
Each artifact basename is
nodedc-device-core-release-v1-r<RUN>-<FULL-SOURCE-SHA>.tgz.
Run8 backup:
device-core-release-device-core-release-v1-r8-154f243cfde4c9407a28c4d0cb63d29b4cea7c4c-20260929-215159.
Its archive digest matches the independently retrieved Gitea receipt; the inbox
entry is absent, there is exactly one applied receipt and no failed receipt.
The lifecycle inspector classifies it as terminal_success; never replay it.
Actual interruption and product checks
After staging run8, a subsequent Gitea request failed with api_unavailable
at18:51:05Z. The controller retained the candidate and automatically resumed;
its backup was created at18:51:59Z, followed by successful application at18:56:55Z.
No operator command, new commit, timeout expiry or re-enrollment was required.
This verifies one observed network-interruption recovery, not every outage case.
Only Core and Manager are rebuilt/recreated by the normal release domain. Canonical acceptance checks selected generations/images, exact source and runtime configuration, health, database/Gateway/backhaul preservation and other Compose services. A green CI run alone is never treated as deployment.
After run8, the public Manager /healthz returned200 with ok, authRequired
and deviceCoreConfigured true. The authenticated browser rendered Device Core
as DC SUDO, opened Devices and retained DCTOUCH and
Robot2B — Moscow Trike Delivery in the owner/project selectors.
Reproducible normal use and limits
Push to Device Core main from any computer. Read qualification in Gitea Actions;
read installation from the canonical applied journal and its archive/backup.
The controller's sanitized runtime-status.json is the last completed cycle;
it can still show that cycle while a new build/apply runs. waiting after a
release does not mean the installed release disappeared.
Main application updates need no SMB copy, SSH session or per-commit sudo. Root-runner changes, schema/build foundation migrations, topology changes and onboarding another repository remain separately registered infrastructure work. The ordinary release domain intentionally cannot introduce those transitions.
Source tests cover failed/pending CI, duplicate/overlapping runs, changed pagination, mismatched identities, crash reservation reconciliation and clean or uncertain rollback. Run9 encountered a real Manager configuration mismatch and passed automatic rollback. Production was not deliberately crashed for this acceptance. Fleet capacity, B2 auth and contour isolation are not established by these deployment checks.
Run9 incident
The canonical failure is Device Core release runtime configuration drift: device-manager, failed ledger79, rollback ok:device-core-release at19:04:04Z.
The failed archive is the run9 basename with suffix .20260929-215803.
Its digest and backup are verified; it must never be replayed. Run8 remains the
accepted source. The old before snapshot retains only an aggregate configuration
hash, so the exact differing field was not retained before rollback removed the
failed container. Two-network NetworkMode selection is a hypothesis, not a
proven cause. Add per-field hash evidence without changing acceptance semantics
before attempting a forward fix.
The prepared instrumentation keeps fingerprint v2 unchanged and records only
per-field hashes plus the names of changed fields in the canonical failure
receipt. Eight focused evidence cases cover redaction, stable container identity,
mount-order equivalence versus option changes, network mismatch rejection and
legacy snapshots. An additional real apply/rollback dispatcher test confirms
that the diagnostic survives rollback in the failed journal.
Validation:75 Device Core release/bootstrap/recovery tests;75 registry tests
(1 historical skip);170 Device Core artifact tests (17 historical skips);
Python3.8 syntax and diff checks. Runner candidate SHA-256:
3eefc75591bb08339d79c6a484912d7d6a8881fe8729e966b6f0bf32da21da80.
It is prepared, not installed. No new release has been submitted after run9.