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

@@ -232,7 +232,7 @@ pipelines:
}
func pipelineProfileWithChangedOption(profile pipeline.PipelineProfile) pipeline.PipelineProfile {
profile = clonePipelineProfile(profile)
profile = pipeline.ClonePipelineProfile(profile)
nested := profile.Artifacts["score"].Extract.Options["nested"].(map[string]any)
nested["value"] = "changed"
lane := profile.Artifacts["score"]