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

Interpret the state of a pipeline run for the UI, in the API #3637

Closed
squaremo opened this issue Sep 21, 2023 · 1 comment
Closed

Interpret the state of a pipeline run for the UI, in the API #3637

squaremo opened this issue Sep 21, 2023 · 1 comment
Labels
area/pipelines for issues around cd pipelines team/wild-watermelon

Comments

@squaremo
Copy link
Contributor

squaremo commented Sep 21, 2023

The UI needs to know where is the pipeline run "up to":

  • which revision is running through the pipeline
  • which environments have reached a ready state with the revision
  • in each environment, which targets are healthy and which not
    • for targets that are not ready, why are they not ready (to the detail that the application object status allows)
  • is a promotion waiting to succeed for some environment
  • should it show an approval button for a particular environment

This should probably be done in concert with showing these things in the UI, so we can be sure it has all the things needed. NB some items can be aggregated in the WGE API, or calculated by the UI itself. But, for integration with other systems (e.g., Backstage plugins), we should try to make the pipeline object status useful on its own.

@squaremo squaremo changed the title Record the state of a promotion run in status, so the UI can see it Ensure the state of a pipeline run reflected in the status, so the UI can see it Sep 21, 2023
@squaremo squaremo changed the title Ensure the state of a pipeline run reflected in the status, so the UI can see it Ensure the state of a pipeline run reflected in the status, for the UI to interpret Sep 21, 2023
@LappleApple LappleApple added the area/pipelines for issues around cd pipelines label Sep 25, 2023
@luizbafilho luizbafilho self-assigned this Nov 3, 2023
@squaremo squaremo transferred this issue from weaveworks/pipeline-controller Nov 14, 2023
@squaremo squaremo changed the title Ensure the state of a pipeline run reflected in the status, for the UI to interpret Interpret the state of a pipeline run for the UI, in the API Nov 14, 2023
@squaremo
Copy link
Contributor Author

Looking at the relevant mockups in https://www.figma.com/file/IVHnM9iyeFWpd11evtY8ux/Weave-GitOps?type=design&node-id=20414-72393&mode=design&t=TIcx53hK0tYP3iSH-4, I don't think there's any summarising needed after the promotion status is added in weaveworks/pipeline-controller#197. Closing this for now; we may want to revisit when we go back to augmenting the GUI view.

@squaremo squaremo closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/pipelines for issues around cd pipelines team/wild-watermelon
Projects
None yet
Development

No branches or pull requests

3 participants