Track latest stage attempt diagnostics

This commit is contained in:
2026-11-30 01:24:29 +00:00
parent a5d541529d
commit 16c3d7d643
10 changed files with 561 additions and 4 deletions

View File

@@ -49,6 +49,11 @@ type RunWorkspacePolicy interface {
RequiresRunWorkspace() bool
}
// AttemptViewPolicy identifies a known self-skip before any attempt paths are created.
type AttemptViewPolicy interface {
NeedsAttemptViews(*Env) bool
}
const maxResumeReasonLength = 512
// ResumeValidation reports whether a previously succeeded stage can be reused.