Bind runner assessment and propagate fallback reuse eligibility
This commit is contained in:
@@ -191,9 +191,11 @@ type ChunkRequest struct {
|
||||
}
|
||||
|
||||
type ChunkPlanResult struct {
|
||||
Outcome ProducerOutcome `json:"outcome"`
|
||||
Plan source.ChunkPlan `json:"plan"`
|
||||
Diagnostics []ProducerDiagnostic `json:"diagnostics,omitempty"`
|
||||
// Fallback is an optional module-owned algorithm for deterministic rejection.
|
||||
Fallback func(context.Context) (source.ChunkPlan, error) `json:"-"`
|
||||
Outcome ProducerOutcome `json:"outcome"`
|
||||
Plan source.ChunkPlan `json:"plan"`
|
||||
Diagnostics []ProducerDiagnostic `json:"diagnostics,omitempty"`
|
||||
}
|
||||
|
||||
type Chunker interface {
|
||||
|
||||
Reference in New Issue
Block a user