Option to ignore skipped GitLab pipelines
- Dominant language
- JavaScript
- Stars
- 27.2k
- Forks
- 5.6k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 46
Description
Currently, when viewing a badge on a branch whose latest commit's pipeline was skipped, it says `branch not found`.
It would be nice to have an option to ignore skipped pipelines and instead show the status of the last pipeline that was run for that branch.
GitLab has support for this in their native badges in the form of an [`?ignore_skipped=true`](https://docs.gitlab.com/ee/user/project/badges.html#display-only-non-skipped-status) query param, [but it currently doesn't work](https://gitlab.com/gitlab-org/gitlab/-/issues/326513).
Contributor guide
Research direction
No files, tests, or entry points are identified in the issue. Start by locating the GitLab badge implementation and tracing how a skipped latest pipeline becomes `branch not found`; then verify that an opt-in option reports the last non-skipped pipeline while preserving the default behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100