Feature request: Group stacks of pull requests and expandable previous deploys

オープン
#1,513 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, ruby
領域
devops, release

調査の方向性

Start by tracing how the stack page builds the Undeployed Commits section and how Previous Deploys rows fetch commit details; the issue does not name files or tests. The proposed work includes grouping stacked pull requests with an opt-in configuration and lazy-loading commits for expandable deploy rows. Done means both views show the described grouping or commit details, including warnings for failing or locked pull requests.

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

説明

Hello,

With github's stacked pull requests now generally available, I noticed the stack page doesn't know about them yet. When a stack of five pull requests is merged, the 'Undeployed Commits' section shows five unrelated rows.

Deploying the newest one ships all five, but nothing on the page says they belong together, and a failing or locked pull request in the middle of the stack is easy to miss.

I've run it locally to make an example. Here's what that looks like today, with a stack of five Currency pull requests among other commits:

BEFORE: Image

What do you think about grouping them? The newest pull request would keep its Deploy button, the earlier ones would be nested under it, and a small warning would say when one of them is failing or locked:

AFTER: Image

Finding a commit's stack costs one extra GitHub API request per new commit, so I'd make it opt-in per stack:

deploy:
  group_stacked_pull_requests: true

While I was at it, I also looked at Previous Deploys. Today each row only names one commit, so you can't see what a deploy shipped without opening it:

BEFORE: Image

I made each row expandable to list every commit the deploy shipped. The commits only load when you click:

AFTER: Image

I'm happy to open it as one PR or as two smaller ones, whichever is easier for you to review.

Would you be open to discuss about this before I open officially a PR?
Thanks a lot

主要言語
Ruby
スター
1.5k
フォーク
158
平均マージ
18時間 55分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Shopify/shipit-engine のほかの issue

Shopify/shipit-engine の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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