apps-cli-plugin icon indicating copy to clipboard operation
apps-cli-plugin copied to clipboard

Make it possible to force an unchanged workload to re-run through the supply chain

Open heyjcollins opened this issue 2 years ago • 2 comments

Description of problem

There are cases where a workload will fail to complete a run through the supply chain (e.g. test step fails). In this scenario, the only way to get the workload to run through the supply chain again would be to make an update to the code and run another tanzu apps workload apply

But in cases where the code needn't be altered to address the problem, an application developer has no way to just get their workload resubmitted without introducing an unnecessary change (without which the apps plugin will abort the command because it will not detect any changes to submit)

Proposed solution

add some means (a flag) to override the validation check to trigger a resubmit to the supply chain

Some options:

  • --kick flag Prior art is kctrl app kick
  • --force flag
  • inquire with Choreographer SME's about alternative approaches (is it possible to restart an existing supply chain run?)

Additional context

cc @paulcwarren

heyjcollins avatar Jun 08 '23 22:06 heyjcollins

@atmandhol - I'm not porting this over to our GitLab repo for the plugin I'm ambivalent about investing here unless this is something we could implement successfully without dependence on changes to the OG Cartographer supplychains.

LMK if you think this is something we could support easily and I'll reconsider.

heyjcollins avatar Nov 27 '23 18:11 heyjcollins

Just my 2 cents but this is a needed feature IMO. Things like test flakes happen all of the time and without a way to kick the supply chain the developer has no option but to make a dumb code change or delete/re-apply their workload both of which are super ugly.

paulcwarren avatar Nov 27 '23 18:11 paulcwarren