Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
heyjcollins opened this issue Jun 8, 2023 · 2 comments
Labels
enhancement New feature or request needs-triage

Comments

@heyjcollins
Copy link
Contributor

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 heyjcollins added enhancement New feature or request needs-triage labels Jun 8, 2023
@heyjcollins
Copy link
Contributor Author

@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.

@paulcwarren
Copy link

paulcwarren commented Nov 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage
Projects
None yet
Development

No branches or pull requests

3 participants