• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCHA-DAP / hdx-scraper-ophi / 33718718487
94%
main: 97%

Build:
Build:
LAST BUILD BRANCH: airflow
DEFAULT BRANCH: main
Ran 03 Sep 2026 05:25AM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Sep 2026 05:24AM UTC coverage: 93.804% (-0.5%) from 94.316%
33718718487

push

github

mcarans
Simplify inlined failure logs in summarize_country_results

Two fixes, both scoped to the summary step's failure inlining:

- retriever_context() left delete_on_failure at temp_dir_batch()'s
  default of True, so any task failure deleted the shared scratch folder
  out from under sibling tasks still using it - a real 429-rate-limited
  failure was being masked by a spurious FileNotFoundError from a
  different task's cleanup racing on the same folder. Fixed alongside
  the existing delete_scratch_on_success=False default, same reasoning.

- summarize_country_results was inlining a failed instance's log via a
  bare log_file.read_text(), dumping the raw JSON-lines file verbatim -
  every line's context keys (logger, ti_id, try_number, map_index,
  dag_id, task_id, run_id, filename, lineno) plus, for the actual
  failure record, a full frame-by-frame traceback for every exception in
  the chain. Added _render_task_log() to reformat this: plain
  "<timestamp> <LEVEL> <event>" lines with the redundant per-line keys
  dropped, and a "Task failed with exception" record's error_detail
  rendered as a short exception-chain summary (exc_type: exc_value per
  exception) instead of the full stack frames - the actual error is now
  immediately visible instead of buried under stack-trace noise.

15 of 19 new or added lines in 1 file covered. (78.95%)

545 of 581 relevant lines covered (93.8%)

0.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.37
-1.58% src/hdx/scraper/ophi/airflow_defs/dag.py
Jobs
ID Job ID Ran Files Coverage
1 tests - 33718718487.1 03 Sep 2026 05:25AM UTC 6
93.8
GitHub Action Run
Source Files on build 33718718487
  • Tree
  • List 6
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33718718487
  • 49dbd233 on github
  • Prev Build on airflow (#33717501098)
  • Next Build on airflow (#33719250601)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc