Skip to content

feat: cache priority and tests (copy) #164

feat: cache priority and tests (copy)

feat: cache priority and tests (copy) #164

Triggered via pull request October 9, 2025 22:44
Status Failure
Total duration 1m 42s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
swift-lint: FlagsmithClient/Tests/APIErrorCacheFallbackTests.swift#L12
Type Body Length Violation: Class body should span 350 lines or less excluding comments and whitespace: currently spans 360 lines (type_body_length)
swift-lint: FlagsmithClient/Tests/APIErrorCacheFallbackTests.swift#L346
Force Try Violation: Force tries should be avoided (force_try)
swift-lint: FlagsmithClient/Tests/APIErrorCacheFallbackTests.swift#L59
Force Try Violation: Force tries should be avoided (force_try)
swift-lint: FlagsmithClient/Tests/CustomerCacheUseCaseTests.swift#L342
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
swift-lint: FlagsmithClient/Tests/CustomerCacheUseCaseTests.swift#L341
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
swift-lint: FlagsmithClient/Tests/CustomerCacheUseCaseTests.swift#L34
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
swift-lint: FlagsmithClient/Tests/CustomerCacheUseCaseTests.swift#L33
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
swift-lint: FlagsmithClient/Tests/APIManagerTests.swift#L149
Unused Closure Parameter Violation: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
swift-lint: FlagsmithClient/Tests/APIManagerTests.swift#L117
Unused Closure Parameter Violation: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
swift-lint: FlagsmithClient/Tests/APIManagerTests.swift#L108
Unused Closure Parameter Violation: Unused parameter in a closure should be replaced with _ (unused_closure_parameter)
swift-lint: FlagsmithClient/Tests/APIManagerTests.swift#L187
Non-optional String -> Data Conversion Violation: Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (non_optional_string_data_conversion)
swift-lint: FlagsmithClient/Tests/APIManagerTests.swift#L163
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 67 lines (function_body_length)
swift-lint: Example/FlagsmithClient/SwiftUIView.swift#L15
Type Body Length Violation: Struct body should span 250 lines or less excluding comments and whitespace: currently spans 251 lines (type_body_length)