Qualify Device Core releases against accepted network priority contract
Device Core qualification / qualify (push) Successful in 6m21s
Device Core qualification / qualify (push) Successful in 6m21s
This commit is contained in:
@@ -7,71 +7,72 @@ Device Core; other repositories keep their existing policy until onboarded.
|
||||
|
||||
## Current implementation status
|
||||
|
||||
The source qualification workflow is implemented in `.gitea/workflows/ci.yml`.
|
||||
It does **not** deploy. Gitea Actions and the persistent Synology build runner
|
||||
are installed. The normal `device-core-release` transition accepted r7, and the
|
||||
outbound deployment controller bootstrap was accepted on 2026-09-29 at18:35:52Z
|
||||
(canonical ledger386). Automatic run8 was accepted at18:56:55Z (ledger387),
|
||||
source `154f243cfde4c9407a28c4d0cb63d29b4cea7c4c`. Run9 passed CI but failed
|
||||
Manager runtime-configuration acceptance at19:04:04Z (failed ledger79), then
|
||||
successfully rolled back to run8. Full ordered-release acceptance remains open;
|
||||
the exact Manager mismatch has not yet been established.
|
||||
A green qualification is not a deployment receipt.
|
||||
As of 2026-09-30, Gitea qualification and the outbound Synology controller have
|
||||
accepted two ordered automatic updates, r11 and r12 (canonical ledgers388/389).
|
||||
The application baseline is r12/source
|
||||
`b2660df9e26afe977bfa62efd35a8397eac4898b`, accepted at05:49:19Z with archive SHA
|
||||
`44c62036967c3ed26bd6c82f94e6f4103ccad06f45c383498210b43ad80c9d7c`.
|
||||
Gitea qualification alone is not a deployment receipt.
|
||||
|
||||
The installed root runner SHA is
|
||||
`3eefc75591bb08339d79c6a484912d7d6a8881fe8729e966b6f0bf32da21da80`,
|
||||
from Platform `d1c5401f52f32cdc4bc4c6db5df8f8d5d6fc7045`, confirmed by the
|
||||
operator's `verify-install-ok` on 2026-09-30 (Python3.8.15).
|
||||
Controller bootstrap `device-core-autodeploy-v1-20260929-001` has artifact SHA
|
||||
The installed root runner015 has SHA
|
||||
`7a213b7d086225ac9677f52e1bde99dd4b57d77da7c548aadb11793336911cf2`,
|
||||
from published Platform `50dc3b1a2cb1191484f5b90de2d2702b14127425`.
|
||||
The operator confirmed its exact verify-install receipt and Python3.8.15.
|
||||
Source qualification now pins this same Platform commit. The branch containing
|
||||
that commit is `fix/device-core-network-priority-20260930`; the full SHA, not
|
||||
its moving branch tip, remains the source identity.
|
||||
|
||||
Canonical metadata transition `device-core-network-priority-v1-20260930-002`
|
||||
was accepted at09:12:12Z on30September (ledger390), archive SHA
|
||||
`5ee23f440ef4a5ef7593c5c35b27b17d93d556453df69e152caee1ddd41e8c7b`.
|
||||
Backup:
|
||||
`device-core-network-priority-device-core-network-priority-v1-20260930-002-20260930-121204`.
|
||||
Its plan identified the actual NAS Compose as `2.20.1-6047-g6817716`.
|
||||
The installer proved unchanged running services, databases, volumes, ports and
|
||||
secrets; it wrote only the exact descriptor and recurring-release Compose override.
|
||||
The installed private primary network is now explicitly preferred for both Core
|
||||
and Manager on future normal updates and their automatic rollback. NetworkMode,
|
||||
all other configuration fields and runtime fingerprint v2 remain strict.
|
||||
Two automatic application updates using this accepted override are the next live
|
||||
acceptance gate; metadata acceptance by itself does not claim they have passed.
|
||||
|
||||
Earlier r9 passed CI but failed Manager runtime-configuration acceptance and
|
||||
successfully rolled back to r8. Its exact differing field was not retained, so
|
||||
it remains unproven historical evidence. Runner013 introduced field-level hashes
|
||||
before rollback. Subsequent work independently reproduced Compose's random
|
||||
primary-network choice at equal priorities and corrected that contract. This
|
||||
reproduction does not retroactively establish the precise r9 cause.
|
||||
The first metadata plan001, under014, also exposed a parser coverage gap:
|
||||
Compose emits a bare network endpoint as null. Version015 includes a regression
|
||||
using full real Compose JSON, preserves exact raw config hashes and accepts only
|
||||
the local null/empty-endpoint equivalence. Old001 was never applied and must not
|
||||
be replayed. See Platform `infra/device-core-deploy/NETWORK_PRIORITY_20260930.md`.
|
||||
|
||||
The controller bootstrap was accepted on29September at18:35:52Z (ledger386),
|
||||
artifact `device-core-autodeploy-v1-20260929-001`, SHA
|
||||
`fe9298baa5f41a35c2705ee9946b730ff2de7d5b5c9b2b8eb1b4cca0bc8ed12b`.
|
||||
Its first eligible run is8; historical failed and already installed runs are excluded.
|
||||
The controller's bootstrap baseline was r7 /
|
||||
`edf69068ec64e3d105d5324d39b8eaeface21215`. The latest accepted application
|
||||
release in the 2026-09-29 evidence is r8, as recorded above. Failed run9 is
|
||||
terminal and must not be restaged or replayed.
|
||||
Its baseline was r7/source `edf69068ec64e3d105d5324d39b8eaeface21215`;
|
||||
run8 was the first eligible automatic run. Historical terminal runs are not replayed.
|
||||
An actual Gitea API interruption before r8 reservation recovered without operator
|
||||
intervention. Run10 failed in npm installation before creating an artifact.
|
||||
Frozen dependency installation now retries at most three times for explicit
|
||||
ECONNRESET/ETIMEDOUT/EAI_AGAIN only, with5/10second pauses; integrity, auth,
|
||||
lockfile, other/mixed errors and test/build failures still fail immediately.
|
||||
A real ECONNRESET in r12 recovered through that rule, then qualification and
|
||||
installation passed. An exhausted install cannot produce a qualification receipt.
|
||||
|
||||
Installed Platform runner013 adds redacted per-field evidence before automatic
|
||||
rollback. It does not relax runtime acceptance or prove the cause fixed. The next
|
||||
application release will use this instrumentation; the source qualification pins
|
||||
the same published Platform commit.
|
||||
Run10 (`893cb6490c1d37df1f9bca19d5c058c304091b87`) then failed before producing
|
||||
an artifact: npm reported `ECONNRESET` during dependency installation. No release
|
||||
was installed. Dependency installation now makes at most three frozen `npm ci`
|
||||
attempts for explicit ECONNRESET, ETIMEDOUT or EAI_AGAIN errors, with 5/10second
|
||||
pauses. Integrity, authentication, lockfile, unclassified and mixed errors fail
|
||||
immediately. Build/test failures are never retried by this rule, and an exhausted
|
||||
install failure cannot produce a qualification report.
|
||||
Pushes may originate from any computer. The Mac, SMB session, SSH session and
|
||||
Worker006 are not dependencies of recurring delivery. The native outbound timer
|
||||
runs30seconds after the previous cycle completes. The root-private read token,
|
||||
SQLite queue and status live under `/var/lib/nodedc-device-autodeploy`, outside
|
||||
build jobs and application artifacts. No extra inbound port was introduced.
|
||||
The repo-scoped `synology-device-core-build` runner is id1. Its dependency pins
|
||||
must all exist in their remotes: the initial Launcher failure was resolved by
|
||||
publishing its exact existing commit without changing Launcher main or runtime.
|
||||
|
||||
Run11 (`70065fb74c449c16094dd4bc05356a8174ec4524`) passed265application,
|
||||
25CI and170artifact tests (17historical skips), then installed automatically at
|
||||
2026-09-30T05:36:45Z, canonical applied ledger388. Its artifact SHA-256 is
|
||||
`a1c9d201b2f129413b041fb56f2d35f0a05d3936f7ea46116b32929eab343418`;
|
||||
the independently downloaded CI receipt, applied archive and backup agree.
|
||||
Only manifest/release metadata differ from the accepted r8 application payload.
|
||||
Runtime013 recorded per-field hashes before installation; Manager drift did not
|
||||
recur in this attempt. Run11 is the latest accepted release at this checkpoint;
|
||||
this success alone does not establish the cause of the earlier intermittent r9
|
||||
failure. The next documentation push exercises another ordinary automatic update.
|
||||
The complete evidence and remaining gates are recorded in the Platform
|
||||
repository at `infra/device-core-deploy/ACCEPTANCE_20260929.md` and in Ops.
|
||||
|
||||
Pushes can originate from any computer. Gitea, the build runner and the controller
|
||||
on Synology perform the complete pipeline; an operator Mac does not participate.
|
||||
Worker006 is not required for this pipeline. Later isolated B2 load qualification
|
||||
is a separate task; its test host is not an autodeploy dependency.
|
||||
Native `nodedc-device-autodeploy.timer` invokes the root-owned canonical worker
|
||||
30seconds after its previous cycle completes, with no additional inbound port.
|
||||
The separate read token, SQLite queue and private status belong to root under
|
||||
`/var/lib/nodedc-device-autodeploy`, outside build jobs and application artifacts.
|
||||
|
||||
On 2026-09-29, canonical bootstrap `gitea-ci-bootstrap-v4-20260929-005`
|
||||
completed with `deploy-ok`, no published ports and production deploy disabled.
|
||||
The repo-scoped runner `synology-device-core-build` (id 1) is online. The first
|
||||
real workflow run started successfully but failed while fetching the pinned
|
||||
Launcher commit: it existed locally and had never been pushed. The dependency
|
||||
was published unchanged as `ci/device-core-integration-20260929` in the Launcher
|
||||
repository. Its `main` branch and running service were not changed. The full
|
||||
commit in `sources.lock.json` remains the authority, not the branch tip.
|
||||
Canonical receipts, archive digests, backups and separate product checks are
|
||||
recorded in Ops DCPLATFORM-37; DCPLATFORM-21 defines the deployment contract.
|
||||
The full historical report is Platform `infra/device-core-deploy/ACCEPTANCE_20260929.md`.
|
||||
|
||||
## Host and network
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
},
|
||||
"platform": {
|
||||
"url": "https://git.dcserve.ru/SILVER/NODEDC_PLATFORM.git",
|
||||
"commit": "d1c5401f52f32cdc4bc4c6db5df8f8d5d6fc7045"
|
||||
"commit": "50dc3b1a2cb1191484f5b90de2d2702b14127425"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user