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

Performance Preview - WaterFall Chart #407

Open
MarkForesta opened this issue Oct 26, 2024 · 0 comments
Open

Performance Preview - WaterFall Chart #407

MarkForesta opened this issue Oct 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MarkForesta
Copy link

Is your feature request related to a problem? Please describe.

I think CI/CD systems can get extremely complex. I don't think it's that crazy to believe that some workflows will run 3-5 machines in parallel and branch up to around 20 jobs. I work at a company that has very rigorous compliance standards and I have a goal to move all of our compliance steps away from the primary thread our users will do work on. Ultimately trying to speed up pipelines and better devex. I think it would be amazing if we could visualize this better.

Describe the solution you'd like

This requirement sent me down a rabbit hole thinking: What if when I changed a workflow file locally and it showed me a preview of how more performant my workflow run would be? Something like Chrome Dev Tools network tab?
image

Then I could even move a task (Single Github action step) to another spot in the workflow file and that chart would change automatically. Maybe change the title to clearly show this is now a preview if your change worked.

I think if we really nailed this implementation I think it could save complex workflow writers a lot of time.

So I would add a new command to show this chart in a preview (New tab to the right in VSCode).

Additional context
First and foremost I know this is kind of a crazy ask. So I am totally ok with you saying: Nah this is crazy go do this in a separate extension. I just feel since you are already authenticated and making the API request it's the right place for it.

Secondly this might be something better suited for the actual web ui. Even if it didn't auto update based on local changes to a workflow file, this view of a workflow might still be useful.

I know this is a bit half baked but I am really trying to gauge if other users would find this interesting.

If this issue was accepted as a feature request to the product and I was working on it I would split this into 2 parts

  1. Find a way to take existing workflow runs and create a performance preview in JSON or some other data format based off a potential workflow file change.
  2. Find a way to visualize existing workflow executions as a waterfall chart or something that can consume this data.

PS: If people liked this idea I would definitely be interested in contributing the change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog 🗒
Development

No branches or pull requests

1 participant