Repository navigation
chore(deps): Bump the rust-minor-patch group across 1 directory with 2 updates - #376
Conversation
025050d to
b1604bc
Compare
…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]>
b1604bc to
54f40fd
Compare
Fixed: one line of generated drift, reported as two red checksBoth failures — The The bump itself, checked rather than assumed
Worth noting for the next duckdb bump: 1.20000.1 includes the fix for "bundled
|
…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]>
#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]>
#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]>
…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]>
Bumps the rust-minor-patch group with 2 updates in the /rust directory: duckdb and arrow.
Updates
duckdbfrom 1.20000.0 to 1.20000.1Release notes
Sourced from duckdb's releases.
... (truncated)
Commits
db918f6Bumped versions to 1.20000.1 and 0.20000.1 respectively (#932)d14c7c2Release v1.20000.1 (#929)Updates
arrowfrom 60.0.0 to 60.1.0Release notes
Sourced from arrow's releases.
... (truncated)
Changelog
Sourced from arrow's changelog.
... (truncated)
Commits
b391e5aUpdate version to60.1.0and add CHANGELOG (#11750)a1eb450Run fork PR test suites in contributor forks (#11788)afb3d77bench: Add 0.5% selectivity to coalesce benchmarks (#11772)46a4abbFix BatchCoalescer::is_empty documentation (#11790)f1a5016perf(arrow-buffer): dividei256by a single word with a reciprocal on 64-bi...31caa38ci: move several jobs toubuntu-slimrunner (#11774)9c9b6a0fix(arrow-select): reject nulls in non-nullable columns in take_record_batch ...2a22dd7[Variant] Restore object field offsets after failed append (#11403)df4dc3eRun Miri on a daily schedule, require it before releases (#11631)3db18f7bench: improveconcat,coalesce_kernelsbenchmarks (#11768)