Coordinate diagnostic attempts and CI observation
This commit is contained in:
@@ -16,7 +16,8 @@ proof of ownership or permission to delete anything. A profile is read from the
|
||||
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 evidence,
|
||||
endpoint and remote, forge and Woodpecker destinations, planned page and asset
|
||||
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
|
||||
@@ -42,3 +43,9 @@ 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.
|
||||
|
||||
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
|
||||
leaves those observations available for explicit recovery; it does not cancel
|
||||
the independent CI job or establish that cleanup is safe.
|
||||
|
||||
@@ -53,7 +53,7 @@ reports these implemented packages:
|
||||
| `internal/preparation` | Coordination for expected-commit tag checkout and Go module dependency preparation. |
|
||||
| `internal/readiness` | Working-input inspection and read-only setup observations for explicitly selected capabilities. |
|
||||
| `internal/recordstore` | Shared private-record location and worktree safety checks. |
|
||||
| `internal/rehearsal` | Diagnostic tag manifests and private attempt evidence for rehearsal recovery. |
|
||||
| `internal/rehearsal` | Diagnostic tag manifests, private attempt evidence, dispatch, and exact CI job observation for rehearsal recovery. |
|
||||
| `internal/releaseidentity` | Committed-object and working-tree module selection, declaration reading, and semantic-version-to-tag derivation. |
|
||||
| `internal/validation` | Shared Go validation with optional race, full-vet, and static package-compilation target selections, formatting, workspace-file and filesystem-replacement checks, per-blob size limits, and selected Markdown destination and fragment checking; `internal/candidate` retains capture, callback sequencing, and local-state rechecks. |
|
||||
| `internal/publish` | Publication guards, one validation run, annotated tag creation, push, pre-push evidence recording, saved-attempt discovery, later observation, and recovery state. |
|
||||
|
||||
@@ -602,6 +602,16 @@ chunked logs, absent/foreign/conflicting results; and temporary output lifetime.
|
||||
|
||||
## Stage 12: Coordinate rehearsal start and CI observation
|
||||
|
||||
**Completed:** The root facade starts recorded diagnostic attempts with
|
||||
explicit credentials, checks readiness against the captured commit, and pushes
|
||||
only the recorded tag after saving planned resources and intent. Observation
|
||||
tracks exact matching pipelines, workflows, steps, reruns, and framed evidence;
|
||||
timeouts and cancellation retain partial records for recovery. Local Git and
|
||||
HTTP fixtures cover delayed dispatch, missing evidence, failed jobs, active
|
||||
reruns, unsafe record locations, and dirty working inputs. The offline
|
||||
`go test ./...` suite, focused race tests, and API/dependency checks pass.
|
||||
Cleanup and recovery are completed by the following stage.
|
||||
|
||||
**Work:** implement `internal/rehearsal` coordination and the root facade.
|
||||
|
||||
1. Expose `Rehearse(ctx, RehearsalRequest) (RehearsalResult, error)`. The request
|
||||
|
||||
Reference in New Issue
Block a user