You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] The build time on arm64 might take too long #585
The timeout-minutes: 500 (~8.3h) in the workflow YAML is irrelevant here — GitHub Actions enforces a hard 6-hour wall-clock limit per job for GitHub-hosted runners, regardless of what timeout-minutes is set to.
What Took So Long
The job was building Build Alpine arm64 via Docker/QEMU emulation (cross-compiling arm64 on an x86_64 runner), and vcpkg had to build all 87 dependencies from source with no cache hits:
Package
Time
protobuf:arm64-linux
3.2 hours
zstd:arm64-linux
8.4 minutes
snappy:arm64-linux
1.4 minutes
... (84 others)
remaining time
The vcpkg install only just finished at 08:41:48 (all 87 packages done), and the job was immediately cancelled at 08:41:56 — literally seconds after vcpkg completed, before the actual cmake build of pulsar-client-cpp even started.
Fix Options
Use a vcpkg binary cache (GitHub Actions cache) — so packages like protobuf don't rebuild from scratch every run. This is the most impactful fix.
Use a native arm64 runner — QEMU emulation is ~10-20x slower than native; native arm64 GitHub-hosted runners are available.
Both — binary cache + native arm64 runners would bring vcpkg install from hours down to minutes.
Activity