mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-12-04 01:18:16 +00:00
* ci(android): retry every Maven Central download on HTTP 429 * changelog: add fragment for #4495 * test(electron): retry temp-folder cleanup that races a late write macOS CI failed backend-startup-budget's teardown with ENOTEMPTY when a write landed while the folder was being removed. Every test that removes its temp folder with rmSync now retries, as runtime-launch-refusal does. * test(electron): let report-bug's node:fs typing accept cleanup retries * ci: read Gradle's real retry key, catch 429s behind any cause, restart racy temp cleanup - gradle.properties: Gradle 8.13 reads repository.max.tentatives, not max.retries, so the limit stayed at three attempts. - The dependency warm-up walks every getCauses() branch, so a 429 behind a timeout in a multi-cause failure still triggers the shell retry. - removeTempDir() restarts the whole recursive removal on ENOTEMPTY/EBUSY/ EPERM; rmSync's maxRetries re-runs only the final rmdir and keeps failing when a file lands after the folder was listed. Used by every test that had the retry options, with a regression test. * ci: retry rate-limited Gradle downloads before every Android build The warm-up moves into mobile/android/scripts/resolve-dependencies.sh and its init script, now run before the emulator jobs and both release builds as well as the unit-test job. Only a 429 is retried; any other failure is left to the build step. Release recovery of an older tag takes the scripts from the workflow's own commit, like the SDK installer. A test keeps every Gradle job behind the warm-up and checks the retry behaviour with a fake gradlew. * test(android): give the dictation protocol waits room on a busy CI runner emptySummaryAndLegacyEofPreserveCommittedText timed out at 2 s on the shared two-worker runner. Every wait in the file is for an event that should happen, so one 10 s limit keeps real hangs fast to fail without flaking. * ci(android): read Maven Central through Google's mirror first Maven Central kept answering the shared runner IPs with HTTP 429 through every retry (four rounds over ~5 minutes). resolve-dependencies.sh now installs an init.d script that lists Google's Maven Central mirror ahead of the build's repositories for every later Gradle run in the job (build, tests, emulator). Maven Central stays listed after it, so anything the mirror lacks still resolves. The release workflow checks the script out with the retry.