-
-
Notifications
You must be signed in to change notification settings - Fork 256
Merge v8 into main #1997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Merge v8 into main #1997
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1bb772c
Mark exceptions not handled by user as `handled: false` (#1535)
denrase 3d1d35b
Refrain from overwriting the span status for unfinished spans (#1577)
denrase 380c28a
Merge branch 'main' into release/8.0.0
denrase 852a85e
update changelog
denrase c59de47
Do not leak extensions of external classes (#1576)
denrase 052a368
Make `hint` non-nullable in `BeforeSendCallback`, `BeforeBreadcrumbCa…
denrase a37a793
Load Device Contexts from Sentry Java (#1616)
denrase 9b28718
Set ip_address to {{auto}} by default, even if sendDefaultPII is disa…
denrase d99a1e4
chore: merge main into v8 branch (#1841)
buenaflor fab52eb
chore(v8): update to min ios version 12 (#1821)
buenaflor 0fb55cf
v8 prep: merge main into 8.0.0 branch (#1871)
buenaflor 5481ba1
Merge branch 'main' into release/8.0.0
buenaflor 90c63b9
release: 8.0.0-beta.2
getsentry-bot 89c8e41
Update CHANGELOG
buenaflor 8166d0c
Merge branch 'release/8.0.0-beta.2' into release/8.0.0
6075021
Testflight (#1938)
denrase 94ff648
Merge branch 'main' into release/8.0.0
buenaflor 5539fed
Merge branch 'main' into release/8.0.0
buenaflor 07d34a8
Fix test compilation
buenaflor 4a762db
Update CHANGELOG.md
buenaflor e74ea75
Update CHANGELOG.md
buenaflor 06368d6
Update CHANGELOG.md
buenaflor 086d66e
Fix analyze issues
buenaflor 621807f
Apply formatter
buenaflor 3af8df8
Update versions to 8.0.0 (#1996)
buenaflor 645aefa
Fix compilation
buenaflor 9acd049
Exception aggregate mechanism (#1866)
ueman 5d2ff07
Update CHANGELOG.md
buenaflor 5264e78
Update CHANGELOG
buenaflor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
name: flutter integration tests | ||
on: | ||
# Currently broken, enable after fixing | ||
workflow_dispatch | ||
# push: | ||
# branches: | ||
# - main | ||
# - release/** | ||
# pull_request: | ||
# paths-ignore: | ||
# - 'file/**' | ||
|
||
jobs: | ||
cancel-previous-workflow: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # [email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
test-android: | ||
runs-on: macos-latest | ||
timeout-minutes: 30 | ||
defaults: | ||
run: | ||
working-directory: ./flutter/example | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sdk: [ "stable", "beta" ] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: "adopt" | ||
java-version: "11" | ||
|
||
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # [email protected] | ||
with: | ||
channel: ${{ matrix.sdk }} | ||
|
||
- name: flutter upgrade | ||
run: flutter upgrade | ||
|
||
- name: flutter pub get | ||
run: flutter pub get | ||
|
||
- name: Gradle cache | ||
uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2 # [email protected] | ||
|
||
- name: AVD cache | ||
uses: actions/cache@v3 | ||
id: avd-cache | ||
with: | ||
path: | | ||
~/.android/avd/* | ||
~/.android/adb* | ||
key: avd-21 | ||
|
||
- name: create AVD and generate snapshot for caching | ||
if: steps.avd-cache.outputs.cache-hit != 'true' | ||
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #[email protected] | ||
with: | ||
working-directory: ./flutter/example | ||
api-level: 21 | ||
force-avd-creation: false | ||
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | ||
disable-animations: false | ||
arch: x86_64 | ||
profile: Nexus 6 | ||
script: echo 'Generated AVD snapshot for caching.' | ||
|
||
- name: launch android emulator & run android integration test | ||
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #[email protected] | ||
with: | ||
working-directory: ./flutter/example | ||
api-level: 21 | ||
force-avd-creation: false | ||
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | ||
disable-animations: true | ||
arch: x86_64 | ||
profile: Nexus 6 | ||
script: flutter test integration_test/integration_test.dart --verbose | ||
|
||
test-ios: | ||
runs-on: macos-13 | ||
timeout-minutes: 30 | ||
defaults: | ||
run: | ||
working-directory: ./flutter/example | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# 'beta' is flaky because of https://github.com/flutter/flutter/issues/124340 | ||
sdk: [ "stable" ] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # [email protected] | ||
with: | ||
channel: ${{ matrix.sdk }} | ||
|
||
- name: flutter upgrade | ||
run: flutter upgrade | ||
|
||
- name: flutter pub get | ||
run: flutter pub get | ||
|
||
- name: launch ios simulator | ||
run: | | ||
simulator_id=$(xcrun simctl create sentryPhone com.apple.CoreSimulator.SimDeviceType.iPhone-14 com.apple.CoreSimulator.SimRuntime.iOS-16-2) | ||
xcrun simctl boot ${simulator_id} | ||
|
||
- name: run ios integration test | ||
run: flutter test integration_test/integration_test.dart --verbose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ jobs: | |
run: flutter pub get | ||
|
||
- name: Gradle cache | ||
uses: gradle/gradle-build-action@8baac4c8ef753599f92eeb509c246d09d6250fa6 | ||
uses: gradle/gradle-build-action@8baac4c8ef753599f92eeb509c246d09d6250fa6 # [email protected] | ||
|
||
- name: AVD cache | ||
uses: actions/cache@v4 | ||
|
@@ -120,8 +120,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
sdk: ["stable", "beta"] | ||
# TODO: remove ios for now, will be fixed in v8 | ||
target: ["macos"] | ||
target: ["ios", "macos"] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Upload to Testflight | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- release/** | ||
pull_request: | ||
paths: | ||
- '.github/workflows/testflight.yml' | ||
|
||
jobs: | ||
upload_to_testflight: | ||
name: Build and Upload to Testflight | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # [email protected] | ||
- run: xcodes select 15.0.1 | ||
- uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # [email protected] | ||
with: | ||
ruby-version: '2.7.5' | ||
bundler-cache: true | ||
|
||
- name: flutter | ||
working-directory: ./flutter/example | ||
run: | | ||
flutter upgrade | ||
flutter pub get | ||
flutter build ios --no-codesign | ||
|
||
- name: Install Fastlane | ||
working-directory: ./flutter/example/ios | ||
run: bundle install | ||
|
||
- name: Bump, Build & Upload App to TestFlight | ||
working-directory: ./flutter/example/ios | ||
env: | ||
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }} | ||
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }} | ||
APP_STORE_CONNECT_KEY: ${{ secrets.APP_STORE_CONNECT_KEY }} | ||
FASTLANE_BUNDLE_VERSION: ${{ github.run_number }} | ||
FASTLANE_KEYCHAIN_PASSWORD: ${{ secrets.FASTLANE_KEYCHAIN_PASSWORD }} | ||
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }} | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
SENTRY_LOG_LEVEL: DEBUG | ||
run: | | ||
bundle exec fastlane bump_build_number | ||
bundle exec fastlane build_release | ||
bundle exec fastlane upload_testflight | ||
|
||
- name: Upload Symbols to Sentry | ||
working-directory: ./flutter/example | ||
env: | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
run: flutter packages pub run sentry_dart_plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include: package:lints/recommended.yaml | ||
|
||
analyzer: | ||
errors: | ||
path_does_not_exist: ignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.