Skip to content

fix: dedupe Cargo.lock after conflicting dependabot merges - #1787

Merged
robcohen merged 2 commits into
mainfrom
fix/dedupe-lockfile
Jul 12, 2026
Merged

robcohen merged 2 commits into
mainfrom
fix/dedupe-lockfile

Conversation

@robcohen

Copy link
Copy Markdown
Member

Main is currently broken for every cargo command — failed to parse lock file: package wasm-encoder is specified twice. Dependabot #1783 (rust-dependencies group) and #1784 (wit-bindgen 0.59) merged in quick succession and the textual lockfile merge duplicated two entries (each PR was green against its own stale base; the combination broke — the required checks are non-strict, so nothing forced a re-run on the final base).

Deduplicated by (name, version); cargo check --workspace passes. All open PRs (e.g. #1786, where this surfaced as 25 simultaneous failures) are blocked until this lands.

🤖 Generated with Claude Code

Dependabot #1783 (rust-dependencies group) and #1784 (wit-bindgen
0.59) merged in quick succession; the textual lockfile merge left
wasm-encoder 0.253.0 (and one other entry) listed twice, so every
cargo command on main fails with 'failed to parse lock file' — all
CI on all PRs is red. Deduplicated by (name, version); workspace
check passes.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 12, 2026 16:51
@robcohen
robcohen requested a review from a team as a code owner July 12, 2026 16:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@robcohen
robcohen enabled auto-merge (squash) July 12, 2026 16:51
@github-actions

github-actions Bot commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

Tool Time Memory
rustledger 26.6ms ± 1.1ms 23.7 MB
beancount 622.7ms ± 5ms 50.6 MB
Comparison 23.4x faster 2.1x less

vs main branch (2026-07-12)

Metric main this PR Change
Time 31.7ms 26.6ms -16.1% 🟢
10K transactions · 5 runs, 2 warmup · hyperfine
What do these numbers mean?
  • Time: Wall-clock time to parse and validate the ledger (± std dev)
  • Memory: Peak resident set size (RSS)
  • vs main: Compared to latest nightly benchmark on main branch

@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 100%
Total Files 811
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

@robcohen
robcohen merged commit 25ad1a8 into main Jul 12, 2026
42 of 46 checks passed
@robcohen
robcohen deleted the fix/dedupe-lockfile branch July 12, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants