Create run workspaces only when needed

This commit is contained in:
2026-09-05 16:34:59 +00:00
parent c2806a1615
commit 51d21676c1
9 changed files with 64 additions and 6 deletions

View File

@@ -28,6 +28,8 @@ type cleanupSemanticConfig struct {
func (cleanupStage) Name() string { return "cleanup" }
func (cleanupStage) RequiresRunWorkspace() bool { return false }
func (cleanupStage) Run(ctx context.Context, env *Env, m *manifest.Manifest) (*StageResult, error) {
plan, err := buildCleanupPlan(env, m)
if err != nil {