YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(ci): reduce runner wait times — 3min MacBook, 2min Mac Mini/Windows
Louis Beaumontaf9204820d9f
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 472130894..2d6e726bc 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -104,7 +104,7 @@ jobs:local label="$1"local timeout="$2"local elapsed=0- local interval=30+ local interval=10echo "⏳ Waiting up to ${timeout}s for $label to become available..." >&2while [ $elapsed -lt $timeout ]; dolocal state=$(check_runner "$label")@@ -129,8 +129,8 @@ jobs:echo "⚠️ Forcing GitHub-hosted runners (manual override)"else# macOS aarch64 fallback chain (needs Xcode 26 for Apple Intelligence):- # 1. MacBook (macos-26) — wait up to 10 min- # 2. Mac Mini (macos-test) — wait up to 5 min+ # 1. MacBook (macos-26) — wait up to 3 min+ # 2. Mac Mini (macos-test) — wait up to 2 min# 3. GH-hosted (macos-latest) — no Apple Intelligence but always availableMACBOOK=$(check_runner "macos-26")@@ -138,18 +138,18 @@ jobs:echo "macos_arm_runner=macos-26" >> $GITHUB_OUTPUTecho "✅ MacBook (macos-26) is available"elif [ "$MACBOOK" = "busy" ]; then- RESULT=$(wait_for_runner "macos-26" 600)+ RESULT=$(wait_for_runner "macos-26" 180)if [ "$RESULT" = "available" ]; thenecho "macos_arm_runner=macos-26" >> $GITHUB_OUTPUTecho "✅ MacBook (macos-26) became available"else- echo "⚠️ MacBook timed out after 10 min, trying Mac Mini..."+ echo "⚠️ MacBook timed out after 3 min, trying Mac Mini..."MACMINI=$(check_runner "macos-test")if [ "$MACMINI" = "available" ]; thenecho "macos_arm_runner=macos-test" >> $GITHUB_OUTPUTecho "✅ Mac Mini (macos-test) is available"elif [ "$MACMINI" = "busy" ]; then- RESULT2=$(wait_for_runner "macos-test" 300)+ RESULT2=$(wait_for_runner "macos-test" 120)if [ "$RESULT2" = "available" ]; thenecho "macos_arm_runner=macos-test" >> $GITHUB_OUTPUTecho "✅ Mac Mini (macos-test) became available"@@ -169,7 +169,7 @@ jobs:echo "macos_arm_runner=macos-test" >> $GITHUB_OUTPUTecho "✅ Mac Mini (macos-test) is available"elif [ "$MACMINI" = "busy" ]; then- RESULT2=$(wait_for_runner "macos-test" 300)+ RESULT2=$(wait_for_runner "macos-test" 120)if [ "$RESULT2" = "available" ]; thenecho "macos_arm_runner=macos-test" >> $GITHUB_OUTPUTecho "✅ Mac Mini (macos-test) became available"@@ -183,14 +183,14 @@ jobs:fifi- # Windows: try self-hosted, wait up to 5 min, fallback to GH-hosted+ # Windows: try self-hosted, wait up to 2 min, fallback to GH-hostedWINRUNNER=$(check_runner "windows-desktop-test")if [ "$WINRUNNER" = "available" ]; thenecho "windows_runner=windows-desktop-test" >> $GITHUB_OUTPUTecho "✅ Windows self-hosted is available"elif [ "$WINRUNNER" = "busy" ]; then- RESULT=$(wait_for_runner "windows-desktop-test" 300)+ RESULT=$(wait_for_runner "windows-desktop-test" 120)if [ "$RESULT" = "available" ]; thenecho "windows_runner=windows-desktop-test" >> $GITHUB_OUTPUTecho "✅ Windows self-hosted became available"