Skip to content

v0.1.1

Choose a tag to compare

@rustyconover rustyconover released this 18 Sep 04:35
· 20 commits to main since this release

A container image, so the worker runs anywhere Docker does.

docker run -p 8000:8000 ghcr.io/query-farm/vgi-hackernews:0.1.1
FORCE INSTALL vgi FROM community;
LOAD vgi;

-- Against the running container, over HTTP
ATTACH 'hackernews' (TYPE vgi, LOCATION 'http://localhost:8000');

-- Or let DuckDB spawn the container itself, over stdio
ATTACH 'hackernews' (TYPE vgi,
  LOCATION 'docker run -i --rm ghcr.io/query-farm/vgi-hackernews:0.1.1 stdio');

The image

  • One image, both transports: HTTP by default (with /health for probes), stdio with the stdio argument.
  • linux/amd64 and linux/arm64, built by the fleet's shared docker-publish workflow, which boots each architecture and checks /health before anything is pushed. Tags: 0.1.1, 0.1, latest; edge tracks main.
  • Runs as an unprivileged user. No credentials in the image, and none needed: it only reaches hacker-news.firebaseio.com.

Requires vgi-python 0.34.1

Building the image surfaced a bug in vgi-python: import vgi created its state database under $HOME, so a worker whose home was not writable died before it could start. That is fixed in vgi-python 0.34.1, which this release requires.

Also

  • ci/check-version.sh refuses a release tag that does not match the package version.
  • The container was linted over HTTP with vgi-lint: 100/100, no findings, assurance level L2.