Is there a hook / a good place to attach some code...
# questions
m
Is there a hook / a good place to attach some code after all pipelines have been registered but before the execution starts? I would like to do this for the sake of performing some validations on the pipeline definitions (w.r.t node tags)?
First thing that comes to my mind is the
register_pipelines
but then it’s specific to project - I would like to do this on a plugin level.
d
I wonder if the
after_context_created
hook would let you mutate this
but it doesn’t feel super nice
m
Are the pipelines available on the
after_context_created
level?
d
no you’re right
before_pipeline_run
maybe
m
Yeah, but I will not be executing the pipeline
Maybe there should be another hook, like
after/before_pipelines_registered
? 🤔
d
I really like that
create an issue? even raise a PR?
m
Sure thing, will do tomorrow