Skip to content
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

v5.16.0 #1533

Merged
merged 82 commits into from
Nov 29, 2021
Merged

v5.16.0 #1533

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
94eb49e
Build example app for Espresso tests
twometresteve Oct 25, 2021
f3ba69b
Merge pull request #1457 from bugsnag/tms/espresso-fix
twometresteve Oct 29, 2021
69116c8
Fix startup NDK crash (#1466)
lemnik Nov 1, 2021
3f52a8d
Buildkite - eager concurrency
twometresteve Nov 1, 2021
53e1367
Merge pull request #1473 from bugsnag/tms/eager-concurrency
fractalwrench Nov 2, 2021
f1d6e70
Remove Espresso test steps
twometresteve Nov 1, 2021
ca67dcb
GHA-based instrumentation tests
twometresteve Nov 1, 2021
bcc7b0b
Use parallel builds.
twometresteve Nov 2, 2021
80ca782
Just run tests on the latest and greatest
twometresteve Nov 2, 2021
194dd9c
Skip benchmark tests
twometresteve Nov 2, 2021
c85e03d
Merge pull request #1472 from bugsnag/tms/github-actions-tests
twometresteve Nov 2, 2021
e8957f1
test: add a new debug-build test fixture and build step [full ci] (#1…
lemnik Nov 3, 2021
18a2e6e
Use latest Maze Runner
twometresteve Nov 3, 2021
82e1186
Add e2e tests for Android 12
twometresteve Nov 3, 2021
ada663e
Reinstate Android 11 smoke tests
twometresteve Nov 4, 2021
92a0986
Switch to using Galaxy Note 8 for Android 7 testing
twometresteve Nov 4, 2021
3d5d3f2
Merge pull request #1478 from bugsnag/tms/android-12
twometresteve Nov 4, 2021
0ecf613
Move batch_1 into top level
twometresteve Nov 4, 2021
2edae0b
Move batch_2 into top level
twometresteve Nov 4, 2021
ab1d956
Update pipeline for flat folder structure
twometresteve Nov 4, 2021
1b33c43
Run smoke tests before the first batch of full tests
twometresteve Nov 4, 2021
1b9f716
Include Android 9 in full tests
twometresteve Nov 4, 2021
26ce882
Split Android 9 tests into three batches for quick runs
twometresteve Nov 4, 2021
f9583e3
Merge branch 'master' into v5.15.0_master_sync
lemnik Nov 5, 2021
41466be
Merge pull request #1486 from bugsnag/v5.15.0_master_sync
lemnik Nov 5, 2021
79da358
Merge branch 'next' into tms/pipeline-improvements
twometresteve Nov 5, 2021
d1b17b8
Merge pull request #1485 from bugsnag/tms/pipeline-improvements
twometresteve Nov 5, 2021
0851633
fix: harden stackframe method instantiation
fractalwrench Nov 4, 2021
3063cf0
Update bugsnag-plugin-android-ndk/src/main/jni/bugsnag.c
fractalwrench Nov 5, 2021
cf8e225
Merge pull request #1484 from bugsnag/PLAT-7529/stackframe-fix
fractalwrench Nov 8, 2021
50b4389
refactor: adapt bugsnag to use dsl-json git submodule
fractalwrench Nov 2, 2021
c4b0f06
rename package
fractalwrench Nov 3, 2021
2b557e1
refactor: update dsl-json
lemnik Nov 11, 2021
51542c7
feat(onsend): added the `OnSendCallback` interface and support functi…
lemnik Oct 7, 2021
de68245
Parse event JSON for OnSendCallback (#1414)
lemnik Oct 8, 2021
c96fabf
refactor: moved JsonHelper and FallbackWriter out of the journal package
lemnik Nov 11, 2021
573e78d
fix(tests): only remove unquoted whitespace from json strings during …
lemnik Nov 15, 2021
4471372
Merge pull request #1512 from bugsnag/lemnik/fix-json-compare
lemnik Nov 16, 2021
6f73a9c
Merge pull request #1505 from bugsnag/PLAT-7599/onsend-port
lemnik Nov 16, 2021
8337a6c
feat: parse SeverityReason from json Maps
lemnik Nov 12, 2021
f026293
Merge pull request #1506 from bugsnag/PLAT-7606/parse-severityreason
lemnik Nov 16, 2021
cc46c58
feat: parse SeverityReason from json Maps
lemnik Nov 12, 2021
af7b74b
feat: parse Stackframe & Stacktrace from json Maps
lemnik Nov 12, 2021
d358b0e
Merge pull request #1510 from bugsnag/PLAT-7606/parse-stacktrace-for-…
lemnik Nov 18, 2021
4ffbcea
feat: parse Thread from json Maps
lemnik Nov 12, 2021
d455dfb
Merge pull request #1511 from bugsnag/PLAT-7608/parse-thread-for-onsend
lemnik Nov 18, 2021
21447cd
Prep for Mazerunner ft Bugsnag (#1519)
Cawllec Nov 18, 2021
9b0b564
feat: parse SeverityReason from json Maps
lemnik Nov 12, 2021
5b299ff
feat: parse Stackframe & Stacktrace from json Maps
lemnik Nov 12, 2021
1756709
feat: parse App from json Maps
lemnik Nov 15, 2021
cd77097
Merge pull request #1514 from bugsnag/PLAT-7609/parse-device-and-app-…
lemnik Nov 19, 2021
16d7f3f
feat: parse SeverityReason from json Maps
lemnik Nov 12, 2021
6c1212d
feat: parse Stackframe & Stacktrace from json Maps
lemnik Nov 12, 2021
290b442
feat: parse Breadcrumbs from json Maps
lemnik Nov 16, 2021
4a1f350
Merge pull request #1516 from bugsnag/PLAT-7610/parsebreadcrumbs-for-…
lemnik Nov 19, 2021
44ea7a0
feat: parse SeverityReason from json Maps
lemnik Nov 12, 2021
89aafb4
feat: parse Stackframe & Stacktrace from json Maps
lemnik Nov 12, 2021
7cd880b
feat: parse App from json Maps
lemnik Nov 15, 2021
83a99ee
feat: parse Breadcrumbs from json Maps
lemnik Nov 16, 2021
dc0fdae
feat: parse Events from json Maps
lemnik Nov 16, 2021
640d592
Merge pull request #1517 from bugsnag/PLAT-7611/parse-event-for-onsend
lemnik Nov 22, 2021
d4f0cb0
docs: alter warning about invalid context
fractalwrench Nov 23, 2021
279d63a
Merge pull request #1521 from bugsnag/PLAT-7513/context-warning
fractalwrench Nov 23, 2021
96bf0f0
test(onsend): mazerunner test for the OnSend callback
lemnik Nov 24, 2021
115eed7
Merge pull request #1523 from bugsnag/PLAT-7611/onsend-mazerunner-tests
lemnik Nov 24, 2021
c29a3b0
perf(breadcrumbs): use unix epoch for timestamps (#1525)
kattrali Nov 25, 2021
15975d9
Merge branch 'next' into lemnik/fix-onsend-next-tests
lemnik Nov 25, 2021
870f36c
test: aligned serialization tests with the new json compare logic, ad…
lemnik Nov 25, 2021
1c7a6d6
Merge pull request #1529 from bugsnag/lemnik/fix-onsend-next-tests
lemnik Nov 25, 2021
9bedc08
fix(error breadcrumb): leave error breadcrumbs before attempting even…
lemnik Nov 24, 2021
c6c8011
fix: make onSend interfaces publicly accessible
kattrali Nov 24, 2021
3968463
fix: run onSend callbacks for handled events
kattrali Nov 24, 2021
9bfe6f4
fix: support altering apiKey in onSend callbacks
kattrali Nov 24, 2021
7b738a5
fix: remove Client#addOnSend()
kattrali Nov 24, 2021
a441807
Merge pull request #1528 from bugsnag/PLAT-7645/fix-error-breadcrumbs
lemnik Nov 25, 2021
8e6f8f9
fix(redaction): `redactedKeys` now correctly apply to metadata on Eve…
lemnik Nov 24, 2021
c2b51f8
Merge pull request #1526 from bugsnag/PLAT-7408/metadata-redacted-keys
lemnik Nov 25, 2021
14d36b9
Merge branch 'next' into lemnik/update-onsend-next-to-next
lemnik Nov 26, 2021
145f08a
chore(detekt): update detekt baseline
lemnik Nov 26, 2021
c36ac28
Merge pull request #1531 from bugsnag/lemnik/update-onsend-next-to-next
lemnik Nov 26, 2021
6d2d542
Merge pull request #1524 from bugsnag/integration/onsend-next
lemnik Nov 26, 2021
b82058f
v5.16.0
lemnik Nov 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 129 additions & 27 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ steps:
- label: ':android: Android 5 NDK r16 end-to-end tests - batch 1'
depends_on:
- "fixture-r16"
- "android-5-smoke"
timeout_in_minutes: 90
plugins:
artifacts#v1.2.0:
Expand All @@ -106,7 +105,9 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_1"
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[^a-m].*.feature"
- "--app=/app/build/release/fixture-r16.apk"
- "--farm=bs"
- "--device=ANDROID_5_0"
Expand All @@ -120,7 +121,6 @@ steps:
- label: ':android: Android 5 NDK r16 end-to-end tests - batch 2'
depends_on:
- "fixture-r16"
- "android-5-smoke"
timeout_in_minutes: 90
plugins:
artifacts#v1.2.0:
Expand All @@ -130,7 +130,8 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_2"
- "features/full_tests"
- "--exclude=features/full_tests/[^n-z].*.feature"
- "--app=/app/build/release/fixture-r16.apk"
- "--farm=bs"
- "--device=ANDROID_5_0"
Expand All @@ -144,7 +145,6 @@ steps:
- label: ':android: Android 6 NDK r16 end-to-end tests - batch 1'
depends_on:
- "fixture-r16"
- "android-6-smoke"
timeout_in_minutes: 90
plugins:
artifacts#v1.2.0:
Expand All @@ -154,7 +154,9 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_1"
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[^a-m].*.feature"
- "--app=/app/build/release/fixture-r16.apk"
- "--farm=bs"
- "--device=ANDROID_6_0"
Expand All @@ -166,7 +168,6 @@ steps:
- label: ':android: Android 6 NDK r16 end-to-end tests - batch 2'
depends_on:
- "fixture-r16"
- "android-6-smoke"
timeout_in_minutes: 90
plugins:
artifacts#v1.2.0:
Expand All @@ -176,7 +177,8 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_2"
- "features/full_tests"
- "--exclude=features/full_tests/[^n-z].*.feature"
- "--app=/app/build/release/fixture-r16.apk"
- "--farm=bs"
- "--device=ANDROID_6_0"
Expand All @@ -188,7 +190,6 @@ steps:
- label: ':android: Android 7 NDK r19 end-to-end tests - batch 1'
depends_on:
- "fixture-r19"
- "android-7-smoke"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
Expand All @@ -198,10 +199,12 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_1"
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[^a-m].*.feature"
- "--app=/app/build/release/fixture-r19.apk"
- "--farm=bs"
- "--device=ANDROID_7_1"
- "--device=ANDROID_7_1_SAMSUNG_GALAXY_NOTE_8"
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
Expand All @@ -210,7 +213,6 @@ steps:
- label: ':android: Android 7 NDK r19 end-to-end tests - batch 2'
depends_on:
- "fixture-r19"
- "android-7-smoke"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
Expand All @@ -220,10 +222,11 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_2"
- "features/full_tests"
- "--exclude=features/full_tests/[^n-z].*.feature"
- "--app=/app/build/release/fixture-r19.apk"
- "--farm=bs"
- "--device=ANDROID_7_1"
- "--device=ANDROID_7_1_SAMSUNG_GALAXY_NOTE_8"
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
Expand All @@ -232,7 +235,6 @@ steps:
- label: ':android: Android 8.1 NDK r19 end-to-end tests - batch 1'
depends_on:
- "fixture-r19"
- "android-8-1-smoke"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
Expand All @@ -242,7 +244,9 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_1"
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[^a-m].*.feature"
- "--app=/app/build/release/fixture-r19.apk"
- "--farm=bs"
- "--device=ANDROID_8_1"
Expand All @@ -254,7 +258,6 @@ steps:
- label: ':android: Android 8.1 NDK r19 end-to-end tests - batch 2'
depends_on:
- "fixture-r19"
- "android-8-1-smoke"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
Expand All @@ -264,7 +267,8 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_2"
- "features/full_tests"
- "--exclude=features/full_tests/[^n-z].*.feature"
- "--app=/app/build/release/fixture-r19.apk"
- "--farm=bs"
- "--device=ANDROID_8_1"
Expand All @@ -273,10 +277,54 @@ steps:
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 9 NDK r21 end-to-end tests - batch 1'
depends_on:
- "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
download: "build/release/fixture-r21.apk"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: android-maze-runner
run: android-maze-runner
command:
- "--app=/app/build/release/fixture-r21.apk"
- "--farm=bs"
- "--device=ANDROID_9_0"
- "--exclude=features/full_tests/[^a-m].*.feature"
- "features/smoke_tests"
- "features/full_tests"
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 9 NDK r21 end-to-end tests - batch 2'
depends_on:
- "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
download: "build/release/fixture-r21.apk"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests"
- "--exclude=features/full_tests/[^n-z].*.feature"
- "--app=/app/build/release/fixture-r21.apk"
- "--farm=bs"
- "--device=ANDROID_9_0"
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 10 NDK r21 end-to-end tests - batch 1'
depends_on:
- "fixture-r21"
- "android-10-smoke"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
Expand All @@ -286,7 +334,9 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_1"
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[^a-m].*.feature"
- "--app=/app/build/release/fixture-r21.apk"
- "--farm=bs"
- "--device=ANDROID_10_0"
Expand All @@ -298,7 +348,6 @@ steps:
- label: ':android: Android 10 NDK r21 end-to-end tests - batch 2'
depends_on:
- "fixture-r21"
- "android-10-smoke"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
Expand All @@ -308,7 +357,9 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_2"
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[^n-z].*.feature"
- "--app=/app/build/release/fixture-r21.apk"
- "--farm=bs"
- "--device=ANDROID_10_0"
Expand All @@ -317,14 +368,13 @@ steps:
concurrency_group: 'browserstack-app'
concurrency_method: eager

# Android 11+ devices have the GWP-ASAN tool enabled which randomly samples native memory to
# Android 11+ devices have the GWP-ASAN tool enabled which randomly samples native memory
# to detect misuse (such as use-after-free, buffer overflow). If a failure is detected then
# the device will raise a SIGABRT mentioning GWP-ASAN - this can be investigated further
# by inspecting the devices logs.
- label: ':android: Android 11 NDK r21 end-to-end tests - batch 1'
depends_on:
- "fixture-r21"
- "android-11-smoke"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
Expand All @@ -334,7 +384,9 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_1"
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[^a-m].*.feature"
- "--app=/app/build/release/fixture-r21.apk"
- "--farm=bs"
- "--device=ANDROID_11_0"
Expand All @@ -346,7 +398,6 @@ steps:
- label: ':android: Android 11 NDK r21 end-to-end tests - batch 2'
depends_on:
- "fixture-r21"
- "android-11-smoke"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
Expand All @@ -356,7 +407,9 @@ steps:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests/batch_2"
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[n-z].*.feature"
- "--app=/app/build/release/fixture-r21.apk"
- "--farm=bs"
- "--device=ANDROID_11_0"
Expand All @@ -365,6 +418,55 @@ steps:
concurrency_group: 'browserstack-app'
concurrency_method: eager

# Android 11+ devices have the GWP-ASAN tool enabled which randomly samples native memory
# to detect misuse (such as use-after-free, buffer overflow). If a failure is detected then
# the device will raise a SIGABRT mentioning GWP-ASAN - this can be investigated further
# by inspecting the devices logs.
- label: ':android: Android 12 NDK r21 end-to-end tests - batch 1'
depends_on:
- "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
download: "build/release/fixture-r21.apk"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/smoke_tests"
- "features/full_tests"
- "--exclude=features/full_tests/[^a-m].*.feature"
- "--app=/app/build/release/fixture-r21.apk"
- "--farm=bs"
- "--device=ANDROID_12_0"
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 12 NDK r21 end-to-end tests - batch 2'
depends_on:
- "fixture-r21"
timeout_in_minutes: 60
plugins:
artifacts#v1.2.0:
download: "build/release/fixture-r21.apk"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: android-maze-runner
run: android-maze-runner
command:
- "features/full_tests"
- "--exclude=features/full_tests/[^n-z].*.feature"
- "--app=/app/build/release/fixture-r21.apk"
- "--farm=bs"
- "--device=ANDROID_12_0"
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

# If there is a tag present activate a manual publishing step

- block: 'Trigger package publish'
Expand Down
Loading