github / github/vscode-github-actions

Performance Preview - WaterFall Chart

オープン
#407 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
660
フォーク
213
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions, typescript, vscode
領域
ci-cd, data-visualization, devtools
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。