diff --git a/Package.resolved b/Package.resolved index a7c519412..c628e3b4d 100644 --- a/Package.resolved +++ b/Package.resolved @@ -150,8 +150,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/vapor/postgres-nio.git", "state" : { - "revision" : "9ef06112c41feb7170c8c9116361f170e2a2b1d1", - "version" : "1.26.1" + "revision" : "ccb25dcc428587224633a79c0ce0430eeac3dc0f", + "version" : "1.26.2" } }, { @@ -186,8 +186,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/SwiftPackageIndex/SemanticVersion.git", "state" : { - "revision" : "ea8eea9d89842a29af1b8e6c7677f1c86e72fa42", - "version" : "0.4.0" + "revision" : "3b18d75a3cece558fb98e72d7dd5c83394d86d5b", + "version" : "0.5.1" } }, { @@ -202,7 +202,7 @@ { "identity" : "shellquote", "kind" : "remoteSourceControl", - "location" : "https://github.com/SwiftPackageIndex/ShellQuote.git", + "location" : "https://github.com/SwiftPackageIndex/ShellQuote", "state" : { "revision" : "5f555550c30ef43d64b36b40c2c291a95d62580c", "version" : "1.0.2" @@ -303,8 +303,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-atomics.git", "state" : { - "revision" : "cd142fd2f64be2100422d658e7411e39489da985", - "version" : "1.2.0" + "revision" : "b601256eab081c0f92f059e12818ac1d4f178ff7", + "version" : "1.3.0" } }, { @@ -312,8 +312,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-case-paths", "state" : { - "revision" : "41b89b8b68d8c56c622dbb7132258f1a3e638b25", - "version" : "1.7.0" + "revision" : "9810c8d6c2914de251e072312f01d3bf80071852", + "version" : "1.7.1" } }, { @@ -384,8 +384,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-distributed-tracing.git", "state" : { - "revision" : "a64a0abc2530f767af15dd88dda7f64d5f1ff9de", - "version" : "1.2.0" + "revision" : "b78796709d243d5438b36e74ce3c5ec2d2ece4d8", + "version" : "1.2.1" } }, { @@ -409,7 +409,7 @@ { "identity" : "swift-http-types", "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-http-types", + "location" : "https://github.com/apple/swift-http-types.git", "state" : { "revision" : "a0a57e949a8903563aba4615869310c0ebf14c03", "version" : "1.4.0" @@ -474,8 +474,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio-ssl.git", "state" : { - "revision" : "4b38f35946d00d8f6176fe58f96d83aba64b36c7", - "version" : "2.31.0" + "revision" : "36b48956eb6c0569215dc15a587b491d2bb36122", + "version" : "2.32.0" } }, { @@ -528,8 +528,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-service-context.git", "state" : { - "revision" : "8946c930cae601452149e45d31d8ddfac973c3c7", - "version" : "1.2.0" + "revision" : "1983448fefc717a2bc2ebde5490fe99873c5b8a6", + "version" : "1.2.1" } }, { @@ -573,8 +573,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-toolchain-sqlite", "state" : { - "revision" : "4ee66b3ab1c40d20176045e61d8276242e73b01d", - "version" : "1.0.3" + "revision" : "1c16f72b452404d4dba3003396e47421a406e7fe", + "version" : "1.0.5" } }, { @@ -591,8 +591,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/scinfu/SwiftSoup.git", "state" : { - "revision" : "bba848db50462894e7fc0891d018dfecad4ef11e", - "version" : "2.8.7" + "revision" : "aa85ee96017a730031bafe411cde24a08a17a9c9", + "version" : "2.8.8" } }, { diff --git a/Sources/App/Commands/Alerting.swift b/Sources/App/Commands/Alerting.swift index 65a9e97dd..bdfa56fe4 100644 --- a/Sources/App/Commands/Alerting.swift +++ b/Sources/App/Commands/Alerting.swift @@ -275,7 +275,7 @@ extension [Alerting.BuildInfo] { func validateSuccessRateInRange() -> Alerting.Validation { let successRate = Double(filter { $0.status == .ok }.count) / Double(count) // Success rate has been around 30% generally - if 0.2 <= successRate && successRate <= 0.4 { + if 0.15 <= successRate && successRate <= 0.45 { return .ok } else { let percentSuccessRate = (successRate * 1000).rounded() / 10 diff --git a/Tests/AppTests/AlertingTests.swift b/Tests/AppTests/AlertingTests.swift index df78f56cf..5a196db5e 100644 --- a/Tests/AppTests/AlertingTests.swift +++ b/Tests/AppTests/AlertingTests.swift @@ -109,20 +109,20 @@ extension AllTests.AlertingTests { #expect(all.validateSuccessRateInRange() == .ok) } do { - let okCount = 199 + let okCount = 149 let failedCount = 1000 - okCount let okBuilds = (0..