Skip to content

fix: treat missing log marker outputs as unprocessed#14

Merged
atsyplenkov merged 7 commits intomainfrom
feat/issue-11-overwrite-skip
Mar 25, 2026
Merged

fix: treat missing log marker outputs as unprocessed#14
atsyplenkov merged 7 commits intomainfrom
feat/issue-11-overwrite-skip

Conversation

@atsyplenkov
Copy link
Copy Markdown
Owner

Summary

  • make non-overwrite runs block only on <output>/<pdf_stem>/log.jsonl; when marker is missing, refresh managed artifacts and continue
  • add regression coverage for stale index.md/figures/tables without log marker, plus ordering checks around env lookup
  • align CLI help, README, and changelog with marker-based semantics

Test Plan

  • cargo test
  • cargo test --test cli_existing_output
  • cargo test --features internal-testing --test core_internal
  • env -u ZAI_API_KEY cargo run -- --input /home/ats/Projects/watemsedem_review/data/pdf/chen_2022_linkages_between_soil_erosion_and_long-term_changes_of_landscape_pattern_in_a_small_watershed_on_the.pdf --output /home/ats/Projects/watemsedem_review/data/md --normalize-tables --env-file /tmp/paperdown-missing.env

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 97.81022% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.19%. Comparing base (3745eab) to head (6ebda1f).

Files with missing lines Patch % Lines
src/main.rs 97.82% 2 Missing ⚠️
src/core/output.rs 97.29% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   85.26%   86.19%   +0.93%     
==========================================
  Files           9        9              
  Lines        1751     1855     +104     
==========================================
+ Hits         1493     1599     +106     
+ Misses        258      256       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@atsyplenkov atsyplenkov merged commit f60255a into main Mar 25, 2026
11 checks passed
@atsyplenkov atsyplenkov deleted the feat/issue-11-overwrite-skip branch March 25, 2026 19:36
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