Repository navigation
Fix the arm64 release build and a racy routing test - #333
Conversation
v3.2.0-beta.2 failed on Linux arm64: Nucleus's native-image resource task creates the iOS tasks of the app's modules, and the Kotlin plugin refuses to create those there. Pass iosSkip, as CI and the Android job already do. NucleusFramework/Nucleus#904 fixes the cause. WraythStreamRoutingTests cancelled its collectors as soon as the client disconnected, which could drop lines they hadn't reached yet and failed CI on main. Wait for them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
Walkthrough
Merge Risk:
|
Waiting for main to go quiet for 50 ms still loses events if the collector stalls for longer. Unconfined collectors take each line inside the client's send, so nothing is buffered at disconnect and the test needs no wait at all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes the two failures from
e3b4c47d, so a new beta can publish.Linux arm64 release build
The v3.2.0-beta.2 run failed on
ubuntu-22.04-armwithCould not create task ':core:kspKotlinIosArm64'/Unknown host target: linux aarch64, so nothing published. The other four desktop targets built, including their--versionchecks.The cause is in Nucleus, fixed by NucleusFramework/Nucleus#904. Until that ships, the release build passes
-PiosSkip=true, as CI and the Android job already do. Desktop packaging doesn't use the iOS targets.Racy routing test
aPushToADeclaredStreamGoesTherefailed on main atWraythStreamRoutingTests.kt:87. The harness cancelled its collectors as soon as the client disconnected, while they could still be draining buffered lines on other threads. The test code itself was the problem, not the client. The collectors now run onDispatchers.Unconfined, so each takes a line inside the client's own send and nothing is buffered at disconnect.Tested
WraythStreamRoutingTestspasses 20 reruns with every core under load. The original failure never reproduced here, so that doesn't prove the race is gone.:desktopApp:packageGraalvmDeband:desktopApp:packageGraalvmAppImagewith-PiosSkip=truebuild on Linux x64. The packaged binary reports its version with exit code 0 and replayed a game log for 25 seconds.Not tested: the arm64 build itself, which only a release run exercises, or
iosSkipbuilds on Windows and macOS.🤖 Generated with Claude Code
Summary by CodeRabbit
Chores
Tests