Skip to content

Commit f618c43

Browse files
committed
chore: fix vchord and kilobase builds, add shared_preload_libraries
- Bump vchord Rust to 1.91.0 for strict_overflow_ops stabilization - Update kilobase rev to fix unregister_matview_refresh conflict - Add kilobase and vchord to shared_preload_libraries in Dockerfile-17 - Update kilobase smoke test to use matview_refresh_status - Add Rust 1.91.0 cargoHash mapping for pgrx 0.16.1 Validated: full Docker build + smoke tests pass locally.
1 parent 7eb1143 commit f618c43

5 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ci-kilobase-runner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ jobs:
176176
177177
echo "=== Smoke test: kilobase ==="
178178
$PSQL <<'SQL'
179-
SELECT kilobase_info();
179+
SELECT * FROM matview_refresh_status;
180180
SQL
181181
182182
echo "=== Smoke test: vchord ==="

Dockerfile-17

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ RUN sed -i 's/ timescaledb,//g;' "/etc/postgresql/postgresql.conf" && \
154154
sed -i 's/db_user_namespace = off/#db_user_namespace = off/g;' "/etc/postgresql/postgresql.conf" && \
155155
sed -i 's/ timescaledb,//g; s/ plv8,//g' "/etc/postgresql-custom/supautils.conf"
156156

157+
# Add KBVE extensions to shared_preload_libraries (kilobase and vchord use background workers)
158+
RUN sed -i "s/\(shared_preload_libraries = '.*\)'/\1, kilobase, vchord'/" "/etc/postgresql/postgresql.conf"
159+
157160
# Include schema migrations
158161
COPY migrations/db /docker-entrypoint-initdb.d/
159162
COPY ansible/files/pgbouncer_config/pgbouncer_auth_schema.sql /docker-entrypoint-initdb.d/init-scripts/00-schema.sql

nix/cargo-pgrx/versions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@
116116
},
117117
"1.90.0": {
118118
"cargoHash": "sha256-95DHq5GLnAqb3bbKwwaeBeKEmkfRh81ZTRaJ7L59DAg="
119+
},
120+
"1.91.0": {
121+
"cargoHash": "sha256-95DHq5GLnAqb3bbKwwaeBeKEmkfRh81ZTRaJ7L59DAg="
119122
}
120123
}
121124
},

nix/ext/kilobase.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let
1818

1919
src = builtins.fetchGit {
2020
url = "https://github.com/KBVE/kbve.git";
21-
rev = "c686ba886f9fd8b87ed9b049264f8602a70706e4";
21+
rev = "19e56aac711a6e22b4b8eebb128654bc9281dbd3";
2222
shallow = true;
2323
};
2424
in

nix/ext/vectorchord.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
let
99
pname = "vchord";
1010
version = "1.0.0";
11-
rustVersion = "1.90.0";
11+
rustVersion = "1.91.0";
1212
pgrxVersion = "0.16.1";
1313

1414
cargo = rust-bin.stable.${rustVersion}.default;

0 commit comments

Comments
 (0)