orca
orca copied to clipboard
feat(child pipeline executions): Add support for omit other stages fr…
This PR introduces a feature flag isolatedStreamExecution that can be defined in Run Pipeline stage. You can enable it via stage or in orca config stages.pipeline.defaultIsolatedStreamExecution
by enabling it, clears all the info that other stages ran on the parent pipeline in the child - trigger.parentExecution values.
For testing i ran the next pipeline: pipeline stage(trigger son-1) -> manual judgment -> pipeline stage(trigger son-2) -> manual judgment -> pipeline stage(trigger son-3) The childs(son 1/2/3): only had a wait stage
the body of the last pipeline stage increments due to keeping track of the stages that ran before and created outputs, task etc.
tests after enabling isolatedStreamExecution: true
We face some issues about huge contexts in our pipeline executions and this would be a BIG step forward to address it. Is there any ETA planned to merge this into the code base? 🙏🏻
Maybe ask in spinnaker slack channel, there shouldnt be any problem merging this as it can be tuner on and off with the flag
Really needed some tests for this ;) I like the idea, and it's similar to the skip downstream flag, though operates differently from what I can see.
Ran the workflows please 🙏 , i added a test which proves the child pipeline is isolated only having record of one stage from his parentExecution
Closing since https://github.com/spinnaker/orca/pull/4620 i believe addresses huge pipelines bodies