Preserve validation decisions across failed batches
This commit is contained in:
@@ -372,8 +372,8 @@ func TestGenerateCandidatesClientError(t *testing.T) {
|
||||
if err == nil || !strings.Contains(err.Error(), "completion failed") {
|
||||
t.Fatalf("expected completion failure, got %v", err)
|
||||
}
|
||||
if got.Artifacts.ResponsePayloadPath != "" {
|
||||
t.Fatalf("expected zero result on error, got %+v", got)
|
||||
if len(got.Operations) != 1 || got.Operations[0].FailureReason != outcomes.ReasonInternalFailure || len(got.Corrections) != 0 {
|
||||
t.Fatalf("expected fatal call facts without proposals, got %+v", got)
|
||||
}
|
||||
matches, globErr := filepath.Glob(filepath.Join(req.DiagnosticsDir, req.ModuleInstance, "*error-payload.json"))
|
||||
if globErr != nil {
|
||||
|
||||
Reference in New Issue
Block a user