Repository navigation
v0.6.0
Operational hardening around the sub-h0 raster path that 0.5.0 introduced: a fan-out that loses work can no longer publish a short dataset, there is a way to re-run what it lost, and the cluster defaults move to geo-workflows.
If you generate workflows, the namespace default has changed — see Behaviour changes first.
⚠️ Behaviour changes
The default Kubernetes namespace is now geo-workflows (#183)
Was biodiversity, in both the ClusterConfig default and the built-in nrp profile. This moves more than it first appears: generated manifests, the workflow RBAC, and — because the Armada queue follows the namespace — the queue a converted job set submits to. Anything regenerated without an explicit --namespace therefore targets geo-workflows end to end.
--namespace biodiversity keeps the old target. namespace is now a cluster-profile field, so a site sets it once rather than on every command.
The merge pod's ephemeral storage drops to 50Gi (#201)
Was 100Gi, which was picked without being checked against anything. The merge holds one partition at a time and deletes it after upload, so it never needed more than the 50Gi the vector repartition step has always used.
This is house style rather than an enforced limit: geo-workflows carries no cpu, memory or pod quota at all — only priority-class bans — while biodiversity caps pods at 200. Sizing for the stricter of the two keeps a build portable between namespaces. TestResourceNorms now asserts 50Gi ephemeral and 200 concurrent pods against the emitted manifests, so a future default cannot quietly exceed them.
A correction to the v0.5.0 notes while we are here: those said dropping opportunistic would make a large fan-out "hit the quota rather than running slowly." Neither namespace has a cpu or memory quota, so that caveat does not apply to them. It was reasoning about how quotas usually work rather than about these ones.
A partly failed fan-out can no longer be published as complete (#173)
merge-chunks used to consolidate whatever part files it found and then — with cleanup on, which is what the generated job uses — purge the chunks prefix. A fan-out that lost chunks produced a short dataset, exit 0, evidence deleted.
Three things compounded it. Converted Armada jobs carry no retry budget, so a failed chunk stays failed. --backend auto routes precisely the large fan-outs to Armada. And merge published the survivors and deleted what would have shown which were missing.
Counting part files cannot detect this. A chunk that does not overlap the raster legitimately writes none, so a missing part is indistinguishable from a chunk that never ran. Every chunk now records a completion marker whether or not it wrote data, and --expect-chunks N — emitted automatically by raster-workflow, which sized the fan-out — makes the merge refuse unless that many completed.
Gaps are enumerated, not counted. A count answers "48 of 49" and leaves you to find the one, which on a few-thousand-unit fan-out is the entire problem:
Incomplete fan-out: 1 of 49 chunks never recorded completion.
Missing chunk indices: 7
`cng-datasets gapfill` emits a job set for precisely these indices.
cng-datasets gapfill (#183)
Turns that set into an Armada job set re-running exactly the missing indices. Armada exposes no retry service on NRP — armadactl get retry-policies returns Unimplemented — and a preempted job is not rescheduled, so a transient fault leaves a permanently missing chunk. At an observed ~0.1% failure rate a few-thousand-unit fan-out loses one or two every run. Gap-fill is a pipeline stage, not an exception.
Gaps are read from the markers on S3, so this needs no Armada and no Kubernetes access. It runs as an ordinary S3 client after a job set finishes, whatever submitted it; only re-submitting needs armadactl. That closes the retry loop without touching Armada's authentication, which is the real blocker for anything unattended.
Exits 0 when nothing is missing and 1 when it wrote a job set, so a pipeline branches on it the way it would on diff.
The k8s backend needs none of this: backoffLimitPerIndex retries a failed index in place, which is precisely the budget conversion cannot carry across.
--armada-queue (#183)
A submitted job set carries queue at the top and namespace on each job — the queue is Armada's scheduling and accounting entity, the namespace is where the pods are actually created. NRP maps them one-to-one by convention, not by the format, and the generators hardwired queue = namespace with no way to say otherwise. It still defaults to the namespace.
duckdb-bugreport.md
A minimal reproducible case for the INTERNAL Error: Calling GetValueInternal on a value that is NULL worked around in 0.5.0. It is an h3-duckdb bug rather than a DuckDB core one: core functions are fine on the identical file, and only the four list-returning H3 functions are affected. Two triggers reach one assertion — a NULL in the column (already reported upstream) and, newly, a dictionary-encoded Parquet column with no NULLs at all, which suggests the existing diagnosis of "crashes on NULL" is a symptom rather than the cause. Controls isolate encoding from row count; one dictionary-encoded row fails, five plain-encoded rows do not.
Dictionary encoding is the default in every common Parquet writer, so this is reachable from ordinary data — and it invalidates the DuckDB connection, so one such call takes down every later query in the process.
Also
- Five fixes that shipped in 0.3.0 and were never written up are now recorded retroactively — #150 (duplicate
(feature, cell)rows silently inflating downstream sums), #151, #152, #153, #154. AGENTS.mdrecords thatgeo-workflowsbanspriorityClassName: defaultoutright (pods: 0). Generated pods omit the field, which is not the same thing — adding it would ban every pod in the build.
Full changelog: https://github.com/boettiger-lab/datasets/blob/v0.6.0/CHANGELOG.md
Compare: v0.5.0...v0.6.0