commit 029326c8cf0b15e88709d42cfedae590c8fc90fe
parent a2482be371f9d1470dc4dd0e7a3b8566287bb87b
Author: triesap <tyson@radroots.org>
Date: Sat, 3 Oct 2026 11:05:01 +0000
test: traverse the complete governed Today feed
- Observe every marker across finite forward and reverse sweeps
- Retain original missing-marker and persona acceptance assertions
- Extract focused navigation and decrease existing lint debt
- Verify current standalone and mandatory loopback gates
Diffstat:
7 files changed, 51 insertions(+), 11 deletions(-)
diff --git a/Tera.xcodeproj/project.pbxproj b/Tera.xcodeproj/project.pbxproj
@@ -96,6 +96,7 @@
912C8743116D929BB6A02778 /* TeraRuntimeClientTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB77C087F15C2F42CD959607 /* TeraRuntimeClientTests.swift */; };
9309D7175535546A0C878F75 /* TeraCalendarTimingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36AF0D194520F0F02EAD6B50 /* TeraCalendarTimingTests.swift */; };
9384AAECB22885E2D05C54A8 /* TeraScopedMediaTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EFBAA57ABEAA4B84C73EE8E8 /* TeraScopedMediaTests.swift */; };
+ 99593ADF8F011D838BD96848 /* TeraTodayQualificationNavigation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 571474B1C5AB399EBE44C6D2 /* TeraTodayQualificationNavigation.swift */; };
9995BC15D67E1C9C29B4A7DC /* TeraTodayContextTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EFECCBF9A84D1D65544C6094 /* TeraTodayContextTests.swift */; };
9A7E808CB591126300D3A118 /* TeraForegroundSubmissionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99681A076A08E385942344F7 /* TeraForegroundSubmissionTests.swift */; };
9ABCF9A1CDFE20E2BB84A22F /* TeraRestoreRecoveryStoreTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D73E45C67FF1D7BC2791A13 /* TeraRestoreRecoveryStoreTests.swift */; };
@@ -222,6 +223,7 @@
547AD45DC8C58FC4AA0D073D /* TeraFoodDecimalEntryTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraFoodDecimalEntryTests.swift; sourceTree = "<group>"; };
56A65AF934F7D75487094C79 /* TeraComposerSubmissionCaptureTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraComposerSubmissionCaptureTests.swift; sourceTree = "<group>"; };
56F7B42264CD896F76189F33 /* TeraPublicationRetryTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraPublicationRetryTests.swift; sourceTree = "<group>"; };
+ 571474B1C5AB399EBE44C6D2 /* TeraTodayQualificationNavigation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraTodayQualificationNavigation.swift; sourceTree = "<group>"; };
57CA176D0A7566A4ADD2CEA4 /* Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
5854504D0CAD5ABC29302292 /* TeraTodaySyncFixtures.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraTodaySyncFixtures.swift; sourceTree = "<group>"; };
58E711687008866790042792 /* TeraBindingPortabilityTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TeraBindingPortabilityTests.swift; sourceTree = "<group>"; };
@@ -375,6 +377,7 @@
5238B5F236C392C82CEF9838 /* TeraRootShellUITests.swift */,
719F870DBDC5105D134E678E /* TeraSettingsIdentityUI.swift */,
019FAA997BEDE9CC84785DAE /* TeraSubmissionQualificationSupport.swift */,
+ 571474B1C5AB399EBE44C6D2 /* TeraTodayQualificationNavigation.swift */,
9D4EAB5F1EF436E34D348FEB /* TeraValidationRecoveryUI.swift */,
);
path = TeraUITests;
@@ -895,6 +898,7 @@
DF97F408D7D32F72C5AF5939 /* TeraRootShellUITests.swift in Sources */,
3E373FF6F0BDE19F302097A6 /* TeraSettingsIdentityUI.swift in Sources */,
41ED082A17594FE682A381DD /* TeraSubmissionQualificationSupport.swift in Sources */,
+ 99593ADF8F011D838BD96848 /* TeraTodayQualificationNavigation.swift in Sources */,
D263FCB5A968627B48279458 /* TeraValidationRecoveryUI.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
diff --git a/TeraUITests/TeraRemoteQualificationUITests.swift b/TeraUITests/TeraRemoteQualificationUITests.swift
@@ -1028,16 +1028,14 @@ final class TeraRemoteQualificationUITests: XCTestCase {
XCTFail("The local relay refresh did not materialize the Today feed")
throw QualificationError.missingProductSurface
}
- for marker in markers.reversed() {
- for _ in 0 ..< 8 {
- feed.swipeDown()
- }
+ let maximumCards = try loadPersonaSuite().personas.reduce(0) { $0 + $1.attempts.count }
+ let missing = TeraTodayQualificationNavigation.unseenMarkers(
+ app, feed: feed, markers: markers, maximumCards: maximumCards
+ )
+ for marker in markers.reversed() where missing.contains(marker) {
let card = app.descendants(matching: .any).matching(
NSPredicate(format: "label CONTAINS %@", marker)
).firstMatch
- for _ in 0 ..< 6 where !card.exists {
- feed.swipeUp()
- }
guard card.waitForExistence(timeout: 30) else {
XCTFail("Missing Today card \(marker)")
throw QualificationError.missingProductSurface
diff --git a/TeraUITests/TeraTodayQualificationNavigation.swift b/TeraUITests/TeraTodayQualificationNavigation.swift
@@ -0,0 +1,37 @@
+import XCTest
+
+@MainActor
+enum TeraTodayQualificationNavigation {
+ static func unseenMarkers(
+ _ app: XCUIApplication,
+ feed: XCUIElement,
+ markers: [String],
+ maximumCards: Int
+ ) -> Set<String> {
+ var unseen = Set(markers)
+ guard (1 ... 15).contains(maximumCards) else {
+ XCTFail("The governed Today navigation card bound was invalid")
+ return unseen
+ }
+ // The closed fixture admits at most15 cards; AX5 rows span several screens.
+ // Observe every marker while traversing, without restarting for each one.
+ for forward in [true, false] {
+ for _ in 0 ..< maximumCards * 6 {
+ unseen = unseen.filter { marker in
+ !app.descendants(matching: .any).matching(
+ NSPredicate(format: "label CONTAINS %@", marker)
+ ).firstMatch.exists
+ }
+ if unseen.isEmpty {
+ return unseen
+ }
+ if forward {
+ feed.swipeUp()
+ } else {
+ feed.swipeDown()
+ }
+ }
+ }
+ return unseen
+ }
+}
diff --git a/project.yml b/project.yml
@@ -200,6 +200,7 @@ targets:
- path: TeraUITests/TeraRecoveryUITests.swift
- path: TeraUITests/TeraPhotoQualificationInput.swift
- path: TeraUITests/TeraRemoteQualificationUITests.swift
+ - path: TeraUITests/TeraTodayQualificationNavigation.swift
- path: TeraUITests/TeraSettingsIdentityUI.swift
- path: TeraUITests/TeraAddViewportUI.swift
- path: TeraUITests/TeraValidationRecoveryUI.swift
diff --git a/release/provenance.json b/release/provenance.json
@@ -6,7 +6,7 @@
"info_plist_sha256": "b55010dd73b34bf5ad910a888be0ea1ae45f2a5c14329fa6a57059a317bdbd42",
"privacy_manifest_sha256": "0f2103257ba596fbcaeb1d6a4dffe3ae021e84c010178852c6bf500a8cfb0f19",
"sbom_sha256": "f0a15c2c9ad7799539fbc52fd1fdbcf17f4046b6f86cfe0a9b8980adc0079e10",
- "xcode_project_sha256": "4e73d5c72c87b67f3974f1bd50758309fababad5d6867fbb4ea2004208b7e204"
+ "xcode_project_sha256": "94ec168fa6d4addf42961e7bf3f7f48a9ba80236195299cab147899f3994c4c5"
},
"disposition": "unsigned",
"platforms": [
diff --git a/test-fixtures/maintainability-baseline.v1.json b/test-fixtures/maintainability-baseline.v1.json
@@ -38,7 +38,7 @@
},
{
"path": "TeraUITests/TeraRemoteQualificationUITests.swift",
- "maximum_lines": 1953
+ "maximum_lines": 1951
}
],
"python_file_exception": [
diff --git a/test-fixtures/swiftlint-maintainability-baseline.v1.json b/test-fixtures/swiftlint-maintainability-baseline.v1.json
@@ -1 +1 @@
-[{"violation":{"reason":"Initializer body should span 50 lines or less excluding comments and whitespace: currently spans 52 lines","location":{"file":"Tera\/App\/TeraAppModel.swift","line":21,"character":3},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" init("},{"violation":{"reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 373 lines","location":{"file":"Tera\/Runtime\/TeraGeneratedRuntimeBackend.swift","line":31,"character":7},"ruleName":"Type Body Length","severity":"error","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"final class TeraGeneratedRuntimeBackend: TeraRuntimeBackend, @unchecked Sendable {"},{"violation":{"reason":"File should contain 1000 lines or less: currently contains 1089","location":{"file":"Tera\/Runtime\/TeraGeneratedRuntimeBackend.swift","line":1089,"character":1},"ruleName":"File Length","severity":"error","ruleDescription":"Files should not span too many lines.","ruleIdentifier":"file_length"},"text":"}"},{"violation":{"reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 675 lines","location":{"file":"Tera\/Runtime\/TeraRuntimeClient.swift","line":3,"character":1},"ruleName":"Type Body Length","severity":"error","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"actor TeraRuntimeClient {"},{"violation":{"reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 70 lines","location":{"file":"Tera\/Runtime\/TeraRuntimeClient.swift","line":353,"character":3},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" func changes(bufferCapacity: Int = 16) async throws -> AsyncStream<TeraRuntimeChange> {"},{"violation":{"reason":"File should contain 400 lines or less: currently contains 749","location":{"file":"Tera\/Runtime\/TeraRuntimeClient.swift","line":749,"character":1},"ruleName":"File Length","severity":"warning","ruleDescription":"Files should not span too many lines.","ruleIdentifier":"file_length"},"text":"}"},{"violation":{"reason":"File should contain 1000 lines or less: currently contains 1029","location":{"file":"Tera\/Runtime\/TeraRuntimeModels.swift","line":1029,"character":1},"ruleName":"File Length","severity":"error","ruleDescription":"Files should not span too many lines.","ruleIdentifier":"file_length"},"text":"}"},{"violation":{"reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 481 lines","location":{"file":"Tera\/State\/TeraAddStore.swift","line":4,"character":7},"ruleName":"Type Body Length","severity":"error","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"final class TeraAddStore: ObservableObject {"},{"violation":{"reason":"File should contain 400 lines or less: currently contains 702","location":{"file":"Tera\/State\/TeraAddStore.swift","line":702,"character":1},"ruleName":"File Length","severity":"warning","ruleDescription":"Files should not span too many lines.","ruleIdentifier":"file_length"},"text":"}"},{"violation":{"reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 468 lines","location":{"file":"Tera\/State\/TeraConfigurationStore.swift","line":78,"character":1},"ruleName":"Type Body Length","severity":"error","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"actor TeraConfigurationStore {"},{"violation":{"reason":"Function body should span 100 lines or less excluding comments and whitespace: currently spans 109 lines","location":{"file":"Tera\/State\/TeraConfigurationStore.swift","line":148,"character":5},"ruleName":"Function Body Length","severity":"error","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" func load() throws -> TeraAppConfiguration {"},{"violation":{"reason":"File should contain 400 lines or less: currently contains 759","location":{"file":"Tera\/State\/TeraConfigurationStore.swift","line":759,"character":1},"ruleName":"File Length","severity":"warning","ruleDescription":"Files should not span too many lines.","ruleIdentifier":"file_length"},"text":"}"},{"violation":{"reason":"Function should have complexity 10 or less; currently complexity is 13","location":{"file":"Tera\/State\/TeraSessionStore.swift","line":96,"character":11},"ruleName":"Cyclomatic Complexity","severity":"warning","ruleDescription":"Complexity of function bodies should be limited.","ruleIdentifier":"cyclomatic_complexity"},"text":" private func start(acceptingReconfiguration: Bool) async -> TeraSessionPhase {"},{"violation":{"reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 607 lines","location":{"file":"TeraTests\/TeraAddStoreTests.swift","line":6,"character":7},"ruleName":"Type Body Length","severity":"error","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"final class TeraAddStoreTests: XCTestCase {"},{"violation":{"reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 394 lines","location":{"file":"TeraTests\/TeraAddStoreTests.swift","line":682,"character":1},"ruleName":"Type Body Length","severity":"error","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"actor AddBackend: TeraRuntimeBackend {"},{"violation":{"reason":"Function should have 5 parameters or less: it currently has 8","location":{"file":"TeraTests\/TeraAddStoreTests.swift","line":1020,"character":3},"ruleName":"Function Parameter Count","severity":"warning","ruleDescription":"Number of function parameters should be low.","ruleIdentifier":"function_parameter_count"},"text":" func makeStatus("},{"violation":{"reason":"File should contain 1000 lines or less: currently contains 1232","location":{"file":"TeraTests\/TeraAddStoreTests.swift","line":1232,"character":1},"ruleName":"File Length","severity":"error","ruleDescription":"Files should not span too many lines.","ruleIdentifier":"file_length"},"text":"}"},{"violation":{"reason":"Class body should span 250 lines or less excluding comments and whitespace: currently spans 307 lines","location":{"file":"TeraTests\/TeraRemoteQualificationTests.swift","line":7,"character":7},"ruleName":"Type Body Length","severity":"warning","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"final class TeraRemoteQualificationTests: XCTestCase {"},{"violation":{"reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 94 lines","location":{"file":"TeraTests\/TeraRemoteQualificationTests.swift","line":45,"character":3},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" func testQualificationRejectsAmbiguousOrUnsafeHarnessValues() {"},{"violation":{"reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 53 lines","location":{"file":"TeraTests\/TeraRemoteQualificationTests.swift","line":212,"character":3},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" func testAuthorizationEvidenceIsRedactedEphemeralAndRelaunchCleaned() throws {"},{"violation":{"reason":"Class body should span 250 lines or less excluding comments and whitespace: currently spans 298 lines","location":{"file":"TeraTests\/TeraRuntimeClientTests.swift","line":4,"character":7},"ruleName":"Type Body Length","severity":"warning","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"final class TeraRuntimeClientTests: XCTestCase {"},{"violation":{"reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 580 lines","location":{"file":"TeraTests\/TeraStateMigrationTests.swift","line":6,"character":7},"ruleName":"Type Body Length","severity":"error","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"final class TeraStateMigrationTests: XCTestCase {"},{"violation":{"reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 61 lines","location":{"file":"TeraTests\/TeraStateMigrationTests.swift","line":7,"character":5},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" func testRelayValidationMatchesRuntimeProfiles() throws {"},{"violation":{"reason":"File should contain 400 lines or less: currently contains 622","location":{"file":"TeraTests\/TeraStateMigrationTests.swift","line":622,"character":1},"ruleName":"File Length","severity":"warning","ruleDescription":"Files should not span too many lines.","ruleIdentifier":"file_length"},"text":"}"},{"violation":{"reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 1248 lines","location":{"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":4,"character":7},"ruleName":"Type Body Length","severity":"error","ruleDescription":"Type bodies should not span too many lines","ruleIdentifier":"type_body_length"},"text":"final class TeraRemoteQualificationUITests: XCTestCase {"},{"violation":{"reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 65 lines","location":{"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":62,"character":3},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" func testLocalSocialFiveFlowScenario() throws {"},{"violation":{"reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 66 lines","location":{"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":166,"character":3},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" func testLocalSocialDeterministicPersonas() throws {"},{"violation":{"reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 54 lines","location":{"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":239,"character":3},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" func testRemoteBlossomUploadAndRecovery() throws {"},{"violation":{"reason":"Function should have complexity 10 or less; currently complexity is 18","location":{"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":494,"character":11},"ruleName":"Cyclomatic Complexity","severity":"warning","ruleDescription":"Complexity of function bodies should be limited.","ruleIdentifier":"cyclomatic_complexity"},"text":" private func expectedAddFieldLabel(_ identifier: String, type: String) -> String {"},{"violation":{"reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 67 lines","location":{"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":1477,"character":10},"ruleName":"Function Body Length","severity":"warning","ruleDescription":"Function bodies should not span too many lines","ruleIdentifier":"function_body_length"},"text":" static func environment("},{"violation":{"reason":"File should contain 1000 lines or less: currently contains 1953","location":{"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","line":1953,"character":1},"ruleName":"File Length","severity":"error","ruleDescription":"Files should not span too many lines.","ruleIdentifier":"file_length"},"text":"}"}]
-\ No newline at end of file
+[{"violation":{"severity":"warning","reason":"Initializer body should span 50 lines or less excluding comments and whitespace: currently spans 52 lines","location":{"line":21,"file":"Tera\/App\/TeraAppModel.swift","character":3},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" init("},{"violation":{"severity":"error","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 373 lines","location":{"line":31,"file":"Tera\/Runtime\/TeraGeneratedRuntimeBackend.swift","character":7},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraGeneratedRuntimeBackend: TeraRuntimeBackend, @unchecked Sendable {"},{"violation":{"severity":"error","reason":"File should contain 1000 lines or less: currently contains 1089","location":{"line":1089,"file":"Tera\/Runtime\/TeraGeneratedRuntimeBackend.swift","character":1},"ruleIdentifier":"file_length","ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 675 lines","location":{"line":3,"file":"Tera\/Runtime\/TeraRuntimeClient.swift","character":1},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"actor TeraRuntimeClient {"},{"violation":{"severity":"warning","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 70 lines","location":{"line":353,"file":"Tera\/Runtime\/TeraRuntimeClient.swift","character":3},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" func changes(bufferCapacity: Int = 16) async throws -> AsyncStream<TeraRuntimeChange> {"},{"violation":{"severity":"warning","reason":"File should contain 400 lines or less: currently contains 749","location":{"line":749,"file":"Tera\/Runtime\/TeraRuntimeClient.swift","character":1},"ruleIdentifier":"file_length","ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","reason":"File should contain 1000 lines or less: currently contains 1029","location":{"line":1029,"file":"Tera\/Runtime\/TeraRuntimeModels.swift","character":1},"ruleIdentifier":"file_length","ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 481 lines","location":{"line":4,"file":"Tera\/State\/TeraAddStore.swift","character":7},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraAddStore: ObservableObject {"},{"violation":{"severity":"warning","reason":"File should contain 400 lines or less: currently contains 702","location":{"line":702,"file":"Tera\/State\/TeraAddStore.swift","character":1},"ruleIdentifier":"file_length","ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 468 lines","location":{"line":78,"file":"Tera\/State\/TeraConfigurationStore.swift","character":1},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"actor TeraConfigurationStore {"},{"violation":{"severity":"error","reason":"Function body should span 100 lines or less excluding comments and whitespace: currently spans 109 lines","location":{"line":148,"file":"Tera\/State\/TeraConfigurationStore.swift","character":5},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" func load() throws -> TeraAppConfiguration {"},{"violation":{"severity":"warning","reason":"File should contain 400 lines or less: currently contains 759","location":{"line":759,"file":"Tera\/State\/TeraConfigurationStore.swift","character":1},"ruleIdentifier":"file_length","ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"warning","reason":"Function should have complexity 10 or less; currently complexity is 13","location":{"line":96,"file":"Tera\/State\/TeraSessionStore.swift","character":11},"ruleIdentifier":"cyclomatic_complexity","ruleDescription":"Complexity of function bodies should be limited.","ruleName":"Cyclomatic Complexity"},"text":" private func start(acceptingReconfiguration: Bool) async -> TeraSessionPhase {"},{"violation":{"severity":"error","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 607 lines","location":{"line":6,"file":"TeraTests\/TeraAddStoreTests.swift","character":7},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraAddStoreTests: XCTestCase {"},{"violation":{"severity":"error","reason":"Actor body should span 350 lines or less excluding comments and whitespace: currently spans 394 lines","location":{"line":682,"file":"TeraTests\/TeraAddStoreTests.swift","character":1},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"actor AddBackend: TeraRuntimeBackend {"},{"violation":{"severity":"warning","reason":"Function should have 5 parameters or less: it currently has 8","location":{"line":1020,"file":"TeraTests\/TeraAddStoreTests.swift","character":3},"ruleIdentifier":"function_parameter_count","ruleDescription":"Number of function parameters should be low.","ruleName":"Function Parameter Count"},"text":" func makeStatus("},{"violation":{"severity":"error","reason":"File should contain 1000 lines or less: currently contains 1232","location":{"line":1232,"file":"TeraTests\/TeraAddStoreTests.swift","character":1},"ruleIdentifier":"file_length","ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"warning","reason":"Class body should span 250 lines or less excluding comments and whitespace: currently spans 307 lines","location":{"line":7,"file":"TeraTests\/TeraRemoteQualificationTests.swift","character":7},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraRemoteQualificationTests: XCTestCase {"},{"violation":{"severity":"warning","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 94 lines","location":{"line":45,"file":"TeraTests\/TeraRemoteQualificationTests.swift","character":3},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" func testQualificationRejectsAmbiguousOrUnsafeHarnessValues() {"},{"violation":{"severity":"warning","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 53 lines","location":{"line":212,"file":"TeraTests\/TeraRemoteQualificationTests.swift","character":3},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" func testAuthorizationEvidenceIsRedactedEphemeralAndRelaunchCleaned() throws {"},{"violation":{"severity":"warning","reason":"Class body should span 250 lines or less excluding comments and whitespace: currently spans 298 lines","location":{"line":4,"file":"TeraTests\/TeraRuntimeClientTests.swift","character":7},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraRuntimeClientTests: XCTestCase {"},{"violation":{"severity":"error","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 580 lines","location":{"line":6,"file":"TeraTests\/TeraStateMigrationTests.swift","character":7},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraStateMigrationTests: XCTestCase {"},{"violation":{"severity":"warning","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 61 lines","location":{"line":7,"file":"TeraTests\/TeraStateMigrationTests.swift","character":5},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" func testRelayValidationMatchesRuntimeProfiles() throws {"},{"violation":{"severity":"warning","reason":"File should contain 400 lines or less: currently contains 622","location":{"line":622,"file":"TeraTests\/TeraStateMigrationTests.swift","character":1},"ruleIdentifier":"file_length","ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"},{"violation":{"severity":"error","reason":"Class body should span 350 lines or less excluding comments and whitespace: currently spans 1246 lines","location":{"line":4,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","character":7},"ruleIdentifier":"type_body_length","ruleDescription":"Type bodies should not span too many lines","ruleName":"Type Body Length"},"text":"final class TeraRemoteQualificationUITests: XCTestCase {"},{"violation":{"severity":"warning","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 65 lines","location":{"line":62,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","character":3},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" func testLocalSocialFiveFlowScenario() throws {"},{"violation":{"severity":"warning","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 66 lines","location":{"line":166,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","character":3},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" func testLocalSocialDeterministicPersonas() throws {"},{"violation":{"severity":"warning","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 54 lines","location":{"line":239,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","character":3},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" func testRemoteBlossomUploadAndRecovery() throws {"},{"violation":{"severity":"warning","reason":"Function should have complexity 10 or less; currently complexity is 18","location":{"line":494,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","character":11},"ruleIdentifier":"cyclomatic_complexity","ruleDescription":"Complexity of function bodies should be limited.","ruleName":"Cyclomatic Complexity"},"text":" private func expectedAddFieldLabel(_ identifier: String, type: String) -> String {"},{"violation":{"severity":"warning","reason":"Function body should span 50 lines or less excluding comments and whitespace: currently spans 67 lines","location":{"line":1475,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","character":10},"ruleIdentifier":"function_body_length","ruleDescription":"Function bodies should not span too many lines","ruleName":"Function Body Length"},"text":" static func environment("},{"violation":{"severity":"error","reason":"File should contain 1000 lines or less: currently contains 1951","location":{"line":1951,"file":"TeraUITests\/TeraRemoteQualificationUITests.swift","character":1},"ruleIdentifier":"file_length","ruleDescription":"Files should not span too many lines.","ruleName":"File Length"},"text":"}"}]
+\ No newline at end of file