Skip to content

chore: Added cron job to check for upstream changes to vendored in code#5000

Draft
jamescrosswell wants to merge 2 commits intomainfrom
watch-upstream
Draft

chore: Added cron job to check for upstream changes to vendored in code#5000
jamescrosswell wants to merge 2 commits intomainfrom
watch-upstream

Conversation

@jamescrosswell
Copy link
Collaborator

@jamescrosswell jamescrosswell commented Mar 11, 2026

Resolves #4995

Notes for testing

All the github workflow does is run the script on a cron schedule, passing it some parameters. The script can be tested locally by running:

export GH_TOKEN="$(gh auth token)"
export GH_REPO="getsentry/sentry-dotnet"
./scripts/watch-upstream.sh dotnet/android tools/assembly-store-reader-mk2 src/Sentry.Android.AssemblyReader/

... that assumes you're logged into the github cli locally.

Important

The script will create one (and only one) issue for every upstream change it detects affecting the configured source tree. For testing, it created this issue:

#skip-changelog

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2026

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).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.89%. Comparing base (ec307a7) to head (ae0aa16).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5000      +/-   ##
==========================================
- Coverage   73.90%   73.89%   -0.02%     
==========================================
  Files         497      497              
  Lines       17957    17957              
  Branches     3516     3516              
==========================================
- Hits        13271    13269       -2     
- Misses       3825     3826       +1     
- Partials      861      862       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Pull requests that update .net code Repository Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create watch on upstream repositories that we've vendored in

1 participant