Files
NODEDC_PLATFORM/infra/device-core-deploy/ACCEPTANCE_20260929.md
T

7.7 KiB

Device Core automatic deployment acceptance

Evidence date: 2026-09-29; report updated 2026-09-30. 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.

Remaining acceptance and handoff

  • Controller bootstrap accepted by the canonical installer.
  • Run8 passed CI and automatically reached an accepted production release.
  • An observed Gitea interruption recovered without operator intervention.
  • Run9 failed runtime acceptance and automatically restored accepted run8.
  • Candidate013 retains redacted field-level evidence and passed its source tests.
  • Install candidate013 through the separate root runner promotion gate.
  • Obtain exact evidence for the Manager mismatch and qualify its correction.
  • Accept two ordered automatic application releases after the correction.

Candidate013 source is Platform d1c5401f52f32cdc4bc4c6db5df8f8d5d6fc7045, with staged candidate name nodedc-deploy.device-core-runtime-evidence-20260929-013. Its byte count is 1785138 and its digest is recorded above. It preserves the installed runner's acceptance and rollback rules; it is instrumentation, not a proven incident fix. Do not submit the next Device Core release until its promotion is confirmed. Neither the successful bootstrap/run8 nor the terminal failed run9 is replayed.

At the 2026-09-30 documentation pass, the Mac's /Volumes/docker share was disconnected. Historical receipts and artifact hashes remain available locally; this report does not claim a new live NAS inspection at that time. Reconnect the share, check for newer terminal receipts and verify the staged candidate before giving the operator the prepared Synology promotion command.

Worker006 is not part of Device Core CI/CD. Its Windows installation and any unverified Linux guest are irrelevant to this acceptance. A later isolated B2 fleet test is separate work and does not block finishing Synology deployment.