What was broken The game failed to start over an inotify limit
inotify limits are per user, so another program could use them up, and RunGame then failed at startup with gamepad: InotifyAddWatch failed: no space left on device. Yet inotify is only used to detect gamepads plugged in while the game runs.
How we fixed it Without inotify the game starts and gamepads work
When inotify is unavailable, init keeps the gamepads from the initial scan and only skips hotplug detection, as GLFW does. The descriptor is closed if adding the directory watch fails.
#3705
What was broken CI never ran the race detector
No workflow step ran go test with -race, so the concurrency tests in the root package, text/v2, vector and the internal and exp packages could not catch a data race.
How we fixed it go test -race for every package
A new step runs go test -race -shuffle=on -p=1 ./... on Linux with the newest Go. Its first run caught a checkptr error in the IME tests of internal/glfw, which was fixed before the merge.
#3848
What was broken Audio tests waited on real time
Tests in the audio package, such as TestGC and TestSameSourcePlayers, polled the state with 200 ms time.Sleep calls, and one carried a TODO asking whether virtual time could be used.
How we fixed it Tests on synctest's fake clock
The tests run inside synctest.Test, so waiting passes on a fake clock. ResetContextForTesting now stops the goroutine updating the players and the dummy players, so nothing is left in the synctest bubble after a test.
#3849