Reconcile reuse and inspection with native extraction

This commit is contained in:
2026-11-30 02:20:09 +00:00
parent 52a5d483e3
commit b5b4672920
59 changed files with 515 additions and 2444 deletions

View File

@@ -181,7 +181,10 @@ func TestExecuteStagesBoundedCompositionUsesOnlySelectedCollaborators(t *testing
} {
t.Run(test.name, func(t *testing.T) {
cfg := testConfig(t)
if test.configure != nil {
var injected *stage.Env
if test.stageName == "extract" {
cfg, injected, _ = extractionLifecycleFixture(t, true)
} else if test.configure != nil {
test.configure(cfg)
}
plan := mustBoundedPlan(t, test.stageName, test.stageName)
@@ -192,7 +195,7 @@ func TestExecuteStagesBoundedCompositionUsesOnlySelectedCollaborators(t *testing
var captured *stage.Env
plan.stages = []stage.Stage{collaboratorProbeStage{name: test.stageName, captured: &captured}}
_, err := executePlan(context.Background(), cfg, plan, RunOptions{})
_, err := executePlan(context.Background(), cfg, plan, RunOptions{Env: injected})
if err != nil {
t.Fatalf("executeStages() error = %v", err)
}