Skip to content

Commit

Permalink
Update changelog and fix client mode logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Sep 23, 2024
1 parent 9090249 commit f64fb52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# 9.14.0 - TBD
# 9.14.0 - 2024-09-23

## Enhancements

- Add the ability to override the `--fail-fast` option via an environment variable [674](https://github.com/bugsnag/maze-runner/pull/674)
- Add support for defining custom validation blocks in configuration
- [672](https://github.com/bugsnag/maze-runner/pull/672)
- [675](https://github.com/bugsnag/maze-runner/pull/675)
- [677](https://github.com/bugsnag/maze-runner/pull/677)
- Add client mode configuration option [677](https://github.com/bugsnag/maze-runner/pull/677)

# 9.13.1 - 2024-08-30

Expand Down
1 change: 1 addition & 0 deletions lib/maze/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def initialize
self.android_app_files_directory = nil
self.span_timestamp_validation = true
self.unmanaged_traces_mode = false
self.client_mode_validation = true
@legacy_driver = false
end

Expand Down
2 changes: 1 addition & 1 deletion lib/maze/schemas/trace_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def validate
'resourceSpans.0.scopeSpans.0.spans.0.startTimeUnixNano'
)

unless Maze.config.client_mode_validation
if Maze.config.client_mode_validation
span_element_contains('resourceSpans.0.resource.attributes', 'device.id')
end
end
Expand Down

0 comments on commit f64fb52

Please sign in to comment.