Run report generation without workspace state

This commit is contained in:
2026-08-01 19:52:22 +00:00
parent 4bdba6f2b7
commit 7ffc3dc603
21 changed files with 343 additions and 3464 deletions

View File

@@ -33,7 +33,7 @@ type SourceInspection struct {
}
func InspectReports(ctx context.Context, req InspectReportsRequest) ([]state.ReportRecord, error) {
store, err := defaultStore(req.Config)
store, err := state.NewFilesystemStore(req.Config.Workspace)
if err != nil {
return nil, err
}
@@ -94,7 +94,7 @@ type runInspection struct {
}
func inspectRun(ctx context.Context, req InspectRunRequest) (runInspection, error) {
store, err := defaultStore(req.Config)
store, err := state.NewFilesystemStore(req.Config.Workspace)
if err != nil {
return runInspection{}, err
}