Retry bounded budget reads after transient timeouts
This commit is contained in:
@@ -38,7 +38,8 @@ type OpenCodeClient struct {
|
||||
OnGenerationSession func(id, backend, reference string, active bool) error
|
||||
connection *opencode.Connection
|
||||
command func(context.Context, string, ...string) ([]byte, error)
|
||||
sessionPollInterval time.Duration // test seam; defaults to defaultSessionPollInterval
|
||||
sessionPollInterval time.Duration // test seam; defaults to defaultSessionPollInterval
|
||||
budgetReadPolicy budgetReadPolicy // test seam; zero uses bounded production defaults
|
||||
}
|
||||
|
||||
// ArtifactsEnv names the environment variable carrying a stage's artifacts
|
||||
|
||||
Reference in New Issue
Block a user