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

SwissDataScienceCenter / renku-data-services / 15300796687
86%

Build:
DEFAULT BRANCH: main
Ran 28 May 2025 01:11PM UTC
Jobs 2
Files 357
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

28 May 2025 01:00PM UTC coverage: 87.028% (-0.05%) from 87.075%
15300796687

push

github

web-flow
chore: Improve logging setup (#873)

Introduces a logging setup to centralize its configuration and removes
changes to the logging config from other places in the code base.

The logging config is called in the bases __init__ file to be as early
as possible applied. For sanic applications, it must also run for
workers and the main process. The configuration sets up logging by
default as follows:

- our code is logged at level INFO
- all third-party code is logged at level WARNING

What is "our" code is determined by the logger name: our loggers
should all be children of the renku_data_services logger. Using the
provided getLogger function makes sure this is the case.

The config can be adjusted using environment variables, as written in
`Config.from_env()`.

255 of 300 new or added lines in 42 files covered. (85.0%)

8 existing lines in 4 files now uncovered.

21825 of 25078 relevant lines covered (87.03%)

1.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.26
0.04% components/renku_data_services/crc/orm.py
1
79.51
-3.14% components/renku_data_services/k8s_watcher/core.py
1
87.21
0.03% components/renku_data_services/solr/solr_client.py
2
90.48
0.23% components/renku_data_services/migrations/versions/450ae3930996_create_initial_global_environments.py
3
65.66
0.0% bases/renku_data_services/data_tasks/task_defs.py
3
74.34
0.17% components/renku_data_services/solr/solr_migrate.py
34
81.32
components/renku_data_services/app_config/logging.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.47
-1.32% components/renku_data_services/base_api/error_handler.py
1
82.23
-0.51% components/renku_data_services/crc/models.py
2
91.06
-1.63% components/renku_data_services/storage/blueprints.py
4
79.51
-3.14% components/renku_data_services/k8s_watcher/core.py
Jobs
ID Job ID Ran Files Coverage
1 run-main-tests - 15300796687.1 28 May 2025 01:18PM UTC 357
86.49
GitHub Action Run
2 run-schemathesis-tests - 15300796687.2 28 May 2025 01:11PM UTC 357
66.71
GitHub Action Run
Source Files on build 15300796687
  • Tree
  • List 357
  • Changed 48
  • Source Changed 39
  • Coverage Changed 48
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15300796687
  • c9264203 on github
  • Prev Build on main (#15296013016)
  • Next Build on main (#15301437111)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc