| name | upgrade-duckdb-extension |
| description | Upgrade the query_condition_cache DuckDB extension to a new DuckDB release. Use when the user asks to upgrade DuckDB, bump the duckdb submodule, sync to a new DuckDB tag (e.g. v1.5.2), or update the duckdb / extension-ci-tools submodules and CI pins together. |
Upgrade query_condition_cache to a new DuckDB release
Two submodules and the distribution workflow pins normally move together. Then build, run the extension tests, and note any DuckDB C++ API adjustments needed for this extension.
Inputs
Before starting, confirm the target DuckDB version (e.g. v1.5.2). Everything else is derived from it.
Workflow
Track these as a checklist; do not skip ahead:
-
- Pin duckdb submodule to tags/$TARGET
-
- Pin extension-ci-tools submodule to $TARGET (same tag)
-
- Pin duckdb-httpfs submodule based on DuckDB repo commit
-
- Build: CMAKE_BUILD_PARALLEL_LEVEL=10 make reldebug
-
- Run tests (both must pass):
- SQL test:
make test_reldebug (expands to ./build/reldebug/test/unittest "test/*")
- C++ test:
./build/reldebug/extension/query_condition_cache/test/unittest/unittest_query_condition_cache
Reference: historical upgrade commits
4a601f5 - Upgrade duckdb v1.5.2 (#66). Minimal: duckdb submodule + small C++ API adjustment.
2c6458a - Bumpup to DuckDB v1.5.1 (#49).
cf4bb0c - Upgrade to v1.5.0 (#19).