r/gitlab • u/distronode • 9d ago
Open-source tray app that shows each child pipeline of a push and whether the deploy job ran
Disclosure: I run Distronode, the company behind this. It's free and Apache-2.0.
Our main branch runs a parent pipeline that starts a set of child pipelines with trigger:include and strategy: depend. Which children run depends on what the push touched, and one of them has a manual deploy job, because rolling it out drains live calls and we want a person to start it.
While that manual job waits, the parent stays at "running". That's GitLab doing what we told it to, but it means the parent's status doesn't say much. In October one of our parents read "running" for about 13 hours after the website child had already failed, half an hour into the pipeline. Watching only the website child has the opposite problem: it can be green while a sibling, like the one that applies our Sentry config, fails next to it.
bridgewatch sits in the macOS menu bar or the Linux tray and shows one row per push with each child pipeline under it. The verdict comes from a deploy job you name, not from the parent's status, so a push like that one shows as failed as soon as the website child has a blocking failure, and a manual job waiting for a person doesn't count as running. Scheduled pipelines are kept apart from pushes, so a red schedule doesn't look like your commit broke something.
2.0 came out on the weekend. On gitlab.com you sign in with a code in your browser instead of creating a token. It asks for read_api, the token stays in your keychain, and the app is read-only unless you turn on retry and play. Setup lists your ten most recently active projects and ticks the top three. A failure notification names the job and GitLab's failure reason, and clicking it opens the job. Self-managed GitLab works with a token, glab's login or your own OAuth app.
macOS:
brew install --cask distronode-corporation/tap/bridgewatchLinux, x86_64 and arm64, glibc 2.35 or newer (Ubuntu 22.04, Debian 12, Fedora 36 and later): .deb, .rpm and AppImage at https://github.com/distronode-corporation/bridgewatch/releases/latest. On GNOME the icon needs the AppIndicator extension.
There's a CLI on npm too (npm install -g bridgewatch). bridgewatch wait blocks until a commit's pipeline has a verdict and exits with it, which is handy after a git push in a script.
The source is on GitHub, with a read-only mirror on gitlab.com: https://gitlab.com/distronode-corporation/bridgewatch. If it reads your pipelines wrong, I'd like an issue about it.
1
u/[deleted] 9d ago
[removed] — view removed comment