Skip to content

Conversation

@decyjphr
Copy link
Collaborator

@decyjphr decyjphr commented Apr 8, 2025

There was a bug where more files where chosen as part of suborgs due to a wrong semantics in the Glob code - when looking for specific filename we should just check for the word boundary instead of embedded patterns.

Copilot AI review requested due to automatic review settings April 8, 2025 14:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The PR fixes an issue with sub organization pattern detection by improving the glob semantics and cleaning up the regular expression logic. Key changes include:

  • Checking for word boundaries for non-wildcard patterns using "\b" to ensure exact matches.
  • Refining wildcard processing for both "**" and "*" patterns.
  • Adding temporary debugging log statements for regex evaluation in search/match functions.

decyjphr and others added 3 commits April 8, 2025 10:50
…ing or encoding

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@decyjphr decyjphr merged commit 784fb19 into main-enterprise Apr 8, 2025
6 checks passed
@decyjphr decyjphr deleted the fix-glob-for-sub-orgs branch April 8, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants