{{define "operations"}}

Processing history

{{range .Items}}{{else}}{{end}}
OperationSourceStatusCreated
{{if .SourceID}}{{.SourceID}}{{else}}Unavailable{{end}}{{publicStatus .Status}}
No operations match these filters.
Select an operation to inspect its saved facts.
{{end}} {{define "operation"}}

Operation details

{{.Result.Status}}
{{shortIdentity .Result.Id}}{{.Result.Id}}

Updated {{activityTime .Result.UpdatedAt}}

{{with .Result.Details}}{{with .Execution}}
{{.WorkAttempt}}Work attempt
{{.RetryAttempt}}Retry attempt
{{.ApplyAttempt}}Apply attempt
{{.ManualRetryCount}}Manual retries
{{if .ReadyAt}}

Ready at {{activityTime .ReadyAt}}

{{end}}{{else}}

Unavailable

{{end}}{{else}}

Unavailable

{{end}} {{if and .Result.Details .Result.Details.Retrieval}}
{{.Result.Details.Retrieval.Effective}}Saved report{{with .Result.Details.RetrievalAttempt}} · attempt {{.}}{{end}}
{{with .Result.Details.Retrieval.Reason}}

{{label .}}

{{end}}{{else}}

Unavailable

{{end}} {{if and .Result.Details .Result.Details.Context}}{{with .Result.Details.Context}}

Saved report · work attempt {{.WorkAttempt}} · {{label .Outcome}}

{{with .Pages}}
{{range .}}
{{.PageId}}{{label .SelectionReason}} · {{label .Disposition}}
{{end}}
{{end}} {{with .Budget}}
{{.OmittedCount}} candidates excluded by the request byte budget.
{{.IncludedCount}} included · {{if .UsedBytes}}{{.UsedBytes}}{{else}}Unavailable{{end}} measured bytes / {{.MaxBytes}} maximum.
{{else}}

Request budget unavailable.

{{end}}
{{.EntriesOmitted}} candidate entries omitted from this diagnostic list by reporting bounds.
{{with .VectorProjection}}

Vector projection during this attempt: {{label .State}}{{with .Reason}} · {{label .}}{{end}}

{{end}} {{end}}{{else}}

Unavailable

{{end}}
About selected context

Context shows what the maintainer read. It is not a list of changed pages.

{{if and .Result.Details .Result.Details.Plan}}{{with .Result.Details.Plan}}
Plan digest
{{shortRevision .Digest}}{{.Digest}}
Files in plan
{{if ne .FileCount nil}}{{.FileCount}}{{else}}Unavailable{{end}}
{{end}}{{else}}

Unavailable

{{end}}
Correction details{{if and .Result.Details .Result.Details.Correction}}{{with .Result.Details.Correction}}

Work attempt {{.WorkAttempt}} · {{label .Outcome}}

Plan corrections
{{if ne .Corrections nil}}{{.Corrections}}{{else}}Unavailable{{end}}
Maximum corrections
{{.MaxCorrections}}
Generation turns
{{if ne .Turns nil}}{{.Turns}}{{else}}Unavailable{{end}}
Output bytes
{{if ne .OutputBytes nil}}{{.OutputBytes}}{{else}}Unavailable{{end}}
Maximum output bytes
{{.MaxOutputBytes}}
{{with .ValidationCode}}
Validation
{{label .}}
{{end}}
{{end}}{{else}}

Unavailable

{{end}}

Plan corrections belong to a producing work attempt; they are separate from retries.

{{end}}