mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
1. Warm Chromium before the browser tests in the js-room-coop and preview-wasm-workers jobs. Use a temporary profile and a 20-second timeout. If Chromium fails to start, continue to the tests. 2. Run the ios-device-check job in parallel with the ios-host job on macos-15. Check both ui and affine-ios-host for aarch64-apple-ios. Use standard Rust cache keys and keep only aarch64-apple-ios-sim in ios-host. 3. When the iOS smoke test fails, show the last two minutes of WebKit logs from the simulator. A 15-second alarm stops the log command. Exit with the status code from the smoke test. 4. Show the monotonic time and the step duration in milliseconds on each smoke test line. Flush stdout after each line. 5. In requireS3 and the unhandled error handler in IosHostS3SmokeTest.swift, call smokeLog and flush stderr before _exit(1). Keep the original stderr messages.