Skip to content

Commit 5cf14d0

Browse files
Merge pull request #206 from bugsnag/tms/maze-v10
Use Maze Runner v10
2 parents 27284b7 + d20e2c8 commit 5cf14d0

23 files changed

+73
-70
lines changed

.buildkite/unity.2020.full.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ steps:
1212
key: build-macos-fixture-2020
1313
depends_on: build-artifacts
1414
agents:
15-
queue: macos-14
15+
queue: macos-14-2
1616
env:
17-
XCODE_VERSION: 15.3.0
1817
UNITY_PERFORMANCE_VERSION: *2020
1918
plugins:
2019
'artifacts#v1.9.0':
@@ -45,7 +44,7 @@ steps:
4544
- upm-package.zip
4645
upload:
4746
- features/fixtures/mazerunner/build/Windows-2020.zip
48-
- features/fixtures/build_windows.log
47+
- build_windows.log
4948
commands:
5049
- features/scripts/import_package.sh --windows
5150
- features/scripts/build_windows.sh release
@@ -102,6 +101,7 @@ steps:
102101
timeout_in_minutes: 10
103102
key: build-ios-fixture-2020
104103
depends_on: generate-fixture-project-2020
104+
# macOS 14 used here due to build issues specifically for iOS/Unity 2020 in macOS 15
105105
agents:
106106
queue: macos-14-isolated
107107
env:

.buildkite/unity.2021.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ steps:
4242
- upm-package.zip
4343
upload:
4444
- features/fixtures/mazerunner/build/Windows-2021.zip
45-
- features/fixtures/build_windows.log
45+
- build_windows.log
4646
commands:
4747
- features/scripts/import_package.sh --windows
4848
- features/scripts/build_windows.sh release

.buildkite/unity.2022.full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ steps:
4242
- upm-package.zip
4343
upload:
4444
- features/fixtures/mazerunner/build/Windows-2022.zip
45-
- features/fixtures/build_windows.log
45+
- build_windows.log
4646
commands:
4747
- features/scripts/import_package.sh --windows
4848
- features/scripts/build_windows.sh release

.buildkite/unity.6000.full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ steps:
4242
- upm-package.zip
4343
upload:
4444
- features/fixtures/mazerunner/build/Windows-6000.zip
45-
- features/fixtures/build_windows.log
45+
- build_windows.log
4646
commands:
4747
- features/scripts/import_package.sh --windows
4848
- features/scripts/build_windows.sh release

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ features/fixtures/mazerunner/Assets/Bugsnag
3232
features/fixtures/mazerunner/.vscode
3333
.DS_Store
3434
maze_output.zip
35+
maze_output/
36+
bugsnag-unity-performance.iml
37+
.idea/

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ gem 'danger'
66

77
unless Gem.win_platform?
88
# Use official Maze Runner release
9-
gem 'bugsnag-maze-runner', '~> 9.0'
9+
gem 'bugsnag-maze-runner', '~> 10.0'
1010

1111
# Use a specific Maze Runner branch
1212
#gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', branch: 'master'

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.6'
22
services:
33

44
maze-runner:
5-
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v9-cli
5+
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v10-cli
66
environment:
77
DEBUG:
88
BUILDKITE:

features/app_start_spans.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: App Start
55

66
Scenario: Full App Start
77
When I run the game in the "AppStartFull" state
8-
And I wait for 4 spans
8+
And I wait to receive at least 4 spans
99
Then the trace Bugsnag-Integrity header is valid
1010
And the trace "Bugsnag-Api-Key" header equals "a35a2a72bd230ac0aa0f52715bbdc6aa"
1111
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
@@ -29,7 +29,7 @@ Feature: App Start
2929

3030
Scenario: App Start Start Only
3131
When I run the game in the "AppStartStartOnly" state
32-
And I wait for 4 spans
32+
And I wait to receive at least 4 spans
3333
Then the trace Bugsnag-Integrity header is valid
3434
And the trace "Bugsnag-Api-Key" header equals "a35a2a72bd230ac0aa0f52715bbdc6aa"
3535
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
@@ -51,23 +51,23 @@ Scenario: App Start Start Only
5151

5252
Scenario: App Start Off
5353
When I run the game in the "AppStartOff" state
54-
And I wait for 1 span
54+
And I wait to receive at least 1 span
5555
Then the trace Bugsnag-Integrity header is valid
5656
And the trace "Bugsnag-Api-Key" header equals "a35a2a72bd230ac0aa0f52715bbdc6aa"
5757
* the trace "Bugsnag-Span-Sampling" header equals "1:1"
5858
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.0.name" equals "AppStartOff"
5959

6060
Scenario: App Start Customisation
6161
When I run the game in the "AppStartCustomisation" state
62-
And I wait for 4 spans
62+
And I wait to receive at least 4 spans
6363
Then the trace Bugsnag-Integrity header is valid
6464
And the trace "Bugsnag-Api-Key" header equals "a35a2a72bd230ac0aa0f52715bbdc6aa"
6565
* the trace "Bugsnag-Span-Sampling" header equals "1:4"
6666
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.3.name" equals "[AppStart/UnityRuntime]ColdStart"
6767

6868
Scenario: App Start Clear Customisation
6969
When I run the game in the "AppStartClearCustomisation" state
70-
And I wait for 4 spans
70+
And I wait to receive at least 4 spans
7171
Then the trace Bugsnag-Integrity header is valid
7272
And the trace "Bugsnag-Api-Key" header equals "a35a2a72bd230ac0aa0f52715bbdc6aa"
7373
* the trace "Bugsnag-Span-Sampling" header equals "1:4"

features/callbacks.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: Custom Attributes
55

66
Scenario: Callback Smoke Tests
77
When I run the game in the "CallbackSmokeTests" state
8-
And I wait for 1 span
8+
And I wait to receive at least 1 span
99
Then the trace Bugsnag-Integrity header is valid
1010
And the trace "Bugsnag-Api-Key" header equals "a35a2a72bd230ac0aa0f52715bbdc6aa"
1111
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"

features/configuration.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: Configuration tests
55

66
Scenario: Custom Release Stage
77
When I run the game in the "CustomReleaseStage" state
8-
And I wait for 1 span
8+
And I wait to receive at least 1 span
99
Then the trace Bugsnag-Integrity header is valid
1010
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
1111
And the trace "Bugsnag-Api-Key" header equals "a35a2a72bd230ac0aa0f52715bbdc6aa"
@@ -14,7 +14,7 @@ Feature: Configuration tests
1414

1515
Scenario: Enabled Release Stage
1616
When I run the game in the "EnabledReleaseStages" state
17-
And I wait for 1 span
17+
And I wait to receive at least 1 span
1818
Then the trace Bugsnag-Integrity header is valid
1919
* the trace "Bugsnag-Sent-At" header matches the regex "^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$"
2020
And the trace "Bugsnag-Api-Key" header equals "a35a2a72bd230ac0aa0f52715bbdc6aa"
@@ -37,31 +37,31 @@ Feature: Configuration tests
3737

3838
Scenario: App Version
3939
When I run the game in the "AppVersion" state
40-
And I wait for 1 span
40+
And I wait to receive at least 1 span
4141
Then the trace Bugsnag-Integrity header is valid
4242
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.0.name" equals "AppVersion"
4343
* the trace payload field "resourceSpans.0.resource" string attribute "service.version" equals "1.2.3_AppVersion"
4444

4545
@cocoa_only
4646
Scenario: Bundle Version
4747
When I run the game in the "BundleVersion" state
48-
And I wait for 1 span
48+
And I wait to receive at least 1 span
4949
Then the trace Bugsnag-Integrity header is valid
5050
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.0.name" equals "BundleVersion"
5151
* the trace payload field "resourceSpans.0.resource" string attribute "bugsnag.app.bundle_version" equals "1.2.3_BundleVersion"
5252

5353
@android_only
5454
Scenario: Android Specifics
5555
When I run the game in the "VersionCode" state
56-
And I wait for 1 span
56+
And I wait to receive at least 1 span
5757
Then the trace Bugsnag-Integrity header is valid
5858
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.0.name" equals "VersionCode"
5959
* the trace payload field "resourceSpans.0.resource" string attribute "bugsnag.app.version_code" equals "123"
6060
* the trace payload field "resourceSpans.0.resource" string attribute "bugsnag.device.android_api_version" exists
6161

6262
Scenario: Custom Service Name
6363
When I run the game in the "CustomServiceName" state
64-
And I wait for 1 span
64+
And I wait to receive at least 1 span
6565
Then the trace Bugsnag-Integrity header is valid
6666
* the trace payload field "resourceSpans.0.scopeSpans.0.spans.0.name" equals "CustomServiceName"
6767
* the trace payload field "resourceSpans.0.resource" string attribute "service.name" equals "custom.service.name"

0 commit comments

Comments
 (0)