github / github/vscode-github-actions

Performance Preview - WaterFall Chart

Aberta
#407 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
TypeScript
Estrelas
660
Forks
213
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

No files, tests, or entry points are identified. First clarify whether this belongs in the VS Code extension or the web UI, and define the scope for workflow-run data versus local workflow previews. Done would require an agreed design, data format, visualization behavior, and implementation plan.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
github-actions, typescript, vscode
Domínio
ci-cd, data-visualization, devtools
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
20/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.