Skip to content

Warn on base ref parse failures instead of silently ignoring#8

Merged
daharoni merged 1 commit intomainfrom
fix-silent-base-parse-failure
Apr 8, 2026
Merged

Warn on base ref parse failures instead of silently ignoring#8
daharoni merged 1 commit intomainfrom
fix-silent-base-parse-failure

Conversation

@daharoni
Copy link
Copy Markdown
Contributor

@daharoni daharoni commented Apr 8, 2026

Summary

  • load_base_entries was catching all exceptions silently, returning an empty dict on parse errors
  • This caused removal detection to fail — with no base entries, nothing appears removed
  • Now prints warnings to stderr so parse failures are visible in CI logs

Root cause of the failed re-sync: the base ref 76df543 had a malformed BibTeX entry (@article{doi:10.1126/...}) that caused the parser to choke silently.

Test plan

🤖 Generated with Claude Code

load_base_entries was catching all exceptions silently, which caused
removal detection to fail when the base ref had a malformed bib entry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 8, 2026

Citations Summary

Status: ✅ All checks passed

Metric Count
Total citations 2
Added 0
Edited 0
Removed 0
Keys normalized 0

@daharoni daharoni merged commit f1faa6a into main Apr 8, 2026
2 checks passed
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