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

zentralopensource / zentral / 35581462314
91%

Build:
DEFAULT BRANCH: main
Ran 21 Sep 2026 09:18AM UTC
Jobs 1
Files 1033
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

21 Sep 2026 07:53AM UTC coverage: 90.827% (+0.01%) from 90.817%
35581462314

push

github

np5
santa: Send the admin back when a target has no policy left

The create rule page with a fixed target offers the policies the target
has left in the configuration. When it has none, the page kept an empty
policy list: a form that cannot be submitted, and on submit only a "This
field is required" error, because the check that names the reason needs
a policy to run. A stale link gets there, from the browser history or
from a page loaded before another admin took the last policy.

The page now sends the admin to the rules of the configuration, with the
reason: the target has a voting rule, or a rule for every policy.

The generic page, where the admin types the target, keeps the form and
the checks on submit.

fixed_target() leaves the form, so the page and the form read the target
from the same five attributes.

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

31 of 31 new or added lines in 2 files covered. (100.0%)

24 existing lines in 3 files now uncovered.

52359 of 57647 relevant lines covered (90.83%)

0.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
90.15
0.12% zentral/contrib/santa/views/targets.py
8
98.55
0.3% zentral/contrib/santa/forms.py
1
98.17
0.02% zentral/contrib/santa/models.py
Jobs
ID Job ID Ran Files Coverage
1 35581462314.1 21 Sep 2026 09:18AM UTC 1033
90.83
GitHub Action Run
Source Files on build 35581462314
  • Tree
  • List 1033
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35581462314
  • 0546e03f on github
  • Prev Build on main (#35444455652)
  • Next Build on main (#35587029060)
  • 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