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

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

Build:
Build:
LAST BUILD BRANCH: airflow
DEFAULT BRANCH: main
Ran 03 Sep 2026 04:54AM 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 04:53AM UTC coverage: 94.316% (+0.04%) from 94.275%
33716682202

push

github

mcarans
Reformat log output to read like conventional plain-text logs

hdx.utilities.easy_logging.setup_logging() hardcodes its loguru stderr
sink to colorize=True with no override parameter. Airflow 3 wraps every
captured stderr line as a JSON {"event": "..."} record, so those ANSI
colour escape codes ended up baked into the string as literal control-
character garbage rather than actual colour, wherever the log was read
(raw file, UI, etc.) - not fixable via configuration, since Airflow 3's
task log format itself (JSON via structlog) isn't user-configurable.

Re-registers loguru's sink (reaching into its internals, since
easy_logging doesn't expose this) with colorize=False and an explicit
plain format string, so lines read like a conventional single-line log
("2026-09-03 16:52:37 | INFO | module:function:line - message") instead.
Verified live: a real task's log now shows clean plain text with no
escape sequences.

4 of 4 new or added lines in 1 file covered. (100.0%)

531 of 563 relevant lines covered (94.32%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 tests - 33716682202.1 03 Sep 2026 04:54AM UTC 6
94.32
GitHub Action Run
Source Files on build 33716682202
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33716682202
  • e15cd11d on github
  • Prev Build on airflow (#33709626546)
  • Next Build on airflow (#33717501098)
  • 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