Skip to content

chore: Ship bigquery in the runtime image (#251) - #256

Merged
jrosskopf merged 2 commits into
mainfrom
chore/gh-251-runtime-bigquery
Nov 24, 2026
Merged

jrosskopf merged 2 commits into
mainfrom
chore/gh-251-runtime-bigquery

Conversation

@jrosskopf

@jrosskopf jrosskopf commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • bigquery@community is now published for DuckDB 2.0.1 (community-extensions.duckdb.org/v2.0.1/linux_{amd64,arm64}/bigquery… → 200). The -runtime image installs it, and the build now fails without it (the || echo fallback is gone).
  • Images start offline gets a third check: the runtime image with bigquery in duckdb.default-extensions, --network none, FLAPI_EXTENSIONS_OFFLINE=1 (new fixture test/integration/fixtures/offline/flapi-bigquery.yaml).
  • Docs: drop the "once published" caveat from the serverless guide and the deploy skill; CHANGELOG Unreleased says v26.11.23-runtime lacks it.

Red / green

  • Red (a53687e, test only):
    • The published ghcr.io/datazoode/flapi:v26.11.23-runtime (amd64) has no bigquery: its runtime-stage layers are empty (32 B), and /app/extensions/v2.0.1/linux_amd64/ holds only ducklake, fts, httpfs, postgres_scanner and sqlite_scanner.
    • Locally, the fixture against an offline extension dir without bigquery fails startup with FLAPI_EXTENSIONS_OFFLINE forbids downloading: bigquery.
  • Green (906bea8): with bigquery installed by flapi extensions install --dir … bigquery@community, the same offline run reaches Successfully loaded 6 out of 6 extensions (json/parquet are built in). The docker-build job runs the image itself.

Test plan

  • Local offline simulation, red then green (no Docker on the dev box)
  • scripts/check_skills.py --static-only
  • CI docker-build → Images start offline (all three checks)

Closes #251

🤖 Generated with Claude Code

https://claude.ai/code/session_018txuxF9jXyiKakpUoXrKBi


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

- New fixture test/integration/fixtures/offline/flapi-bigquery.yaml: the offline
  project with bigquery in duckdb.default-extensions
- "Images start offline" runs the runtime image on it with --network none and
  FLAPI_EXTENSIONS_OFFLINE=1; a missing bigquery stops startup
- Red against the published v26.11.23-runtime: its runtime layers are empty
  (bigquery was not published for DuckDB 2.0.1 then), and a local offline run on
  an extension dir without bigquery fails with "FLAPI_EXTENSIONS_OFFLINE forbids
  downloading: bigquery"
…it (#251)

- bigquery@community is now published for DuckDB 2.0.1
- Dockerfile: drop the "|| echo" fallback; a -runtime image without bigquery
  is not one, so the build now fails instead of leaving it out silently
- Drop the "once published" caveat from the serverless guide and deploy skill;
  CHANGELOG Unreleased notes that v26.11.23-runtime lacks it
- Closes #251
@jrosskopf
jrosskopf merged commit f3d3af5 into main Nov 24, 2026
29 checks passed
@jrosskopf
jrosskopf deleted the chore/gh-251-runtime-bigquery branch November 24, 2026 19:43
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.

Runtime image: add bigquery back once it is published for DuckDB 2.0.1

1 participant