Open avishniakov opened 1 week ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@Cahllagerfeld let me know what would be the most efficient way to prepare the data for you, as now substitutes are quite distributed:
There are breaking changes for frontend since now the user can see something like this:
The current way of thinking to approach this is the following:
my_name_{time}_{ck_pipe}_{ck_step
)PipelineRunResponse
(ck_pipe
is here)StepRunResponse
(ck_step
is here + overrides for ck_pipe
may be here, same applies to overrides of the time
and date
)date
and time
substitutes from the start_time
of the PipelineRunResponse
(time
and date
can be derived from it)It seems logical to populate StepRunResponse
properly on the backend with all needed substitutes, so we do not compute on the FE. Would this do? Any contras @schustmi @Cahllagerfeld ?
Describe changes
I implemented the dynamic artifacts naming for output artifacts to support the following use cases:
{time}
and{date}
are supported out of the box + any custom placeholder can be passed vianame_subs
The same applies to
ArtifactConfig(name=...)
pattern.There are breaking changes for frontend since now the user can see something like this:
The current way of thinking to approach this is the following:
my_name_{time}_{ck_pipe}_{ck_step
)PipelineRunResponse
(ck_pipe
is here)StepRunResponse
(ck_step
is here + overrides forck_pipe
may be here, same applies to overrides of thetime
anddate
)date
andtime
substitutes from thestart_time
of thePipelineRunResponse
(time
anddate
can be derived from it)DO NOT MERGE BEFORE FE CHANGES ARE READY
Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes