You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Glob column filters match prefixed words exactly: -dependabot in the Branch filter doesn't hide dependabot/nuget/... branches, though a plain dependabot matches them anywhere #375
BuildMonitor/ColumnFilter.cs (MakeGlobMatchAnywhere) wraps each Glob word in *…* so that the word matches anywhere in the cell. A word that starts with a TextFilter prefix (-, !, ^, +) is passed through without the wrapping:
ktsu.TextFilter strips the prefix and matches the rest of the word as a glob against each whole text token. In whole-string mode that token is the entire cell, and branch names have no spaces. So an excluded or required word only matches a branch with exactly that name, while a plain word matches anywhere:
Branch filter
dependabot/nuget/Polyfill-11.4.5
dependabot
shown (matches anywhere)
-dependabot
still shown: only a branch named exactly dependabot is excluded
+release
hides release/2.0: only a branch named exactly release passes
The other columns behave the same way. For example, -Release in Build Name doesn't hide "Build and Release" when whole-string matching is on.
OnlyUnprefixedGlobWordsAreWrapped (BuildMonitor.Test/ColumnFilterTests.cs) pins the current behaviour. The only exclusion test (AGlobExclusionHidesTheBranchAndShowsTheRest) uses a whole branch name (-main), so it passes either way.
#319 made sure the prefix is kept. What remains is that the word after the prefix still isn't made match-anywhere.
Why it matters
Hiding Dependabot or feature branches is the main reason to use an exclusion filter. Right now -dependabot hides nothing and +release hides every release/* branch, and the table gives no hint why.
Suggested fix / acceptance criteria
For a prefixed word, keep the prefix and wrap what follows it: -dependabot becomes -*dependabot*, and +release becomes +*release*.
Leave a bare prefix (-, +) unchanged, so it still means nothing while the user is typing.
Update OnlyUnprefixedGlobWordsAreWrapped to match.
Add tests:
-dependabot hides dependabot/nuget/x and shows main
Priority: Medium. The most common reason to use an exclusion filter (hiding dependabot/* branches) silently does nothing, and +release hides the release/* branches it should show. No data is lost, and the fix is a one-line change in MakeGlobMatchAnywhere plus tests.
Area / suggested owner: Column filtering (BuildMonitor/ColumnFilter.cs, BuildMonitor.Test/ColumnFilterTests.cs). Owner: @matt-edmondson
Activity
matt-edmondson commentedon Oct 19, 2026
Triage
dependabot/*branches) silently does nothing, and+releasehides therelease/*branches it should show. No data is lost, and the fix is a one-line change inMakeGlobMatchAnywhereplus tests.BuildMonitor/ColumnFilter.cs,BuildMonitor.Test/ColumnFilterTests.cs). Owner: @matt-edmondsonGenerated by Claude Code