[Build] Support glob patterns in CI build pipeline exclude paths#8190
Merged
lucaspimentel merged 4 commits intomasterfrom Feb 20, 2026
Merged
[Build] Support glob patterns in CI build pipeline exclude paths#8190lucaspimentel merged 4 commits intomasterfrom
lucaspimentel merged 4 commits intomasterfrom
Conversation
bouwkast
approved these changes
Feb 10, 2026
This comment was marked as off-topic.
This comment was marked as off-topic.
4b06660 to
9c4ee0a
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (8190) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:
Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard. Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph). Duration chartsFakeDbCommand (.NET Framework 4.8)gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8190) - mean (68ms) : 67, 70
master - mean (70ms) : 68, 73
section Bailout
This PR (8190) - mean (72ms) : 71, 73
master - mean (74ms) : 72, 76
section CallTarget+Inlining+NGEN
This PR (8190) - mean (1,034ms) : 978, 1090
master - mean (1,045ms) : 982, 1108
FakeDbCommand (.NET Core 3.1)gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8190) - mean (114ms) : 111, 116
master - mean (116ms) : 113, 119
section Bailout
This PR (8190) - mean (114ms) : 113, 116
master - mean (116ms) : 115, 118
section CallTarget+Inlining+NGEN
This PR (8190) - mean (769ms) : 714, 825
master - mean (776ms) : 723, 829
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8190) - mean (100ms) : 97, 103
master - mean (102ms) : 100, 105
section Bailout
This PR (8190) - mean (101ms) : 100, 101
master - mean (103ms) : 102, 105
section CallTarget+Inlining+NGEN
This PR (8190) - mean (751ms) : 732, 770
master - mean (756ms) : 736, 776
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8190) - mean (92ms) : 89, 94
master - mean (95ms) : 92, 97
section Bailout
This PR (8190) - mean (93ms) : 91, 94
master - mean (95ms) : 94, 97
section CallTarget+Inlining+NGEN
This PR (8190) - mean (632ms) : 618, 645
master - mean (639ms) : 623, 655
HttpMessageHandler (.NET Framework 4.8)gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8190) - mean (200ms) : 192, 207
master - mean (200ms) : 194, 206
section Bailout
This PR (8190) - mean (202ms) : 198, 207
master - mean (203ms) : 199, 207
section CallTarget+Inlining+NGEN
This PR (8190) - mean (1,165ms) : 1110, 1220
master - mean (1,177ms) : 1111, 1243
HttpMessageHandler (.NET Core 3.1)gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8190) - mean (297ms) : 290, 304
master - mean (300ms) : 288, 311
section Bailout
This PR (8190) - mean (298ms) : 290, 307
master - mean (300ms) : 292, 309
section CallTarget+Inlining+NGEN
This PR (8190) - mean (992ms) : 935, 1048
master - mean (1,002ms) : 947, 1057
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8190) - mean (278ms) : 271, 286
master - mean (282ms) : 272, 292
section Bailout
This PR (8190) - mean (279ms) : 273, 285
master - mean (280ms) : 275, 285
section CallTarget+Inlining+NGEN
This PR (8190) - mean (947ms) : 904, 989
master - mean (948ms) : 900, 996
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8190) - mean (288ms) : 279, 296
master - mean (291ms) : 279, 303
section Bailout
This PR (8190) - mean (290ms) : 281, 299
master - mean (291ms) : 282, 301
section CallTarget+Inlining+NGEN
This PR (8190) - mean (899ms) : 823, 975
master - mean (892ms) : 831, 952
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replace simple prefix matching with FileSystemGlobbing.Matcher to properly handle wildcards (*, **, ?) in Azure DevOps pipeline path exclusions, matching ADO's case-sensitive behavior. 🤖 Co-Authored-By: Claude Code <noreply@anthropic.com>
Replace specific file path with wildcard pattern to exclude all PowerShell scripts in tracer/tools/ directory. 🤖 Co-Authored-By: Claude Code <noreply@anthropic.com>
9c4ee0a to
a62c83a
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
gleocadie
approved these changes
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
Enable glob patterns for Azure DevOps pipeline path exclusions, allowing wildcard patterns (
*,**,?) to work correctly when determining which files should skip CI builds.Reason for change
The previous implementation used simple
StartsWith()prefix matching, which didn't support glob patterns liketracer/tools/*.ps1or**/README.md. This caused inconsistencies between:Implementation details
Core changes:
StartsWith()prefix matching withMicrosoft.Extensions.FileSystemGlobbing.Matcher*,**,?StringComparison.Ordinal)/expanded to**to match all descendantsAny(!isExcluded)to!All(isExcluded)for better readabilityPipeline configuration updates:
tracer/tools/*.ps1to exclude all PowerShell scripts in tracer/tools/**/README.mdto exclude all README files at any depthtracer/README.MD→tracer/README.md(fix casing)profiler/README.MD→profiler/README.md(fix casing)Test coverage
PipelineParser.GetPipelineDefinition():Other details