Assemble complete modular LAB recordings on Worker before readiness

This commit is contained in:
DCCONSTRUCTIONS
2026-11-10 04:44:02 +03:00
parent 800518ea80
commit 58ac9fe3d2
12 changed files with 989 additions and 49 deletions
+32
View File
@@ -625,3 +625,35 @@ and unowned interrupted payloads remain separate ownership work; no global
recursive cleanup or new age-based purge has been introduced.
Evidence and exact measured cleanup: [9 November closeout](../outputs/lab-source-lifecycle-20261109/REPORT.md).
## Automatic complete LAB assembly — 10 November 2026
New `worker-ready-v1` compositions become ready only after their full immutable
RRD is published on Worker. Existing accepted compositions are not enrolled or
rebuilt. Core's existing result reconciliation submits the source/member digest
plan and streams missing inputs from existing stores without transfer duplicates.
The current module-result publication/CAS path is preserved; this change moves
full-recording rendering, not every existing result transport, off the operator.
`presentation/replay-builds/<composition-id>` on the bound LAB volume owns only
that build's `inputs`, `assembly`, plan and state. Single-consumer assembly uses
the existing renderer and FFmpeg runtime. Immutable publication precedes removal
of input/assembly scratch. Active transfer/build leases block explicit deletion;
startup resumes interrupted builds and retires only identifiable upload partials
in verified owned build directories. Models, source recordings and unrelated LABs
are outside this cleanup. Failed jobs retain their retry inputs until recovery or
explicit owner deletion; they are not silently discarded by age.
The complete product stays under `presentation/portable-replays`; the operator
downloads that file into its ordinary viewing cache with size/SHA verification.
New compositions never fall back to local full-RRD assembly. Existing local-copy
expiry and pin rules apply only to viewing copies. Restore after Core restart
reads a previously published canonical source package without invoking an exporter.
Missing canonical preparation remains an explicit prerequisite failure.
Acceptance: a new short JA composition with DDRNet and TRAVEL TGS published
12,780,813 bytes before any view request. GUI download from zero local product
bytes, playback, seeking and both layer toggles passed. Existing accepted LABs
and their pins were preserved. Evidence, limits and release identities:
[Worker assembly report](../outputs/lab-worker-assembly-20261110/REPORT.md).