Verify diagnostic deliveries inside CI

This commit is contained in:
2026-12-05 23:00:04 +00:00
parent 4210552cb8
commit 5ddb7453ec
13 changed files with 578 additions and 19 deletions

View File

@@ -30,3 +30,15 @@ Manifest and record strings that contain non-UTF-8 bytes are omitted in their
lossy JSON form and represented by standard base64 values in `identity_bytes`.
A recognized override supplies the exact bytes on decoding; unknown override
names are ignored. Supported versions tolerate additive unknown fields.
## CI result
After verifying a diagnostic tag, the delivery job emits one line beginning
`RELEASEKIT_REHEARSAL_RESULT_V1 ` and a JSON object. It includes the manifest
identity and exact-byte overrides, delivery scope and outcomes, the observed
page ID, and each verified artifact's filename, size, and SHA-256. A failed job
emits the evidence it has reached; an earlier bootstrap failure can leave no
result. The observer reads complete log lines, accepts identical retransmissions,
and rejects malformed, conflicting, or mismatched evidence without echoing the
raw log. The page and declared assets are read back before managed build output
is removed.

View File

@@ -557,6 +557,14 @@ Use local HTTP servers and temporary Git remotes throughout.
## Stage 11: Run and verify the diagnostic delivery inside CI
**Completed:** `ci-deliver` verifies diagnostic tags and committed profiles,
uses the shared managed delivery and build path, and reads back the exact page
and declared assets before temporary output cleanup. Framed job results retain
identity and partial outcomes, and log parsing detects malformed, foreign, or
conflicting evidence without a scanner line limit. Page-only and real binary
fixtures cover credential failure and failed read-back/retry; the offline
`go test ./...` suite and compiled API/dependency check pass.
**Work:** extend CI preparation and shared delivery with the diagnostic identity.
1. `ci-deliver` recognizes a verified diagnostic manifest after normal exact-tag