Skip to content

Conversation

@cvxluo
Copy link
Contributor

@cvxluo cvxluo commented Dec 24, 2025

Refs https://linear.app/getsentry/issue/ID-1128/codeowners-seems-to-be-substring-matching-instead-of-exact-filename

Codeowners with **/<filename> would match on example/prefix_<filename>. Add a new regex case to handle **/ patterns correctly.

@linear
Copy link

linear bot commented Dec 24, 2025

@cvxluo cvxluo marked this pull request as ready for review December 26, 2025 17:06
@cvxluo cvxluo requested a review from a team as a code owner December 26, 2025 17:06
@cvxluo cvxluo changed the title fix(codeowners): double star pattern incorrectly matches on suffixes fix(codeowners): Double star pattern incorrectly matches on suffixes Dec 26, 2025
@cvxluo cvxluo added this pull request to the merge queue Jan 5, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 5, 2026
@cvxluo cvxluo force-pushed the cvxluo/double-star-code-owners-matching branch from 8fd73d5 to 5bb4b11 Compare January 5, 2026 17:07
@Dav1dde
Copy link
Member

Dav1dde commented Jan 5, 2026

@cvxluo Looks like integration tests broke because the playstation tests use a hardcoded timestamp which is now no longer valid.

Will fix this on Wednesday, sorry for the inconvenience.

@tobias-wilfert 👀

@cvxluo
Copy link
Contributor Author

cvxluo commented Jan 5, 2026

@cvxluo Looks like integration tests broke because the playstation tests use a hardcoded timestamp which is now no longer valid.

Will fix this on Wednesday, sorry for the inconvenience.

@tobias-wilfert 👀

no problem, thanks for letting me know

@Dav1dde Dav1dde enabled auto-merge January 7, 2026 10:05
@Dav1dde Dav1dde added this pull request to the merge queue Jan 7, 2026
Merged via the queue into master with commit 0f2f7cd Jan 7, 2026
29 checks passed
@Dav1dde Dav1dde deleted the cvxluo/double-star-code-owners-matching branch January 7, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants