Skip to content

fix: call the original terminate handler even after monitors are disabled #4931

fix: call the original terminate handler even after monitors are disabled

fix: call the original terminate handler even after monitors are disabled #4931

Workflow file for this run

name: Fast PR Checks
# Description: Runs a subset of checks for PRs to provide faster feedback.
# Tests run here should run within a couple minutes.
# Any job here, should reuse a workflow that is already used in the complete workflows, no new jobs should be added here.
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
files-changed:
name: Detect File Changes
runs-on: ubuntu-latest
outputs:
# Use the same file filters than the complete workflows
run_release_for_prs: ${{ steps.changes.outputs.run_release_for_prs }}
run_unit_tests_for_prs: ${{ steps.changes.outputs.run_unit_tests_for_prs }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Get changed files
id: changes
uses: dorny/paths-filter@7b450fff21473bca461d4b92ce414b9d0420d706 # v4.0.2
with:
token: ${{ github.token }}
filters: .github/file-filters.yml
fast-xcframework-slices:
name: Fast XCFramework Slice (Sentry Dynamic, iOS arm64)
if: needs.files-changed.outputs.run_release_for_prs == 'true'
needs: files-changed
uses: ./.github/workflows/build-xcframework-variant-slices.yml
with:
name: Sentry
suffix: -Dynamic
macho-type: mh_dylib
variant-id: sentry-dynamic
sdk-list: '["iphoneos"]'
fast-unit-tests:
name: Fast Unit Tests (iOS 18)
if: needs.files-changed.outputs.run_unit_tests_for_prs == 'true'
needs: files-changed
uses: ./.github/workflows/unit-test-common.yml
secrets: inherit
with:
name: iOS 18 Sentry
runs-on: sequoia
timeout: 20
should_skip: false
xcode: "16"
platform: iOS
scheme: Sentry
sentrycrash-import-ratchet:
name: SentryCrash Import Ratchet
if: needs.files-changed.outputs.run_unit_tests_for_prs == 'true'
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Check SentryCrash import count
run: ./scripts/check-sentrycrash-imports.sh
fast-checks-required:
needs: [
files-changed,
fast-xcframework-slices,
fast-unit-tests,
sentrycrash-import-ratchet,
]
name: Fast PR Checks
if: always()
runs-on: ubuntu-latest
steps:
- name: Check for failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: |
echo "One of the fast check jobs has failed." && exit 1