Skip to content

ci: Fix stale high_risk_code paths in file-filters - #7091

Merged
antonis merged 1 commit into
mainfrom
ci/fix-high-risk-code-paths
Nov 24, 2026
Merged

antonis merged 1 commit into
mainfrom
ci/fix-high-risk-code-paths

Conversation

@antonis

@antonis antonis commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Prefixes all 8 entries of the high_risk_code filter in .github/file-filters.yml with packages/core/, so they match the files' current locations:

  • src/js/vendor/react-native/index.ts, src/js/utils/rnlibraries.ts, src/js/utils/rnlibrariesinterface.ts
  • src/js/touchevents.tsx
  • src/js/NativeRNSentry.ts
  • scripts/sentry-xcode.sh, scripts/sentry-xcode-debug-files.sh
  • sentry.gradle.kts

💡 Motivation and Context

The filter was added in #4129 (2024-10-07) using root paths that were correct on main at the time. A week later, the "Merge V6 to main" commit (e82ff9b, 2024-10-15) brought in the monorepo layout from #4057 and removed the root src/, but the new filter was never rebased onto it. #6119 later renamed sentry.gradle → sentry.gradle.kts here but kept the root path. As a result, changes-in-high-risk-code.yml has silently never flagged a high-risk change since 6.0.0. The newer filters in the same file already use packages/core/....

💚 How did you test it?

  • Verified every updated path exists in the repo.
  • This PR only touches .github/file-filters.yml, so it won't trigger the warning itself; the next PR touching one of the listed files (e.g. NativeRNSentry.ts) should.

📝 Checklist

  • I added tests to verify changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.
  • No breaking changes.

🔮 Next steps

🤖 Generated with Claude Code

The high_risk_code filter still pointed at pre-monorepo root paths
(src/, scripts/, sentry.gradle.kts) that no longer exist since #4057,
so the high-risk-code warning workflow never triggered. Prefix them
with packages/core/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • ci: Fix stale high_risk_code paths in file-filters by antonis and claude in #7091
  • chore(deps): update Android SDK to v8.65.1 by github-actions in #7089
  • fix(core): Remove native scope tags set to an empty value by antonis and claude in #7087
  • feat(ios): Add metricKitHangReportingMode option for MetricKit hang flame graphs by alwx in #7059
  • chore(deps): bump getsentry/craft from 3.12.0 to 3.13.0 by dependabot in #7083
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 3.12.0 to 3.13.0 by dependabot in #7082
  • chore(deps): bump getsentry/github-workflows/danger from 6bf4a27612e388f9c113d64f75e25190e814b414 to bce11fe6eaa86dbb9d360ab45a96e659828877f0 by dependabot in #7081
  • chore(deps): bump actions/create-github-app-token from 3.3.0 to 3.4.0 by dependabot in #7085
  • chore(deps): bump ruby/setup-ruby from 1.338.0 to 1.342.0 by dependabot in #7084
  • chore(sample): Remove unused Detox setup from the React Native sample by antonis and claude in #7072
  • ci(ios): Build TestFlight sample with Xcode 27 by philprime with sentry-junior in #7065
  • perf(android): Create SDK view managers on demand by alwx in #7049
  • fix(core): Remove web Replay and Feedback from native bundles by default by huextrat, claude and antonis in #7062
  • fix(core): Define UnsafeObject locally instead of deep importing it by alwx in #7061
  • chore(deps): update Android SDK to v8.65.0 by github-actions in #7058

🤖 This preview updates automatically when you update the PR.

@github-actions

Copy link
Copy Markdown
Contributor
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 880b311

@antonis
antonis marked this pull request as ready for review November 24, 2026 08:27
@antonis
antonis merged commit 7900d5e into main Nov 24, 2026
69 of 75 checks passed
@antonis
antonis deleted the ci/fix-high-risk-code-paths branch November 24, 2026 09:57
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