1

GitLab - Separate branches and Regex

I'm using CatLight with managed hosted GitLab projects.

I can see the status of builds in the notification area and select the builds I want to monitor.

My issues:

 - I can't get any notifications (even though I enabled the option)
 - I don't get split build notifications
 - The regex for the branch filters do not seem to work (I get colleagues' feature builds showing up)

Cheers.

6 replies

You can try CatLight 2.38.12+ version - https://catlight.io/downloads 

1. We've changed the toast notification system implementation, maybe it will work better in you case.

2. We've added support for multi-branch pipelines in GitLab.

1. For notifications to show up, the CatLight shortcut should be in the start menu. You can try reinstalling the app for shortcuts to be recreated. If that that still does not help, please collect the logs and open a private ticket so we can investigate further. We've tried the app on clean Windows 11 with latest updates, and notifications did show up on our test system.

2. Thanks for the details about your branching structure. We need some time to investigate on what we can pull from GitLab API to make it work. In the original app design, we expected users to select an option to "track my branches", and then the app will automatically pick up builds from the pipeline that are triggered by commits of the current user. Then it will only show the branches that you have personally committed too.

AT

I have focus assist turned off.

I also have "Track all branches" selected.
I may be misunderstanding what I should be seeing.

I work in a team where we have 4 GitLab projects.
Each project has a "main" and a "production" branch.
Each developer works on 1 or more "feature/xxx" branches that get merged to "main".
Creating a merge request triggers a build (as do subsequent commits to the branch that has a merge request pending).

What I'd like to see are the statuses of each of the "main" and "production" branches as well as "my" feature branch(es) (based on regex naming).
Currently any build on any of the project updates its status. 
For example if the "main" branch build is broken and someone creates a merge request and the associated build passes, the project will be shown as green (while still very broken).

I would expect the dashboard to show something like that (with "foo" being my feature regex pattern)
+ project 1
  ++ main (green)
  ++ production (green)
  ++ feature/1224-foo-description (red)
  ++ feature/423-foo-descriptiob (building)
+ project 2
  ++ main (green)
  ++ production (red)
  ++ feature/1224-foo-description (green)

While currently it shows
+ project 1 (green) <basically the latest status from the latest build on the build pipeline>
+ project 2 (green)

Maybe this is due to the fact that we use GitLab and it's not fully supported?

Cheers.

Regarding notifications on Windows 11, please check this article - https://support.catlight.io/i463-why-can-t-i-see-notification-popups-on-windows-11

Regarding the branches, do you have "Track Only My Branches" setting enabled? This will only show branches that have builds triggered by you (as reported by CI server).

"Primary" and "short-lived" branch regex only control how long will the branch stay on the dashboard. If you have "Track All Branches" enabled, all of the branches will be shown on the dashboard, except for ignored.

Also, can you share more details on what would be the ideal way for the branch filtering to work in your case? What kind of branches you would like to see on the dashboard, how are your branches structured? I can see that the current implementation can be confusing, and we might need to rework this feature.

AT
  1. I'm on Windows 11, I don't get any notification from the app and it doesn't show up in the settings 

image-1653990627266.png2. My 2 regex are:

 - Main: ^(refs\/)?(remotes\/)?(heads\/|origin\/)?(master|develop|dev|trunk|main|root|production)$

- Short-lived: ^(refs\/)?(remotes\/)?(heads\/|origin\/)?(feature\/.+-FOO-.+)$

The dashboard picks up build for branches like:

remotes/origin/feature/1819
remotes/origin/feature/2771_fix_doc_gen

as well as the expected

remotes/origin/feature/1234-FOO-mybranch

Cheers.

1. Do you get any kind of popup notifications from the app? If not, they could have been disabled in OS settings for the app. What version of operating system do you use?

2. Regex filters work on the branch names. Is there a difference in names between yours and your colleagues branch names? You can put your regex and the full branch name as it is displayed in the app into online Regex editor to see if it matches correctly - https://regex101.com/