krz/octosentry

macOS menu bar app to monitor GitHub security alerts

clone: git clone https://gitbay.org/krz/octosentry.git

30e5c7ead151fec1f595f69916985a857ca55603

signed_unknown_key

author: Christian Cleberg <hello@cleberg.net> · 2026-08-22T20:47:45Z
committer: <noreply@github.com>

Remove testLaunchPerformance (#29)

XCTApplicationLaunchMetric doesn't report reliably against an
LSUIElement app with no window — the test failed on 3 of 5 local runs
with "Received unexpected number of metrics: 0". It has no recorded
baseline, so it asserted nothing, and it cost roughly 15s a run.
 octosentryUITests/octosentryUITests.swift | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/octosentryUITests/octosentryUITests.swift b/octosentryUITests/octosentryUITests.swift
index 576538e..16ee644 100644
--- a/octosentryUITests/octosentryUITests.swift
+++ b/octosentryUITests/octosentryUITests.swift
@@ -32,12 +32,4 @@ final class octosentryUITests: XCTestCase {
         // XCUIAutomation Documentation
         // https://developer.apple.com/documentation/xcuiautomation
     }
-
-    @MainActor
-    func testLaunchPerformance() throws {
-        // This measures how long it takes to launch your application.
-        measure(metrics: [XCTApplicationLaunchMetric()]) {
-            XCUIApplication().launch()
-        }
-    }
 }