Skip to content

fix(rust): resolve crate audit cleanup tickets #957-#983 - #1003

Merged
athvin merged 27 commits into
mainfrom
feature/rust-cleanup-loop
Nov 9, 2026
Merged

athvin merged 27 commits into
mainfrom
feature/rust-cleanup-loop

Conversation

@athvin

@athvin athvin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #957
Closes #958
Closes #959
Closes #960
Closes #961
Closes #962
Closes #963
Closes #964
Closes #965
Closes #966
Closes #967
Closes #968
Closes #969
Closes #970
Closes #971
Closes #972
Closes #973
Closes #974
Closes #975
Closes #976
Closes #977
Closes #978
Closes #979
Closes #980
Closes #981
Closes #982
Closes #983

Post-merge is part of this pull request. The ledger below records whether the follow-up work actually happened. /land-pr closes it.

What

Resolve the 27 Rust cleanup findings from the crate audit. Each ticket has one commit and focused regression coverage.

Why

The audit found fail-open parsing, non-atomic writes, unsafe SQL name handling, stale catalog/telemetry assumptions, and control-plane retry errors across the workspace.

Proof

  • make check: passed on the rebased branch (format, lint, docs, entities, skills, scripts, and workspace tests).
  • Focused crate tests and clippy runs passed during each ticket; make skills-check passed after removing er-env. make check-e2e passed 61 er-cli DuckLake scenarios, six dedupe-cli tests, and lake reconciliation; its first Postgres test could not connect because local ER_TEST_PG_DSN is absent. Required PR CI supplies the Postgres tier.

Risk & rollback

  • Risk: broad backend surface, especially lake SQL and executor retry behavior. The full gate and relevant e2e tier are the release checks.
  • Rollback: revert the squash merge commit.

Post-merge ledger

Closed by: Codex · session Codex:01a1be03-fa4f-7c42-82b6-91e1838f928f on Mac · 2026-11-09T05:38:24Z

Specific to this change

Context — plan, discoveries, measurements, files

Plan

  1. Review crates and file actionable tickets.
  2. Implement each ticket as one tested commit in the isolated worktree.
  3. Run repository gates, merge on verified required checks, and close the post-merge ledger.

Discoveries

Measurements

  • 27 commits for 27 tickets; 70 changed files before the final gate.

Files

The commits name each crate and ticket. git log origin/main..HEAD is the per-ticket change index.

@athvin
athvin marked this pull request as ready for review November 9, 2026 03:58
@athvin
athvin merged commit 0e731ca into main Nov 9, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment