Skip to content

fix(ci): run Build on GitHub-hosted ubuntu-22.04 - #1

Closed
akolov wants to merge 5 commits into
mainfrom
alex/fix-ci-hosted-runner-9389
Closed

akolov wants to merge 5 commits into
mainfrom
alex/fix-ci-hosted-runner-9389

Conversation

@akolov

@akolov akolov commented Sep 2, 2026 •

Copy link
Copy Markdown

Problem

The Build workflow on this fork had never produced a run (runs-on: self-hosted, no runners).

Change

  • Run on ubuntu-22.04 with a pull_request trigger.
  • Install missing deps (ninja-build, libibverbs-dev, libnuma-dev, …).
  • Drop sccache (broke meson, then cargo via a dead Actions cache API).
  • Cap compile parallelism at 2 jobs.
  • Add 8G extra swap at /swapfile.ci (the runner’s /swapfile is already active; fallocate there failed with “Text file busy”).

CI

Run Result
33648206105 Prepare: meson rejected CC=sccache cc
33648816269 Build: sccache could not start (cache API HTTP 400)
33649396533 Prepare OK; cmake OOM (exit 143)
33653191753 Extra swap: /swapfile already in use
Open in Web Open in Cursor 

cursoragent and others added 5 commits September 2, 2026 15:22
The fork has no self-hosted runners and Actions never registered a
workflow run. Switch off the private runner label, add a pull_request
trigger, install missing link deps (ibverbs, numa, ninja), and cap
parallelism at nproc so a hosted runner can actually complete.

Co-authored-by: Alexander Kolov <me@alexkolov.com>
sccache-action exports CC="sccache cc". Meson 0.61 treats that as a
single compiler name and fails immediately. Point CC/CXX at clang-14
and wrap only rustc with sccache.

Co-authored-by: Alexander Kolov <me@alexkolov.com>
sccache 0.17 failed to start because the GitHub Actions cache service
returned HTTP 400. Remove the wrapper; Prepare already succeeded without
it, and a cold compile does not need a remote cache.

Co-authored-by: Alexander Kolov <me@alexkolov.com>
The hosted runner was SIGKILL'd (exit 143) while Arrow, Folly, RocksDB,
and LevelDB compiled at once. Limit cargo/cmake/Arrow to 2 jobs and add
8G of swap on the 16GB runner.

Co-authored-by: Alexander Kolov <me@alexkolov.com>
fallocate on /swapfile failed with "Text file busy" because the
ubuntu-22.04 runner already has that file active.

Co-authored-by: Alexander Kolov <me@alexkolov.com>
@akolov akolov closed this Sep 2, 2026
@akolov
akolov deleted the alex/fix-ci-hosted-runner-9389 branch September 2, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants