ReviewOS

also looking at this

craft-native/craft

fix(mobile-e2e): launch iOS apps without a pty, so a cold simulator cannot eat the budget

#212
Merged glennmichael123 wants to merge fix/mobile-e2e-ios-launch into main
5 files +74 -23
scripts/mobile-e2e/protocol.tsmodified+2-2
Changes to scripts/mobile-e2e/protocol.ts
@@ -171,8 +171,8 @@ function firstJsonObject(text: string): string | null {
171171/**
172172 * Pull the driver's events out of a device log.
173173 *
174 * The log is not ours: on iOS it is the app's whole stderr as
175 * `simctl launch --console-pty` saw it, on Android a logcat slice, both
174 * The log is not ours: on iOS it is the app's whole stdout and stderr as
175 * `simctl launch --stdout --stderr` wrote them, on Android a logcat slice, both
176176 * carrying unrelated system chatter and, on iOS, ANSI colouring. So lines are
177177 * found by marker rather than by position, colour codes are stripped first,
178178 * and a marker line with no readable event is reported rather than skipped -