Capture pipeline readiness diagnostics and failures

This commit is contained in:
2026-11-28 04:26:30 +00:00
parent 97642c491f
commit 71239b6fbb
8 changed files with 218 additions and 8 deletions

View File

@@ -115,6 +115,10 @@ func (writer *runEvidenceRecorder) WriteJSON(name string, payload any) error {
copy := *value
copy.EffectiveModelParams = writer.target(copy.EffectiveModelParams, copy.SelectedProfileID, copy.SelectedBackendID)
payload = copy
case *promptkit.SmokeTestReport:
copy := *value
copy.Target.EffectiveSettings = writer.target(copy.Target.EffectiveSettings, copy.Target.ProfileID, copy.Target.BackendID)
payload = copy
}
return writer.Recorder.WriteJSON(name, payload)
}