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

SwissDataScienceCenter / renku-data-services / 14591162770
86%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2025 09:22AM UTC
Jobs 2
Files 334
Run time 2min
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

22 Apr 2025 09:14AM UTC coverage: 86.631% (-0.04%) from 86.673%
14591162770

push

github

sambuc
fix: improve efficiency of the K8s Entity Cache

Avoid one or more call to `lower()` on each K8s API call.

We cannot rely on just using `kind`, as the K8s API sometimes returns it
in lower case and sometimes requires the exact case to be used.

Instead, we use `singular` which is set and initiaized as `kind` in
lower case, thus calling `lower()` only on instantation of objects.

Also switch from a list of kinds to cache to a set.

6 of 7 new or added lines in 2 files covered. (85.71%)

14 existing lines in 3 files now uncovered.

20340 of 23479 relevant lines covered (86.63%)

1.54 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
83.94
0.0% components/renku_data_services/k8s/clients.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.79
-1.32% components/renku_data_services/base_api/error_handler.py
1
95.05
-0.5% components/renku_data_services/session/models.py
12
70.15
-17.91% components/renku_data_services/search/reprovision.py
Jobs
ID Job ID Ran Files Coverage
1 run-main-tests - 14591162770.1 22 Apr 2025 09:29AM UTC 334
85.78
GitHub Action Run
2 run-schemathesis-tests - 14591162770.2 22 Apr 2025 09:22AM UTC 334
67.76
GitHub Action Run
Source Files on build 14591162770
  • Tree
  • List 334
  • Changed 14
  • Source Changed 3
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14591162770
  • 7e1be254 on github
  • Prev Build on main (#14514358356)
  • Next Build on main (#14613880856)
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