From 2703e6c8d55da6f05534afd55975b9ecfa887941 Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Fri, 20 Nov 2026 11:27:57 +0000 Subject: [PATCH] ci: pin Extensions Tests runners to ubuntu-22.04 The cr-sqlite extension jobs (CR SQLite C Tests, CR SQLite Rust Tests, Extensions Tests) build Rust bindings from the SQLite C headers with bindgen (bindgen = "0.68.1" in sqlite-rs-embedded/sqlite3_capi), which loads the runner's system libclang at build time to parse the headers. On the current `ubuntu-latest` runner image, that libclang fails to parse the SQLite headers and bindgen emits opaque placeholder structs instead of the real definitions. The generated `sqlite3_api_routines` ends up with a single `_address` field and the nested `sqlite3_index_info_sqlite3_index_constraint` types are missing, so the crr build fails with ~140 errors: error[E0432]: unresolved import `crate::bindings::sqlite3_index_info_sqlite3_index_constraint` error[E0609]: no field `bind_blob` on type `sqlite3_api_routines` note: available fields are: `_address` This is a runner-environment regression, not a code change: the crr sources are unchanged and the bindings generate correctly on the previous image. Pin these jobs to the known-good `ubuntu-22.04` image, matching the native-build jobs in libsql-server-release.yml, so bindgen sees a compatible libclang and parses the headers correctly again. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/extensions-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/extensions-test.yml b/.github/workflows/extensions-test.yml index a02c6ab316..9cc111465f 100644 --- a/.github/workflows/extensions-test.yml +++ b/.github/workflows/extensions-test.yml @@ -17,7 +17,7 @@ concurrency: jobs: c-tests: - runs-on: ubuntu-latest + runs-on: "ubuntu-22.04" defaults: run: working-directory: libsql-sqlite3 @@ -41,7 +41,7 @@ jobs: make test rs-tests: - runs-on: ubuntu-latest + runs-on: "ubuntu-22.04" defaults: run: working-directory: libsql-sqlite3 @@ -61,7 +61,7 @@ jobs: cargo test --features=loadable_extension extensions-tests: - runs-on: ubuntu-latest + runs-on: "ubuntu-22.04" name: Extensions Tests steps: