Preserve comparison failures during cancellation
This commit is contained in:
@@ -20,6 +20,8 @@ const (
|
||||
// error, Execute must not call the provider. Completed validation rejection is
|
||||
// returned as an Execution with a failed Validation status; operational failures
|
||||
// return no Execution. Sensitive debug values are populated only when requested.
|
||||
// Comparison may invoke Execute concurrently on one shared Executor, so every
|
||||
// implementation must support concurrent calls.
|
||||
type Executor interface {
|
||||
InspectPrompt(context.Context, string, string) (PromptInspection, error)
|
||||
InspectProfile(context.Context, string) (ProfileInspection, error)
|
||||
|
||||
Reference in New Issue
Block a user