Skip to content

chore(baselines): regenerate two parser-lima entries #3093 left stale - #3112

Merged
robcohen merged 1 commit into
mainfrom
chore/corpus-baseline-builder-check
Nov 29, 2026
Merged

robcohen merged 1 commit into
mainfrom
chore/corpus-baseline-builder-check

Conversation

@robcohen

Copy link
Copy Markdown
Member

What

Updates the parser-corpus manifest hashes of two parser-lima files:

  • test-cases_MetaData.MetadataTransactionRepeated.beancount
  • test-cases_TotalsAndSigns.TotalPriceWithMissing.beancount

Why

The Corpus output baseline job (Parser Baselines) has failed on main since #3093. #3093 added ParseError::check, and ParseError's Debug prints it, so the parser hash moved for every corpus file with a builder-check error. #3093 regenerated the manifest, but on a local corpus that didn't have these two files (CI's cached corpus does), so their entries kept the pre-#3093 hashes.

Source hashes are unchanged. The new parser hashes are the exact current: values the failing CI job reports. I built the parent of #3093 and confirmed that it still produces the old hashes, so the hashes moved because of #3093's Debug change, not because parser behaviour regressed.

How to test

cargo test -p rustledger-parser --test corpus_baseline with the CI corpus. The Parser Baselines workflow on this PR should pass.

🤖 Generated with Claude Code

#3093 added ParseError::check, which ParseError's Debug prints, so the
parser corpus hash of every file with a builder-check error moved. Its
regeneration ran on a local corpus that lacked
parser-lima/test-cases_MetaData.MetadataTransactionRepeated and
parser-lima/test-cases_TotalsAndSigns.TotalPriceWithMissing (present in
CI's cached corpus), so those two entries kept their pre-#3093 hashes and
the Corpus output baseline job has failed on main since. Source hashes are
unchanged; the new parser hashes are exactly the ones CI reports.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@robcohen
robcohen requested a review from a team as a code owner November 29, 2026 03:02
@github-actions

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100% (raw 93%, 179 masked)
Full AST Match 100%
Total Files 828
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
    The headline is the EFFECTIVE rate, after pairs where beanquery
    itself is wrong are masked. raw is the same run with nothing
    masked. A widening gap means the registry grew, not that rledger
    changed.
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

@codecov

codecov Bot commented Nov 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@robcohen
robcohen merged commit eb5b5c6 into main Nov 29, 2026
51 of 52 checks passed
@robcohen
robcohen deleted the chore/corpus-baseline-builder-check branch November 29, 2026 04:13
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.

1 participant