Adopt native Notarius completion reports

This commit is contained in:
2026-11-30 00:48:14 +00:00
parent 4e3ac343b4
commit a3ce64f841
7 changed files with 660 additions and 525 deletions

View File

@@ -36,6 +36,9 @@ type RunRequest struct {
ReceiptPath string
LogPath string
Timeout time.Duration
Cache *string
Debug bool
DebugDirectory string
Resume bool
ChunkCache string
References []ReferenceBinding
@@ -154,6 +157,7 @@ type DiagnosticSummary struct {
// RunResult describes a successfully decoded and validated Notarius bundle.
type RunResult struct {
Report CompletionReport
Receipt Receipt
Index Index
BundleRoot string
@@ -165,3 +169,12 @@ type RunResult struct {
Warnings []WarningSummary
Diagnostics []DiagnosticSummary
}
// CompletionReport contains facts reported by a successfully completed run.
type CompletionReport struct {
Pipeline string
ArtifactCount int
OutputDirectory string
DebugDirectory string
FallbackCount int
}