Centralize pure pipeline profile and binding copies

This commit is contained in:
2026-11-26 02:29:52 +00:00
parent 383b43ab08
commit ad357db22d
17 changed files with 271 additions and 257 deletions

View File

@@ -50,7 +50,7 @@ func (c Config) Resolve(input ResolveInput) (EffectiveConfig, error) {
if !ok {
return EffectiveConfig{}, fmt.Errorf("pipeline %q is not configured", pipelineID)
}
profile = clonePipelineProfile(profile)
profile = pipeline.ClonePipelineProfile(profile)
profile.ID = pipelineID
resolved, err := pipeline.ResolvePipeline(profile, pipeline.ResolveOptions{