Skip to content

chore(deps): Bump the rust-minor-patch group across 1 directory with 2 updates - #376

Merged
athvin merged 2 commits into
mainfrom
dependabot/cargo/rust/rust-minor-patch-c7e731f39c
Nov 3, 2026
Merged

athvin merged 2 commits into
mainfrom
dependabot/cargo/rust/rust-minor-patch-c7e731f39c

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the rust-minor-patch group with 2 updates in the /rust directory: duckdb and arrow.

Updates duckdb from 1.20000.0 to 1.20000.1

Release notes

Sourced from duckdb's releases.

v1.20000.1

Highlights

  • Fallible Arrow streaming: stream_arrow now yields Result<RecordBatch> and returns fetch errors (interrupts, cast errors, I/O) instead of panicking (#664)
  • Derived structs in duckdb-neo: #[derive(AsDuckDB)] maps Rust structs to STRUCT values and vectors, with cached child writers for faster writes. List and Array are now appendable (#928)
  • Bundled build fixes: bundled builds report v2.0.0 instead of a development version (#918), static extensions link with GNU ld (#923), bundled sources unpack into a stable, content-addressed directory so sccache hits survive target-dir changes (#924), and CI now checks the bundled DuckDB version against the pin (#922)
  • Chrono fix: reading a pre-1970 timestamp with a fractional second as NaiveDateTime/DateTime<Utc> no longer panics (#926)
  • VTab config lookup: BindInfo::get_config_option exposes DuckDB settings to table functions (#912)
  • DuckDB is unchanged at v2.0.0 (d54cbbe3df)

⚠️ Breaking changes

duckdb

  • ArrowStream is no longer an alias of Arrow and yields Result<RecordBatch> instead of RecordBatch (#664). Code like stmt.stream_arrow([])?.collect::<Vec<RecordBatch>>() must become collect::<Result<Vec<_>>>()?. query_arrow and Arrow are unchanged.

duckdb-neo (experimental)

  • LogicalTypeID and DuckDBError are now Rust enums instead of aliases of the FFI enums. Use LogicalTypeID::Integer instead of DUCKDB_V2_LOGICAL_TYPE_ID_INTEGER, and DuckDBError::InputInvalid instead of DUCKDB_V2_ERROR_INPUT_INVALID (#921)
  • i128/u128 vectors are read and written through HugeInt/UHugeInt; value conversion for i128/u128 is unchanged (#921)
  • VectorElement::Internal now takes a lifetime (type Internal<'a>), and VectorWriter has a single lifetime parameter (#921)
  • StructSchema, StructValue, StructWrite and StructRow are removed. Derive AsDuckDB for typed structs, or use get_value_slow/write_value_slow for schemas only known at runtime (#928)
  • List and Array writes require the child size up front (#928)

Upgrade notes

  • Bundled builds now identify as v2.0.0 rather than v2.0.0-dev88614. Native extensions stamped for the old development version must be rebuilt (#918).

What's Changed

Issues fixed

  • Expose config lookup through VTab BindInfo (#815)
  • Bundled DuckDB 2.0 reports a development version (#917)
  • bundled (cc backend): undefined reference to duckdb_register_static_extensions on Linux/GNU ld (#920)
  • bundled: sources unpacked into OUT_DIR make sccache miss whenever the build hash or target dir changes (#919)
  • Reading a pre-1970 timestamp with a fractional second as chrono NaiveDateTime or DateTime<Utc> panics (#925)
  • stream_arrow panics when fetching a chunk fails (#916, partially: query_arrow still panics)

... (truncated)

Commits

Updates arrow from 60.0.0 to 60.1.0

Release notes

Sourced from arrow's releases.

arrow 60.1.0

Changelog

60.1.0 - (2026-10-23)

Full Changelog

Security fixes

Enhancements

... (truncated)

Changelog

Sourced from arrow's changelog.

60.1.0 - (2026-10-23)

Full Changelog

Security fixes

Enhancements

Bug fixes

  • fix(arrow-select): reject nulls in non-nullable columns in take_record_batch by @​mbutrovich in #11831
  • [Variant] Restore object field offsets after failed append by @​osipovartem in #11403
  • fix(arrow-select): bounds-check take_record_batch once, with a faster check_bounds for null indices by @​mbutrovich in #11829
  • fix(parquet): align encoded Arrow schemas and nested nullability by @​HippoBaro in #11278
  • Fix incorrect Decimal statistics for BYTE_ARRAY columns written via ArrowColumnWriter by @​DeviousCardi in #11092
  • fix(parquet): return an error for RLE run lengths above the spec limit by @​hhhizzz in #11517
  • fix: use correct length in runarray validation by @​Jefffrey in #11668
  • fix(parquet): return an error when the footer metadata length exceeds the file in ParquetMetaDataPushDecoder by @​ump45nose in #11697
  • fix: account for offset when building RunArray from ArrayData by @​Jefffrey in #11660

... (truncated)

Commits
  • b391e5a Update version to 60.1.0 and add CHANGELOG (#11750)
  • a1eb450 Run fork PR test suites in contributor forks (#11788)
  • afb3d77 bench: Add 0.5% selectivity to coalesce benchmarks (#11772)
  • 46a4abb Fix BatchCoalescer::is_empty documentation (#11790)
  • f1a5016 perf(arrow-buffer): divide i256 by a single word with a reciprocal on 64-bi...
  • 31caa38 ci: move several jobs to ubuntu-slim runner (#11774)
  • 9c9b6a0 fix(arrow-select): reject nulls in non-nullable columns in take_record_batch ...
  • 2a22dd7 [Variant] Restore object field offsets after failed append (#11403)
  • df4dc3e Run Miri on a daily schedule, require it before releases (#11631)
  • 3db18f7 bench: improve concat, coalesce_kernels benchmarks (#11768)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 1, 2026
@dependabot dependabot Bot changed the title chore(deps): Bump the rust-minor-patch group in /rust with 2 updates chore(deps): Bump the rust-minor-patch group across 1 directory with 2 updates Nov 2, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rust/rust-minor-patch-c7e731f39c branch 3 times, most recently from 025050d to b1604bc Compare November 2, 2026 20:43
dependabot Bot and others added 2 commits November 2, 2026 19:45
…2 updates

Bumps the rust-minor-patch group with 2 updates in the /rust directory: [duckdb](https://github.com/duckdb/duckdb-rs) and [arrow](https://github.com/apache/arrow-rs).


Updates `duckdb` from 1.20000.0 to 1.20000.1
- [Release notes](https://github.com/duckdb/duckdb-rs/releases)
- [Commits](duckdb/duckdb-rs@v1.20000.0...v1.20000.1)

Updates `arrow` from 60.0.0 to 60.1.0
- [Release notes](https://github.com/apache/arrow-rs/releases)
- [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md)
- [Commits](apache/arrow-rs@60.0.0...60.1.0)

---
updated-dependencies:
- dependency-name: arrow
  dependency-version: 60.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-minor-patch
- dependency-name: duckdb
  dependency-version: 1.20000.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-minor-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
The `duckdb` pin is quoted verbatim in the rust-conventions skill's
generated crate-map reference, so bumping it in `rust/Cargo.toml` leaves
that block stale and fails `scripts/skills-check.sh check` — which is the
last step of *two* required jobs (`agent skills` and `fmt + clippy +
docs`), so one line of drift reported as two red checks.

This is the companion edit every cargo bump of a reasoned pin needs. The
bump itself is sound on its own terms:

- `arrow` stays aligned at 60.1.0 across `duckdb`, `er-entities` and
  `er-server`; the 57.3.1 entry in the lock is the pre-existing
  datafusion-52 / ff-analysis side and is untouched.
- duckdb 1.20000.1's one breaking change is `stream_arrow` yielding
  `Result<RecordBatch>`. Nothing in `rust/` calls `stream_arrow` or names
  `ArrowStream`, so it cannot bite.
- `cargo metadata --locked` is clean after rebasing onto main.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@athvin
athvin force-pushed the dependabot/cargo/rust/rust-minor-patch-c7e731f39c branch from b1604bc to 54f40fd Compare November 3, 2026 00:46
@athvin

athvin commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Fixed: one line of generated drift, reported as two red checks

Both failures — agent skills (lint + drift) and fmt + clippy + docs — were
the same step. fmt, clippy and cargo doc all passed; it was the
trailing scripts/skills-check.sh check in that job that exited 1, the same one
the skills job runs alone:

FAIL generated skill references are stale.
  .claude/skills/rust-conventions/references/crate-map.md
-duckdb = { version = "=1.20000.0", features = ["bundled"] }
+duckdb = { version = "=1.20000.1", features = ["bundled"] }

The duckdb pin is quoted verbatim in that generated reference because it is a
pin carrying a reason, so bumping it in rust/Cargo.toml always needs this
companion regen. Rebased onto main (the branch was 2 behind, incl. #415/#416)
and committed the regen.

The bump itself, checked rather than assumed

  • duckdb 1.20000.1's one breaking change is stream_arrow now yielding
    Result<RecordBatch>.
    Nothing in rust/ calls stream_arrow or names
    ArrowStream, so it cannot bite.
  • The arrow-must-equal-duckdb's invariant holds. cargo tree -i shows
    arrow v60.1.0 shared by duckdb v1.20000.1, er-entities and er-server.
    The second arrow v57.3.1 in the lock is the pre-existing datafusion-52 /
    ff-analysis side and is untouched by this bump — not new duplication.
  • rust/Cargo.toml pins arrow = "60", so 60.1.0 is a lock-only change there.
  • cargo metadata --locked is clean after the rebase.

Worth noting for the next duckdb bump: 1.20000.1 includes the fix for "bundled
sources unpacked into OUT_DIR make sccache miss whenever the build hash or
target dir changes"
(duckdb-rs #924), which is directly relevant to this repo's
sccache setup, and it stamps bundled builds as v2.0.0 rather than a dev
version. DuckDB itself is unchanged at 2.0.0, so no golden movement is expected
— and the DuckLake e2e shards agree.

make check was not run locally: a cold rust/target here is 30–80 GB, and
rust.yml on this PR covers the same ground. scripts/skills-check.sh check
passes locally at exit 0.

@athvin
athvin merged commit 29e29a3 into main Nov 3, 2026
34 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/rust/rust-minor-patch-c7e731f39c branch November 3, 2026 01:07
athvin added a commit that referenced this pull request Nov 3, 2026
…ry (#422)

Every Rust PR opened after #376 fails to compile, on a commit that has nothing
to do with it:

    error: failed to run custom build command for `libduckdb-sys v1.20000.1`
    panicked at build_bundled_cc.rs:65:
      unpacking bundled DuckDB sources: Os { code: 39, kind: DirectoryNotEmpty }

`libduckdb-sys` unpacks the bundled C++ sources into its `OUT_DIR` and panics
if that directory is not empty. The saved `target/` carries a populated
`debug/build/libduckdb-sys-<hash>/out`; on restore cargo re-runs the build
script but does not clear the directory, so every job that compiles duckdb
dies before a single test runs.

## Why it looked like the PR's fault

Main's run for #376 went GREEN — all twelve test and e2e jobs. Its jobs
restored the PRE-bump entry, and `lint`, the single writer, only saved the
poisoned one at the end of the run. So the breakage never lands on the commit
that caused it; it lands on every PR afterwards.

That asymmetry cost real time on #418 (an infra-only PR with no Rust in it, so
six Rust failures made no sense). The sequence that eventually distinguished
"my change" from "the cache" was: another open PR passing the same gate →
`git diff HEAD~1 -- Cargo.lock` showing no new crates → main's run for the bump
having run the identical jobs green. Each step eliminated a hypothesis that
otherwise looks plausible. The one that looked right and was not: "the PR lost
a race with main's cache write, so just re-run" — it fails identically on a
re-run, because the poisoned entry is the one being restored, not a missing one.

#417 appears unaffected only because it touches CI files, so `detect` skips its
Rust tier entirely.

## The fix is the lever the file already documents

"`prefix-key` makes the v0 entries unreachable (restore-keys are prefixed too)
so they age out instead of being downloaded for nothing." Same situation, same
remedy: v1 -> v2, so no partial restore can resurrect the poisoned entry. One
cold cycle, then normal.

All EIGHT occurrences move together — the `lint` writer and the seven
restore-only jobs. Bumping only the writer would leave every other job
restoring v1, which is the broken state with extra steps.

## Not fixed here, deliberately

`.github/workflows/shared/rust-gate.md` and the two `*.lock.yml` files
generated from it still carry `v1-rust`, so the agentic workflows will hit the
same panic. They are not required checks, so this is noise rather than a block
— and their lock files are generated artifacts, which I am not going to
hand-edit. Bumping the `.md` and recompiling with gh-aw belongs to whoever owns
that workflow.

Co-authored-by: bmoore813 <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
athvin pushed a commit that referenced this pull request Nov 3, 2026
#424 cured the seven compile jobs by deleting rust-cache. `coverage` is the
one job that keeps it — deliberately, since an instrumented cold build has no
cache to fall back on and `llvm-cov` already measures 22m10 warm against a
60-minute timeout — so it is the one place the poisoning survives.

It has not fired yet, and the reason is a dated prediction rather than luck:
#376 bumped duckdb at 01:07 today, after that day's nightly. Tonight's
scheduled run therefore gets a NEW source-tree key, unpacks cleanly, passes,
and SAVES the stripped tree. The run after that restores it and dies before a
test. As ever the breakage does not land on the run that caused it.

Also corrects the mechanism in the seven `# No rust-cache` comments. They say
a restored target carries a populated `build/libduckdb-sys-*/out`, which is
where I sent two wrong fixes: `libduckdb-sys` does not unpack into `OUT_DIR`
at all. `src/build_paths.rs:40` walks UP from it to a tree shared across the
target dir, `target/duckdb-sources/<key>/`, guarded by a `.complete` dotfile.
Absent sentinel, the script unpacks to a staging dir and `fs::rename`s it over
`<key>/` — ENOTEMPTY, Linux errno 39. `fs::rename` in `publish()` is the only
syscall in that function that can return 39, so the panic's
"unpacking bundled DuckDB sources" names the wrong operation.

The deleting fix does not depend on that distinction, but the comments explain
why rust-cache is absent, and someone re-adding a target-dir cache will read
them. The repair's own condition is the build script's precondition, so an
intact tree keeps the fast path, and it echoes per tree because both earlier
attempts went green having done nothing.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
athvin added a commit that referenced this pull request Nov 3, 2026
#424 cured the seven compile jobs by deleting rust-cache. `coverage` is the
one job that keeps it — deliberately, since an instrumented cold build has no
cache to fall back on and `llvm-cov` already measures 22m10 warm against a
60-minute timeout — so it is the one place the poisoning survives.

It has not fired yet, and the reason is a dated prediction rather than luck:
#376 bumped duckdb at 01:07 today, after that day's nightly. Tonight's
scheduled run therefore gets a NEW source-tree key, unpacks cleanly, passes,
and SAVES the stripped tree. The run after that restores it and dies before a
test. As ever the breakage does not land on the run that caused it.

Also corrects the mechanism in the seven `# No rust-cache` comments. They say
a restored target carries a populated `build/libduckdb-sys-*/out`, which is
where I sent two wrong fixes: `libduckdb-sys` does not unpack into `OUT_DIR`
at all. `src/build_paths.rs:40` walks UP from it to a tree shared across the
target dir, `target/duckdb-sources/<key>/`, guarded by a `.complete` dotfile.
Absent sentinel, the script unpacks to a staging dir and `fs::rename`s it over
`<key>/` — ENOTEMPTY, Linux errno 39. `fs::rename` in `publish()` is the only
syscall in that function that can return 39, so the panic's
"unpacking bundled DuckDB sources" names the wrong operation.

The deleting fix does not depend on that distinction, but the comments explain
why rust-cache is absent, and someone re-adding a target-dir cache will read
them. The repair's own condition is the build script's precondition, so an
intact tree keeps the fast path, and it echoes per tree because both earlier
attempts went green having done nothing.

Co-authored-by: bmoore813 <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
athvin added a commit that referenced this pull request Nov 3, 2026
…path (#439)

#359 shipped four agentic workflows on `engine: copilot` and asserted that
kept the zero-repository-secrets invariant. On their first real execution —
the run immediately after #359 landed — all four died at `activation`:

    Error: None of the following secrets are set: COPILOT_GITHUB_TOKEN
    COPILOT_GITHUB_TOKEN is required by GitHub Copilot CLI.

The generated `activation` job runs `validate_multi_secret.sh` and hard-fails
without it. `gh secret list` is empty, so they never had a chance to run.

**There is no zero-secret engine.** `copilot` wants `COPILOT_GITHUB_TOKEN`,
`claude` wants `ANTHROPIC_API_KEY`, and every other engine wants its own key.
The invariant and the feature were always mutually exclusive; #359's claim
just hid which side we were on. Since a secret is owed either way, this picks
the engine whose model and cost are selectable per workflow.

Bedrock was evaluated first and is not reachable: `gh aw compile --engine
bedrock` answers *"Must be 'agy', 'claude', 'codex', 'copilot', 'gemini', or
'pi'"*. The `amazon-bedrock` and `AWS_BEARER_TOKEN_BEDROCK` strings in the
binary belong to a generic cloud-auth layer (`AWF_AUTH_{AWS,ANTHROPIC,AZURE,
GCP,OIDC}_*`) whose AWS members are only REGION / ROLE_ARN /
ROLE_SESSION_NAME — OIDC role assumption, no inference path.

## Model per workflow, split on judgement

| Workflow | Model | Why |
|---|---|---|
| `dependency-upgrade-pilot` | `claude-sonnet-5` | verdicts a version range |
| `ci-triage` | `claude-sonnet-5` | classifies a red run |
| `generated-artifact-healer` | `claude-haiku-4-5` | re-runs a known generator |
| `skill-freshness-auditor` | `claude-haiku-4-5` | greps prose against code |

Haiku 4.5 is the cheapest current model and right for mechanical work. It is
the wrong default for the two judgement agents: #376 is the worked example of
that cost — a bump whose own release notes named the companion edit, merged
without it, three red PRs. A cheaper model reaching that verdict confidently
is worse than no agent. `effort` is deliberately absent everywhere; Haiku 4.5
rejects it.

`dependency-upgrade-pilot` also loses `copilot-sdk: true`, exactly as the note
it replaces predicted: that nesting existed only to obtain a proxy-aware fetch
tool, because Copilot's native `web-fetch` is unavailable under offline BYOK.
On `engine: claude` `web-fetch` is native.

## Security review (required by safe-update mode)

`gh aw compile` flagged one new restricted secret and refused to proceed until
reviewed. Reviewed, then `--approve`d:

- **`ANTHROPIC_API_KEY` — the only new secret.** Visible to `activation`,
  `agent` and `detection`; *not* to `safe_outputs` or `conclusion`, the
  write-capable jobs.
- **Blast radius is Anthropic spend, nothing else.** No agent job holds
  `contents: write` — extracted per-job, they carry `contents: read` plus
  reads. The `id-token: write` on the two Rust agents still mints only
  `er-ci-sccache-read` (GetObject/ListBucket on one bucket, no DeleteObject).
- **No new actions.** `setup-node@949feb24` appears as an added line but is
  already on `main` in these same files — a position shift, not a new
  dependency. No redirect changes.
- **Use a dedicated key, not the product's.** `ANTHROPIC_API_KEY` is already
  the name of the frontend assistant's credential, and per
  `docs/infrastructure.md` §18.14 that path "sends real customer personal
  data to the Anthropic API". Reusing one value would turn a CI-side leak into
  a key that touches customer data. Mint a separate key in its own workspace.
- **Cannot fully verify, flagged for a human:** whether a prompt-injected
  agent can defeat gh-aw's log masking and egress allowlist to exfiltrate the
  key. Mitigation is scoping and a spend cap, not sandbox trust.

`GH_AW_MAX_DAILY_AI_CREDITS` (5000) is denominated in Copilot credits and does
not bind a BYO-key run, so the spend ceiling is now whatever is configured
Anthropic-side. These fire on every dependabot push and every red CI run, so
that limit is load-bearing.

## Still disabled, deliberately

All four remain `disabled_manually` from the triage that followed #359. They
stay that way until `ANTHROPIC_API_KEY` exists — re-enable with
`gh workflow enable` on each. `staged: true` is untouched on both
push-capable agents, so their first real runs still only preview.

They fail closed either way: `activation` failing leaves `agent`, `detection`
and `safe_outputs` all `skipped`, so a missing or revoked key costs red runs,
never an unintended write.

Verified: `gh aw compile --strict` 4/4 with the 2 documented `target: "*"`
warnings; `gh aw lint` 12 files clean; `scripts/skills-check.sh check` exit 0.

Co-authored-by: bmoore813 <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants