Hide/Group jobs in the status checks list #26246
-
Hi, we have cypress tests running end-to-end tests in parallel and it can be quite a lengthy list. Is there a way to hide these jobs or group them so the PR status check list doesn’t get too populated? Below is a snippet of the workflow from cypress github action
|
Beta Was this translation helpful? Give feedback.
Replies: 34 comments 15 replies
-
Not that I can think of. Each job is going to show up as a check on the PR. You can click the “Hide All Checks” link to collapse it down, but that is about the best I can think of. |
Beta Was this translation helpful? Give feedback.
-
Thanks so much for your quick response! |
Beta Was this translation helpful? Give feedback.
-
I’m not sure how easily supported it would be, but my bigger question is why would you not want to see all the checks that apply to your PR? Are you asking to just have that area collapsed by default? Or for something else? If I said “how would you like to see this feature implemented”, what would you tell me? |
Beta Was this translation helpful? Give feedback.
-
In my team’s case, we have several parallelised tests that are all in the same group of tests (end-to-end tests). In that same group of tests, there is a separate job that runs before all the tests and it verifies if a review environment (created on each pr) is successfully deployed —otherwise the tests will not run. Not all of these necessarily need to show as they are all part of the end-to-end tests.
Collapsed by default actually sounds like a good idea!
On top of your idea of some collapsible element, grouping/collapsing all related jobs into its workflow would be awesome. Maybe it’s something we can specify in the workflow file? (probably not a good solution but just want to throw some ideas in 😁 )
|
Beta Was this translation helpful? Give feedback.
-
This is good feedback. I’ll post it internally and maybe it will bubble up to the backlog. |
Beta Was this translation helpful? Give feedback.
-
hi @mickeygousset , are you able to post any update here please? thank you! |
Beta Was this translation helpful? Give feedback.
-
Adding on that an option to group or even hide status checks for a given job would be extremely useful. We also run our Cypress end-to-end tests in parallel, so that they’re split across 8 machines: GitHub automatically creates a new status check for each machine, but we’re really only interested in seeing whether all of the tests passed or failed. In our case, we have a status check set up directly with Cypress that links to the Cypress dashboard (that’s the “cypress: default-group — 2 tests failed” in the image), so the 8 checks created by that job aren’t useful to us. I’d love to be able to hide (or group) these, e.g.:
|
Beta Was this translation helpful? Give feedback.
-
This is definitely something Github should look into it. |
Beta Was this translation helpful? Give feedback.
-
We have 80 parallel machines running, so showing each one in the github checks makes it very hard to use. |
Beta Was this translation helpful? Give feedback.
-
@mickeygousset any plans to add this feature? We are also facing the same issue when we run the e2e cypress tests in parallel. |
Beta Was this translation helpful? Give feedback.
-
Would be great to see this implemented. |
Beta Was this translation helpful? Give feedback.
-
Here's a quick & dirty bookmarklet to toggle successful or skipped checks in the list: javascript:[...document.querySelectorAll('.merge-status-list .merge-status-item')].filter(el => el.querySelector('.octicon-check, .octicon-skip')).forEach(el => el.hidden = !el.hidden) This may stop working anytime GitHub changes the layout or the CSS classes of that part of their app. We're working in a mono-repo with 110 checks, so it's extremely frustrating having to scroll and look for the one failed check all the time. Time for this feature to get implemented, @github-staff! |
Beta Was this translation helpful? Give feedback.
-
We really need this. Any developer/team that readily takes advantage of GitHub Actions will encounter this problem eventually. The need for it is only going to grow. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/EnricoMi/publish-unit-test-result-action#support-fork-repositories-and-dependabot-branches requires to upload the event file, of course this is nothing we want/need to show to the user and is just confusing. So a simple flag on the job For Matrix jobs in general, it would be great if only one item is shown for all matrix elements and the can be expanded if needed e.g. lets say I have a Workflow name "Run Buld" with a matrix of jobs "java 8", "java 11", "java 17" The Github could show one check ("Run Buld") that simply aggregates the status of all childs ("java 8", "java 11", "java 17"), and there is an icon to expand the childs (or one actually can just jump to the job itself) |
Beta Was this translation helpful? Give feedback.
-
We're also interested in something, preferably, grouping... |
Beta Was this translation helpful? Give feedback.
-
I'd also like a way to do this. I have a shared step in some workflows that just builds some values for use in later steps, so it isn't really a "check" on the PR. If one could set something like |
Beta Was this translation helpful? Give feedback.
-
At the very least for matrix strategies this should be an option, since they are the same job, 2024 and still waiting for this 🥲. |
Beta Was this translation helpful? Give feedback.
-
Same problem for my team — cypress run across a matrix job leaves us with 200+ checks in the PR. Would love to have an option to consolidate all the jobs from a workflow into a single check on the PR |
Beta Was this translation helpful? Give feedback.
-
Same issue here. Some jobs can be just utils jobs, so showing their result as an extra check is redundant. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This is probably our biggest pain-point with GHA. On one project we actually use a
🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 |
Beta Was this translation helpful? Give feedback.
-
An alternative would be to show the failing matrix jobs on top, like it is done with normal status checks. I would love to see something implemented, as this means a lot of manual workflow calling instead of relying on the build-in functionality. |
Beta Was this translation helpful? Give feedback.
-
Would really love to see this feature as well |
Beta Was this translation helpful? Give feedback.
-
let's make this happen please |
Beta Was this translation helpful? Give feedback.
-
@mickeygousset and/or @donnacello would you please consider marking this question as un-answered so that it is more easily found, and can be treated as an active request for a major new feature. All the context is here, evidence of people with the same problem needing the same features. |
Beta Was this translation helpful? Give feedback.
-
Hi there from Actions team- there is a ship coming near the end of september from the Pull requests team for a new merge box that groups jobs together by status. Please stay tuned! |
Beta Was this translation helpful? Give feedback.
-
You can implement this in different ways:
I wish this was looked into with more care, it really bothers us when there are many checks. |
Beta Was this translation helpful? Give feedback.
-
Adding to this thread to keep it alive... Would love to see a feature for this implemented. Like some folks, we have Cypress tests that run across multiple machines, it would make more sense to show one parent job for matrix jobs in the Checks section rather than bloating it up with all the parallel jobs as there can be many. |
Beta Was this translation helpful? Give feedback.
-
Doesn't just affect Cypress tests; I'm also seeing this repetitive job output with sharded Jest and Playwright tests. Commenting in the hope that more folks find this thread. |
Beta Was this translation helpful? Give feedback.
-
We need this! |
Beta Was this translation helpful? Give feedback.
Not that I can think of. Each job is going to show up as a check on the PR. You can click the “Hide All Checks” link to collapse it down, but that is about the best I can think of.