Skip to main content

Developers

This page is for contributors and developers working in the GeoBrix repository. It describes how the project is organized and how to use the gbx:* commands effectively.

How the project is organized​

GeoBrix is a multi-artifact repo: Scala/JVM core, Python bindings, docs, and tooling share the same root and are built for Databricks. The development container runs the same native payload as the env wheel. Build and test GeoBrix there before you run it on Databricks.

Repository layout​

PathPurpose
src/main/scala/com/databricks/labs/gbx/Core implementation: readers, expressions, RasterX, GridX, VectorX
src/test/scala/Scala unit and integration tests
python/geobrix/Python package: PySpark bindings and sample-data bundle
docs/Docusaurus site: docs/ (content), src/ (components), tests under docs/tests/
examples/Sample notebooks, apps, and tests (examples/notebooks/, examples/apps/, examples/sample-data/, examples/tests/)
scripts/CI, Docker, and one-off scripts
sample-data/Scripts and outputs for sample data (host); in-cluster uses Volumes path
scripts/commands/gbx:* palette commands — .md registration + .sh implementation (see below)
CLAUDE.mdProject conventions and working patterns — read this first when starting work here

Packages and readers​

  • RasterX — Raster operations and expressions (GDAL-backed); rst_* / gbx_rst_*.
  • GridX — Grid systems (BNG, H3); bng_* / gbx_bng_*.
  • VectorX — Vector geometry and OGR-backed readers; st_* / gbx_st_*.
  • Readers — Format-specific data sources (GDAL, OGR, GeoTIFF, Shapefile, GeoJSON, GeoPackage, etc.) registered as Spark data sources.

Tests and docs​

  • Unit tests: src/test/scala/ (Scala), python/geobrix/test/ (Python).
  • Documentation tests: docs/tests/python/, docs/tests/scala/ — validate code examples used in the docs; single source of truth.
  • Notebook tests: examples/tests/ validates examples under examples/notebooks/ and examples/apps/; run via gbx:* commands or CI.

Development and CI use a Docker image (geobrix-dev) for a consistent environment; most gbx:* commands run inside that container.

The container runs the native image, geobrix-dev:ubuntu24-gbxnative-spark-<arch>. It carries the env6 wheel's GDAL, the same build that Databricks runs. It is built on a base image, geobrix-dev:ubuntu24-base-spark-<arch>, which has no GDAL of its own. To build both the first time:

  1. Build the base image: gbx:docker:rebuild.
  2. Build the env6 wheel: gbx:build:wheel --env 6.
  3. Build the native bindings into build/native/out/<arch>/bindings/dist/: gbx:build:native --target bindings.
  4. Run scripts/native/prefetch.sh --arch <arch>, then build the native image: gbx:docker:rebuild --overlay gbxnative.
  5. Start the container: gbx:docker:start. When an image is missing, it prints these steps and stops.

Testing the JVM level​

The JVM level (L1) needs a built JAR. Functions the JAR speeds up lists the functions that run on the JVM by default. Compiled classes alone are not enough: the tests load the assembly JAR from python/geobrix/lib/.

  • Force or favour a level. register(spark, only=[...], _levels=..., _prefer=...) lets a test compare levels. _levels maps a SQL name to a forced (level, variant) pair, for example {"gbx_st_triangulate": ("L1", "-")}. _prefer maps a SQL name to a level to try first, with the usual fallback. Use them in tests and benches only. They carry no compatibility promise.
  • Cross-tier parity. gbx:test:parity builds the JAR, stages it in python/geobrix/lib/ and runs the parity suites. --skip-build reuses the staged JAR.
  • The family harness. python/geobrix/test/manager/test_family_cross_tier.py runs every oracle table at every level. Set GBX_ORACLE_TABLES=<TABLE>[,<TABLE2>] to pick tables. With a staged JAR, run it through gbx:test:python --path <file> --with-integration. Without --with-integration, its parity rows skip.
  • Scala suites. gbx:test:scala --suite '<pattern>' runs one suite, and --suites 'A,B' runs several.
  • Timing. gbx:bench:local-timing --set <family> times one function of a family at its JVM level against each Python form, on local[8] in the dev container.

The keep rule: the JVM level is the default only where it measured at least 1.2x faster than the best Python form. The output must match. The test runs on dedicated compute at 4x or 16x rows. Otherwise its Scala is removed.

Testing on a Databricks cluster​

You can run the Essential bundle and primitive Volume tests on a live Databricks cluster. This way, Volume paths are FUSE-mounted and the bundle uses pathlib/shutil only (no Databricks Files API).

Config — Copy examples/tests/databricks_cluster_config.example.env to examples/tests/databricks_cluster_config.env and set:

  • DATABRICKS_HOST, DATABRICKS_TOKEN (or DATABRICKS_CONFIG_PROFILE)
  • CLUSTER_ID (existing cluster to run the job)
  • GBX_BUNDLE_VOLUME_CATALOG, GBX_BUNDLE_VOLUME_SCHEMA, GBX_BUNDLE_VOLUME_NAME — Volume root is /Volumes/<catalog>/<schema>/<volume_name>. The volume name must match Data Explorer exactly (e.g. sample-data not sample_data).
  • GBX_ARTIFACT_VOLUME — directory for artifacts (e.g. /Volumes/.../artifacts). JAR and wheel are uploaded directly here (no subpaths). Wheel path for the notebook is derived as GBX_ARTIFACT_VOLUME/geobrix-<version>-py3-none-any.whl unless overridden.
  • Optional: GBX_BUNDLE_WHEEL_VOLUME_PATH — override full wheel path for the notebook pip cells.
  • Optional: GBX_BUNDLE_SKIP_WHEEL_UPLOAD=1 — use existing wheel (no build/upload); notebook still gets the pip and restart cells.
  • Optional: GBX_BUNDLE_SKIP_JAR_UPLOAD=1 — when running stage-wheel, skip the JAR build and upload (same as GBX_BUNDLE_SKIP_JAR=1). When running stage-jar alone, it still builds the JAR locally and skips only the upload. GBX_BUNDLE_SKIP_JAR=1 skips the JAR step entirely (no build, no upload) in both.
  • Optional: GBX_RUNNER_DIR, GBX_BUNDLE_RUNNER_NOTEBOOK, GBX_PRIMITIVE_RUNNER_NOTEBOOK — where to upload the runner notebooks.

Commands — From the repo root:

  • gbx:test:primitive-databricks — Pushes the primitive notebook and runs it on the cluster. Validates volume exists, create subdirs, read/write/copy via FUSE (pathlib/shutil). No GeoBrix dependency.
  • gbx:test:bundle-databricks — Pushes the bundle runner notebook and runs it on the cluster. If GBX_BUNDLE_WHEEL_VOLUME_PATH is set, the notebook has: (1) %pip install --quiet <wheel>, (2) %pip install --quiet --no-deps --force-reinstall <wheel>, (3) dbutils.library.restartPython(), then the bundle cell. Run those cells in order so the restarted process loads the new GeoBrix code.

Convention — For Volume path handling (FUSE, pathlib, no random access), see the "Unity Catalog Volumes" section in CLAUDE.md.


gbx:* commands​

The repo provides gbx:* commands so both humans and AI agents can run tests, coverage, docs, and Docker in a consistent way. Each command is a .md registration + .sh implementation under scripts/commands/ (the directory name is historical; the commands are usable from any shell).

Conventions and architectural guidance live in CLAUDE.md at the repo root. Read that for cross-language naming, BNG resolution rules, GDAL resource management, doc-test single-source pattern, and the user-facing-docs voice rule. Agents (Cursor or Claude) read CLAUDE.md as their entry point.

Commands​

Commands are invocable actions. Prefer them over ad-hoc shell for tests, coverage, docs, Docker, and data so behavior is consistent and reproducible.

How to invoke​

  • From Cursor UI — Use the command palette (/ or type the command name) and run the desired gbx:* command. Each command is backed by a .md (registration) and a .sh (implementation) in scripts/commands/.
  • From a shell — Run the script directly, e.g. bash scripts/commands/gbx-test-scala.sh [OPTIONS]. This is the form most often used by terminals, CI, or AI agents (Claude, Cursor) invoking them via a shell tool.

Naming​

Commands follow gbx:<category>:<action>:

CategoryPurpose
testRun tests (Scala, Python, docs, SQL docs, notebooks, function-info)
coverageCode coverage (Scala/Python, unit/docs, gaps, baseline, package-targeted)
dataSample data: download (essential/complete bundle), generate minimal bundle, stage sample data and JAR/wheel to Volume
docsDocumentation server (start, stop, restart, dev, serve-local, static-build, function-info)
dockerContainer lifecycle (exec, start, stop, restart, rebuild, attach)
ciCI / GitHub Actions: push, trigger, status, watch, logs, docs menu, setup
lintScala: scalastyle; Python: isort, black, flake8 (same as CI)

When to use which command​

Use the following by task; always prefer the command over manual shell for these operations.

Testing

CommandWhen to useWhat it does
gbx:test:scalaAfter Scala changes, before commitRuns Scala unit tests (excludes doc tests); supports --suite
gbx:test:pythonAfter Python changesRuns Python unit tests in python/geobrix/test/
gbx:test:scala-docsAfter changing Scala doc examplesRuns Scala doc tests in docs/tests/scala/
gbx:test:python-docsAfter changing Python doc examplesRuns Python doc tests in docs/tests/python/ (default: no integration)
gbx:test:sql-docsAfter changing SQL API examplesRuns SQL (and Python API) doc tests in docs/tests/python/api/
gbx:test:docsBefore PR that touches docsRuns all doc tests by invoking python-docs, sql-docs, and scala-docs in sequence; sets GBX_SAMPLE_DATA_ROOT to minimal bundle by default (use --no-sample-data-root for full bundle)
gbx:test:function-infoAfter changing function-info or doc SQLRegenerates function-info and runs DESCRIBE/coverage tests
gbx:test:notebooksAfter changing sample-data or notebook runnerRuns notebook tests; use --include-integration for full run
gbx:test:python-dbrValidate Python on Databricks RuntimeDBR integration tests (spatial SQL, readers); excluded from regular CI; requires DBR environment
gbx:test:bundle-databricksValidate Essential bundle on a live clusterPushes runner notebook and runs it on CLUSTER_ID; use --local to run bundle on host
gbx:test:primitive-databricksValidate Volume access on cluster (FUSE)Pushes primitive notebook; tests volume exists, create subdirs, read/write/copy via pathlib

Coverage (Scala coverage is slow; use strategically)

CommandWhen to useWhat it does
gbx:coverage:gapsSee where to focusShows package-level gaps (no test run)
gbx:coverage:scala-packageAfter changes in one packageRuns coverage for one package (e.g. rasterx, gridx)
gbx:coverage:baselineWeekly or before releaseFull Scala or Python baseline
gbx:coverage:scalaFull Scala coverage (sparingly)Full scoverage; use --report-only to view last run
gbx:coverage:pythonAfter Python changesPython unit test coverage (fast)
gbx:coverage:scala-docs / gbx:coverage:python-docsAfter doc test changesCoverage for doc test suites

Data

Doc tests use the in-repo minimal bundle (no download step). Generate it once with gbx:data:generate-minimal-bundle; the Docker Volumes mount makes it available to tests. The one exception is the synthetic Zarr ERA5-like cube (global/era5-weather/): it is gitignored, so a fresh clone does not have it. Generate it with gbx:data:generate-minimal-bundle --zarr-only, or in a notebook with write_era5_cube from databricks.labs.gbx.sample.zarr_era5 (tree_digest hashes a written store; two runs give the same digest). For full sample data locally, use gbx:data:download. Minimal-bundle Sentinel-2 rasters (and *_byte.tif variants) may appear black in QGIS or other viewers; the full-size Essential/Complete bundle rasters are the ones suited for visual inspection.

CommandWhen to useWhat it does
gbx:data:downloadNeed full sample data locallyDownloads essential and/or complete bundle to sample-data/
gbx:data:generate-minimal-bundleCI or doc tests; after full bundle if neededGenerates minimal bundle under sample-data/Volumes/.../test-data/geobrix-examples/ by bbox extraction (NYC/London, --bbox-size, --max-rows) plus a small synthetic ERA5-like Zarr cube (global/era5-weather/; --zarr-only writes just the cube); doc test commands use this, not a download step
gbx:data:stage-sampleStage a sample dataset (default: the Zarr ERA5-like cube) to a VolumeNeeds --profile; uploads global/era5-weather/ of the minimal bundle to <volume-root>/geobrix-examples/ (default Volume /Volumes/geospatial_docs/geobrix/sample-data) and checks every size. Deletes only stale files inside the uploaded part of each *.zarr store (the whole store, or only the array with --path <store>.zarr/<array>), never other files, other datasets or the rest of the Volume; --path must be relative with no ..; --dry-run lists the files and the stores it would prune without contacting a workspace (no uv or SDK needed)
gbx:data:stage-wheelStage built JAR and wheel to VolumesBuilds JAR first (stage-jar) unless GBX_BUNDLE_SKIP_JAR_UPLOAD=1 or GBX_BUNDLE_SKIP_JAR=1 (either skips the JAR build and upload), then clears python/geobrix/dist, runs python3 -m build, stages wheel to GBX_ARTIFACT_VOLUME/ (holds exactly one geobrix-*.whl) and the bundle volroot (bundle/%pip path); set GBX_BUNDLE_SKIP_WHEEL_UPLOAD=1 to skip wheel
gbx:data:stage-jarStage built JAR to VolumesRuns mvn clean package -DskipTests, stages product JAR to GBX_ARTIFACT_VOLUME/ (holds exactly one geobrix-*-jar-with-dependencies.jar) and bench tests.jar to bundle volroot; set GBX_BUNDLE_SKIP_JAR_UPLOAD=1 to build locally and skip the upload, or GBX_BUNDLE_SKIP_JAR=1 to skip build and upload

Documentation

CommandWhen to useWhat it does
gbx:docs:startServe docs (one-off)Builds (optional) and starts server on port 3000
gbx:docs:stopFree port or before another docs commandStops any running docs server
gbx:docs:devWhile editing docsDev server with hot reload
gbx:docs:serve-localPreview production buildBuild then serve static site
gbx:docs:static-buildCreate offline/portable docs zipBuild with relative paths and hash router; zip to resources/static/ by default (use --output <path>); leaves docs/build/ unchanged for serving
gbx:docs:restartRestart after stopStop + start with same options
gbx:docs:function-infoAfter changing doc SQL examplesRegenerates function-info.json from doc SQL

Docker

CommandWhen to useWhat it does
gbx:docker:startFirst time or after stopStarts geobrix-dev container from the image for your machine's architecture (--platform or GBX_DOCKER_PLATFORM to choose; --recreate to switch a running container)
gbx:docker:stopWhen done developingStops container
gbx:docker:execRun Maven, pytest, etc.Runs a command (or interactive shell) in container
gbx:docker:attachInteractive shell in containerAttach to running container
gbx:docker:restartAfter config changeRestart container
gbx:docker:rebuildAfter Dockerfile or deps changeRebuild the base image (native for your machine's architecture; --platform to choose), or with --overlay gbxnative the native image on it
gbx:docker:clear-pycacheAfter editing Python code, stale importsClears .pyc and __pycache__ in container so tests see fresh code

Lint

CommandWhen to useWhat it does
gbx:lint:scalastyleBefore pushing Scala changesRuns ScalaStyle on src/main/scala (same config as CI); catches trailing whitespace, missing EOF newline, non-ASCII in comments
gbx:lint:pythonBefore pushing Python changesRuns isort, black, flake8 on python/geobrix (same as CI). Default: check-only in Docker. Use --fix on host to apply isort/black (requires pip install -e \"python/geobrix[dev]\").

CI (require GitHub CLI gh; use gbx:ci:setup to install/authenticate)

CommandWhen to useWhat it does
gbx:ci:pushInitiate remote build on current branch (e.g. beta/0.4.0)Pushes branch to origin, then watches the build main workflow run
gbx:ci:triggerPush then manually trigger build main (e.g. workflow_dispatch)Pushes branch, lists runs, prompts to trigger build main on current branch
gbx:ci:statusCheck recent CI runsShows recent workflow runs for current branch (optional: [LIMIT])
gbx:ci:watchStream a CI runWatches latest run (or [RUN_ID]) in real time
gbx:ci:logsDownload CI logsFetches logs for latest run (or [RUN_ID]) into ci-logs/
gbx:ci:docsDoc-test CI menuRun doc tests locally (python/scala), status, trigger, watch, logs (or no args for menu)
gbx:ci:setupOne-time CI setupInstall and authenticate GitHub CLI (gh)

Most commands accept --help. Common options: --log <path> for test/output logs (truncated each run), --open for coverage reports, and command-specific flags (e.g. --suite, --path, --skip-build). Doc test commands set GBX_SAMPLE_DATA_ROOT=/Volumes/main/default/test-data in the container by default, so the minimal bundle is used (required for remote/CI). Use --no-sample-data-root to leave it unset and use the full-bundle path or your own env. They do not run a sample-data download; the minimal or full bundle must be present via the Volumes mount.

Working with agents​

When working with Claude or Cursor in this repo, agents should:

  • Read CLAUDE.md first — it documents project conventions and translates cross-project working patterns into geobrix-specific behavior (Docker container, gh account switching, etc.).
  • Dispatch long-running work to subagents — gbx:* test/build commands typically take minutes and benefit from running in an isolated context, freeing the main session for review.
  • Use gbx:* commands rather than ad-hoc shell for tests, coverage, docs, and Docker — they handle env vars, log paths, and container setup consistently.
  • Add or fix a command rather than work around it — if a gbx:* command is broken, fix the script in scripts/commands/<name>.sh. Do not invoke the underlying tool directly and let the command rot.

Quick reference​

  • Run tests: gbx:test:* (pick the scope: scala, python, docs, notebooks, bundle-databricks, primitive-databricks).
  • Coverage: Prefer gbx:coverage:gaps and gbx:coverage:scala-package for Scala; gbx:coverage:python is fast.
  • Docs: gbx:docs:dev while editing; gbx:docs:stop to stop.
  • Docker: gbx:docker:start then gbx:docker:exec (or attach) for builds and tests.
  • Databricks cluster: gbx:test:primitive-databricks then gbx:test:bundle-databricks with databricks_cluster_config.env set.
  • Conventions and patterns: Read CLAUDE.md at the repo root.
  • Full command list and options: See the "Commands" section above, or run any gbx:* command with --help.

CI / GitHub Actions​

Workflows live in .github/workflows/. They define when and how tests and builds run on GitHub.

When things run​

  • Main build (build_main.yml) — Runs on push to any branch (except python/** and scala/**), on all pull requests, and via workflow_dispatch (manual trigger from the Actions tab or gh workflow run "build main" --ref <branch>). The jobs:
    • Native payload — builds or restores the cached GDAL native stack. The light and heavy tests wait for it.
    • Light tests — the lightweight test directories, split into parallel shards. Each shard installs the native bindings and the Rust module, and fails if they do not load.
    • Script tests — the tests under scripts/ci. They need no native payload, so they start at once.
    • Two-architecture native gate — checks that the native build was verified on both architectures for the current native inputs.
    • Heavy tests (Scala + JAR) — runs in parallel with the light tests. Its Scala step runs the suites listed in .github/actions/scala_build/suites-heavy.txt: the suites of code that registered functions still reach. Scala doc tests (docs/tests/scala/) run in a separate step, only on a push to main.
  • CodeQL (codeql-analysis.yml) — Security analysis on push and pull_request to main.
  • Publish / release — Triggered by release or publish events (see the workflow files).

Before a pull request​

Run gbx:uc:tests --profile <name> before you open a pull request or push to main. The command installs the Unity Catalog functions into a scratch schema on Databricks. It runs the UC oracle slice and the example files against that schema, then drops the schema. The result goes to test-logs/uc-integration/evidence.json, with the scope of the run. A QC check reads that file on gh pr create and on a push to main. It fails when the file is missing, failed, or older than the UC sources. A change of the release version needs --scope full; any other change needs core or full. To run smoke, core or full against an install that exists, add --against SCHEMA. That run writes evidence-adhoc.json, which the check never reads. The pull request template asks you to paste the summary line. Pushes to development branches are not gated.

Initiating a build from a branch​

Pushing to a branch (except python/** and scala/**) successfully triggers the build main workflow. To run the main build on your current branch (e.g. beta/0.4.0):

  • Push and watch — gbx:ci:push. Pushes the current branch to origin (push triggers build main), then streams the run.
  • Trigger after push — gbx:ci:trigger. Pushes, then prompts to trigger build main (workflow_dispatch).
  • Check status — gbx:ci:status. Recent workflow runs for the current branch.
  • Watch a run — gbx:ci:watch or gbx:ci:watch RUN_ID.
  • Fetch logs — gbx:ci:logs or gbx:ci:logs RUN_ID (saves to ci-logs/).
  • First-time setup — gbx:ci:setup to install and authenticate the GitHub CLI (gh).

Build environment and caching​

The Scala and Python build actions (.github/actions/scala_build/ and python_build/) use a shared environment. When both run in the same job (e.g. build main), caches stay warm:

  • Apt — The Scala action restores .cache/apt-archives at the start of its system-packages step and saves it at the end; it installs only zip and unzip. No GDAL comes from apt: the JVMs run on the native payload's GDAL, the one GeoBrix ships, and the payload bundles the libraries it links. The Python action installs no apt packages. Workflows cache .cache/apt-archives with a key derived from both action files, so changing either action invalidates the cache.
  • Pip — Both use the same pip cache key (.ci-pip-cache-key, created by the workflow from ref + matrix). That avoids duplicate pip installs when Scala runs first and Python reuses the same interpreter and cache.
  • Maven — Scala uses setup-java with cache: 'maven' and cache-dependency-path: 'pom.xml'. Every Maven call in CI is ./mvnw, which runs the version pinned in .mvn/wrapper/maven-wrapper.properties; the dev image installs the same version, and pom.xml requires it as a minimum.

The two actions intentionally mirror each other (same apt repos, same system packages, same pip stack: numpy, pyspark). Scala adds JDK, Maven, zip/unzip, and the link of /usr/lib/libgdalalljni.so to the native payload's JNI; Python adds pytest and pip install python/geobrix[dev]. Lint (ScalaStyle, isort/black/flake8) runs in CI on every build, but the build fails on lint errors only for PRs targeting main. Pushes and PRs to other branches do not fail on lint. Config: scalastyle-config.xml, python/geobrix/pyproject.toml. Use gbx:lint:scalastyle and gbx:lint:python locally (or gbx:lint:python --fix with dev deps on the host). A future refactor could extract a single “setup system packages + pip” composite used by both. For now the duplication is small and the structure is aligned for easy comparison.

Releasing the DCS image​

The Databricks Container Services (DCS) image for dedicated clusters is built and published separately from the JAR and wheel. It is released for two architectures, Graviton (arm64, the default) and x86 (amd64), and each architecture is built, verified and released on its own. The release owner publishes it. The publish command never runs docker login or handles credentials. Log in to Docker Hub (docker login) first, with an account that can push to the image repository.

Run steps 1 to 4 once per architecture. --arch selects it on both commands: omit it (or pass --arch arm64) for the Graviton image, and pass --arch amd64 for the x86 image. The architecture sets the base image and the tag suffix: -arm on databricksruntime/environment:v6-standard-arm, -x86 on databricksruntime/environment:v6-standard.

  1. Build the JAR and wheel for the release, then build the image with bash scripts/commands/gbx-dcs-build.sh (add --arch amd64 for x86). If the build network blocks public PyPI, export PIP_INDEX_URL before the build; the command passes it as a BuildKit secret, so it never enters the image. The image gets its -rc tag (<ver>-env6-<arm|x86>-rc) only after every check passes; a failed check leaves no new tag. An architecture different from the build machine's compiles GDAL under emulation, which takes hours.

  2. Push the release candidate with bash scripts/commands/gbx-dcs-publish.sh --candidate (add --arch amd64 for x86). Note the printed DIGEST=<repo>@sha256:<hex> line: it identifies the exact image you are about to verify.

  3. Verify the -rc image on a dedicated DCS test cluster of the matching instance architecture that has no GeoBrix JAR library attached. A cluster uses one GeoBrix JAR, and the image already carries it. Check both tiers, and the *_gbx readers on /Volumes.

  4. Push the release tags, passing the version and the digest from step 2 for that architecture:

    bash scripts/commands/gbx-dcs-publish.sh --release --confirm <ver> --expect-digest sha256:<hex>
    bash scripts/commands/gbx-dcs-publish.sh --release --arch amd64 --confirm <ver> --expect-digest sha256:<hex>

    The first command releases the Graviton image and the second the x86 image; each takes the digest of its own candidate, never the other architecture's. --release refuses unless --confirm equals the version being released, so run it only after the verification in step 3. --expect-digest refuses unless the local -rc image is the one with that digest, which is the image you verified. The command re-tags the candidate image you pushed and verified as <ver>-env6-<arm|x86> and env6-<arm|x86>, and refuses an -rc image that was never pushed. Don't rebuild between steps 2 and 4: a rebuilt image needs a new candidate push and verification. Record each architecture's released DIGEST= line in the description of the GitHub release that step 5 attaches the Dockerfile to, not in the docs release notes.

  5. The release workflow attaches geobrix-<ver>-dcs.Dockerfile to the GitHub release.

Do the image release (step 4) for both architectures before the docs that name the release tags are deployed from main. The Databricks Container Service page tells readers to pull <ver>-env6-arm and env6-arm on Graviton, and <ver>-env6-x86 and env6-x86 on x86. Those tags must exist first.

Summary​

The main build runs on push to any branch (except python/**, scala/**) — push triggers are successful — and on all PRs and via workflow_dispatch. Use gbx:ci:push to push and watch the build. Scala doc tests run only on push to main, in a separate step with GBX_SAMPLE_DATA_ROOT set. For full details and triggers, see the YAML files in .github/workflows/.