ci: update test job runner from ubuntu-20.04 to ubuntu-22.04#163
Conversation
ubuntu-20.04 GitHub-hosted runners are no longer available, causing the Test job to wait indefinitely for a runner that never picks it up. ubuntu-22.04 is the current LTS and has full runner availability.
Greptile SummaryThis PR fixes the blocked
Confidence Score: 4/5Safe to merge — the change is minimal and directly unblocks a stuck CI job. The change is a single-line runner label swap that correctly addresses the root cause. The only open question is whether actions/setup-java@v1 will behave well on Ubuntu 22.04; if it doesn't, the test job will fail for a new reason rather than silently waiting forever, which is at least a visible failure. .github/workflows/build.yml — the setup-java@v1 step at line 247 is worth a follow-up update. Important Files Changed
Sequence DiagramsequenceDiagram
participant GH as GitHub Actions
participant BR as build-rust
participant T as test (ubuntu-22.04)
participant E2E as test-e2e
GH->>BR: trigger on push/PR
BR->>BR: Build aw-server-rust JNI libs
BR->>GH: upload artifact + cache jniLibs
GH->>T: needs: [build-rust]
T->>GH: restore jniLibs cache
T->>T: "Set up JDK (setup-java@v1)"
T->>T: make test
T-->>GH: pass/fail
GH->>E2E: needs: [build-rust]
E2E->>E2E: run e2e tests
|
Summary
ubuntu-20.04GitHub-hosted runners are no longer available, causing the Test job to wait indefinitely for a runner that never picks it upubuntu-22.04(current LTS, full runner availability)Root Cause
Erik noticed in #156 that the Test CI job was stuck at "Waiting for a runner to pick up this job..." — the
ubuntu-20.04runner image has been removed by GitHub. The test job at line 232 ofbuild.ymlwas the culprit.Note
There are also several deprecated action versions in the workflow (
actions/checkout@v2,actions/setup-java@v1,actions/upload-artifact@v3,actions/download-artifact@v3). Those were already being tracked separately and are a follow-up concern — this PR only fixes the blocking runner issue.