Complete rehearsal guidance and integrated verification
This commit is contained in:
@@ -9,6 +9,13 @@ publication and version selection, diagnostic version, and full tag. A
|
||||
16-byte random attempt ID is represented by 32 lowercase hexadecimal digits;
|
||||
the tag and injected version include the same ID.
|
||||
|
||||
The manifest fields are `schema_version`, `attempt_id`, `selector`, `commit`,
|
||||
`profile_path`, `profile_sha256`, `source_dir`, `go_enabled`, optional
|
||||
`module_path`, `publication_mode`, `version_format`, `version_prefix`,
|
||||
`diagnostic_version`, and `tag`. The diagnostic ref has the form
|
||||
`releasekit-test/<selector>/<attempt-id>`; the injected version is
|
||||
`releasekit-test-<attempt-id>`.
|
||||
|
||||
The manifest is verified against the actual annotated tag target, the event
|
||||
commit, the selected dispatch row, the exact committed profile bytes, and the
|
||||
normalized selection decoded from those bytes. The tag namespace alone is not
|
||||
@@ -17,8 +24,7 @@ captured commit rather than the current working tree.
|
||||
|
||||
Private attempt records use `format_version: 1` and retain the manifest, Git
|
||||
endpoint and remote, forge and Woodpecker destinations, planned page and asset
|
||||
identities,
|
||||
tag object, observed resource IDs, timestamps, and outcomes. They do not store
|
||||
identities, tag object, observed resource IDs, timestamps, and outcomes. They do not store
|
||||
resolved forge or Woodpecker tokens. Endpoints and paths may themselves contain
|
||||
sensitive information, so treat records as private. By default they are stored
|
||||
under the Git common directory in `releasekit/rehearsals/<attempt-id>.json`.
|
||||
@@ -44,6 +50,13 @@ 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.
|
||||
|
||||
The result uses the manifest fields plus `scope` (`page` or
|
||||
`page-and-assets`), `build`, `delivery`, `verification`, `page_id`,
|
||||
`artifacts` entries with `name`, `size`, and `sha256`, and optional safe
|
||||
`diagnostics`. A successful result requires complete delivery and verification
|
||||
and a positive page ID. For asset scope it also requires the planned artifacts,
|
||||
including the checksum manifest.
|
||||
|
||||
The start coordinator records tag creation and push intent before dispatch. It
|
||||
keeps matching pipeline numbers, workflow and step observations, the job result,
|
||||
and partial outcomes in the selected attempt record. A timeout or cancellation
|
||||
|
||||
Reference in New Issue
Block a user