Upgrade Sentry to v8 and remove custom Dependabot grouping

As part of the upgrade process, we need to rework the tracing instrumentation. Now, we are just wrapping all async functions in a new sentry transaction, which will automatically end once the function returns.

Further, the structure of the Sentry packages got reworked, so that we only need a single package by now. This removes the need to group dependabot updates.

Co-authored-by: Jan Graichen <jgraichen@altimos.de>
This commit is contained in:
Sebastian Serth
2024-05-20 14:00:55 +02:00
committed by Sebastian Serth
parent 86c67f3c9a
commit 94404370c4
12 changed files with 234 additions and 300 deletions

View File

@ -22,10 +22,6 @@ updates:
labels:
- dependencies
- javascript
groups:
sentry-javascript:
patterns:
- "@sentry*"
- package-ecosystem: github-actions
directory: "/"

View File

@ -13,9 +13,3 @@ jobs:
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: ${{ secrets.OPENHPI_BOT_TOKEN }}
- name: Automerge Sentry PRs
run: gh pr merge --auto --rebase "$PR_URL" # Use Github CLI to merge automatically the PR
if: contains(github.event.pull_request.title, 'sentry')
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.OPENHPI_BOT_TOKEN }}