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

zentralopensource / zentral / 30370058011
90%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2026 02:55PM UTC
Jobs 1
Files 977
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

28 Jul 2026 02:35PM UTC coverage: 89.03% (+0.004%) from 89.026%
30370058011

push

github

np5
mdm: dedupe declaration builders behind resolve_declaration_artifact_version

The four declaration builders (declaration, cert_asset, data_asset, legacy_profile)
each carried the same ~24-line preamble: parse the identifier to an artifact pk,
prefer the advertised snapshot, fall back to the live scope walk, and raise on an
invalid or out-of-scope identifier. Extract it into a single helper in utils.py;
each builder now resolves (artifact_version_pk, server_token) in one call and keeps
only its type-specific model load and payload. No behavior change (error messages
derived from model.__name__ match the previous strings).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

47657 of 53529 relevant lines covered (89.03%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
40
97.91
0.05% zentral/contrib/mdm/models.py
4
98.82
0.23% zentral/contrib/mdm/artifacts.py
4
93.21
0.61% zentral/contrib/mdm/public_views/mdm.py
1
98.57
-0.21% zentral/contrib/mdm/declarations/declaration.py
1
99.19
-0.81% zentral/contrib/mdm/declarations/utils.py
Jobs
ID Job ID Ran Files Coverage
1 30370058011.1 28 Jul 2026 02:55PM UTC 977
89.03
GitHub Action Run
Source Files on build 30370058011
  • Tree
  • List 977
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30370058011
  • aea6fbec on github
  • Prev Build on main (#30368180646)
  • Next Build on main (#30372276074)
  • 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