Feature request: Group stacks of pull requests and expandable previous deploys
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 48/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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:
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:
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:
I made each row expandable to list every commit the deploy shipped. The commits only load when you click:
AFTER:
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
- Dominant language
- Ruby
- Stars
- 1.5k
- Forks
- 158
- Avg merge
- 18h 55m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Shopify/shipit-engine
-
Stack page links deploys/rollbacks to tasks#show, which 500s on @task.definition.id (nil for deploys)Possibly taken @efegokdemir claimed this 29 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 72/100
Shopify/shipit-engine#1488 · 1 comment · 2 reactions ·
-
Ship labelOpen
Difficulty 5/5 Over a week Newbie friendliness 10/100
Shopify/shipit-engine#1461 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Shopify/shipit-engine#1446 · 3 comments ·
-
Adding stack from unknown github org should failPossibly taken @efegokdemir claimed this 21 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
Shopify/shipit-engine#1437 ·
-
Copilot coding agent breaks commit syncsPossibly taken @efegokdemir claimed this 20 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Shopify/shipit-engine#1411 · 5 comments · 1 reaction ·
All issues in Shopify/shipit-engine
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TarteelAI/quranic-universal-library#1111 ·
Maintainers usually reply within 1 day
-
Generated cask uses deprecated `postflight` stanza; Homebrew 7 warns on every commandPossibly taken @k4kratik claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
sachincool/cruft#4 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
riscv/riscv-unified-db#2859 ·
Maintainers usually reply within 2 days
-
agent-driven deployment documentation future releases nice to have
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
changesets
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openstreetmap/openstreetmap-website#7629 · 1 comment ·
Maintainers usually reply within 1 day