Skip to content

Conversation

@Jeffreyhung
Copy link
Member

@Jeffreyhung Jeffreyhung commented May 9, 2025

A while ago we made this change #8868 so that we can have codeowner review requirement enforced, but still have a reference on who owns what.
This prevented the codeowners from becoming a blocker especially when we have teams working across time zones.

But it became a bit inconvenient as the owners of files don't get tagged in PR automatically and informed for review.
This PR is meant to fix that.

The new workflow file will be triggered on all PRs, identify all the modified files in the PR, and cross match with all the commented lines in CODEOWNERS files, if there's any match it will add the owners as reviewer automatically.

Note: Approvals from reviewers added by this PR will not be required before PR can be merged, this is more of an informational and making sure proper teams are involved and informed on changes.

@vercel
Copy link

vercel bot commented May 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2025 11:44pm
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2025 11:44pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview May 9, 2025 11:44pm

@codecov
Copy link

codecov bot commented May 9, 2025

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 11.17MB -9 bytes (-0.0%) ⬇️
sentry-docs-client-array-push 9.48MB -6 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 868.7kB -0.0%
static/chunks/8165-*.js -3 bytes 410.1kB -0.0%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
server/middleware-*.js -5.55kB 1.0kB -84.74%
static/ywJRrIkSELpuIyyIoU7hA/_buildManifest.js (New) 578 bytes 578 bytes 100.0% 🚀
static/ywJRrIkSELpuIyyIoU7hA/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/EPA5D7rJbYnZSTP4lWPJW/_buildManifest.js (Deleted) -578 bytes 0 bytes -100.0% 🗑️
static/EPA5D7rJbYnZSTP4lWPJW/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.75MB -0.0%
../instrumentation.js -3 bytes 1.08MB -0.0%
9523.js -3 bytes 1.05MB -0.0%

@Jeffreyhung Jeffreyhung requested a review from a team as a code owner May 9, 2025 23:08
This reverts commit b246928.
@Jeffreyhung Jeffreyhung merged commit 8af147d into master May 12, 2025
12 checks passed
@Jeffreyhung Jeffreyhung deleted the auto-assign-codeowners branch May 12, 2025 22:54
@github-actions github-actions bot locked and limited conversation to collaborators May 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants