mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-28 09:19:11 +01:00
* ci: test the desktop crates on macOS for full-ci pull requests A new macOS workflow runs clippy with -D warnings and the tests of artcraft-launcher-native and artcraft-launcher-ui-egui on macos-15. To save the org's macOS slots, which release builds share, it runs only on pull requests labelled full-ci. * Gate Linux-only Nightly test helpers to Linux Their only callers are Linux tests, so macOS builds of the native tests reported them as dead code and clippy -D warnings failed there. * Move complete_nightly_install above the install tests Clippy's items_after_test_module failed the macOS build: on macOS the Linux-only cleanup test module after it is compiled out, so this Unix helper was the only item after mod tests. Code move only. * Give the redirect-budget test room for late timers on a loaded Mac On a loaded macOS host with low priority, timer coalescing made the fixture's 5 ms accept polls take up to 25 ms and its 80 ms response delay take up to 153 ms. With a 130 ms budget, the first hop then ran out of time before it could redirect, so the second request the test waits for was never sent. The fixture now waits 600 ms per hop against a 1 s budget. Each hop alone still fits, and because sleeps never return early, the two hops together always exceed the budget. The assertions are unchanged.