Isolate runner object store construction

This commit is contained in:
2026-09-04 13:01:00 +00:00
parent 2e69c14898
commit 6a15052d77
4 changed files with 35 additions and 17 deletions

View File

@@ -52,7 +52,7 @@ func (dependencies invocationDependencies) normalized() invocationDependencies {
}
if dependencies.newObjectStore == nil {
dependencies.newObjectStore = func(ctx context.Context, cfg *config.Config) (storage.ObjectStore, error) {
return newCommandObjectStore(ctx, cfg, nil)
return initializeObjectStoreBackend(ctx, cfg, storage.NewObjectStoreFromConfig)
}
}
if dependencies.loadEffectiveLocks == nil {