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

zentralopensource / zentral / 32465533632
92%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2026 09:06AM UTC
Jobs 1
Files 1030
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 Aug 2026 03:33AM UTC coverage: 89.985% (+0.05%) from 89.932%
32465533632

push

github

np5
santa: queue a clean sync from the machine action menu

The inventory machine page already has a place for the things an operator
can do to a machine, and Munki's force full sync is the shape to follow: a
machine action pointing at a confirmation page that posts to itself, no
JavaScript involved. The Santa block of the page is a template fragment
rendered into a page it does not control, so it could not have carried a
button of its own without a script hook to go with it.

Three actions, one per thing an operator can do: queue a clean sync, queue
a clean all sync, cancel the queued one. Each is greyed out when it does
not apply - the two force actions once a clean sync is already queued, the
cancel action while none is. The Santa block reports the queued sync and
when it was asked for.

The actions and the views they point at authorize the PBAC action rather
than a Django permission, so a role granted only a CLEAN is offered only
the clean sync, and cancelling is offered only to a role allowed to queue
the type being taken back. The machine action menu hides what a user may
not do instead of greying it out, which is what _get_machine_actions does
for every app.

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

104 of 104 new or added lines in 3 files covered. (100.0%)

33 existing lines in 5 files now uncovered.

50989 of 56664 relevant lines covered (89.98%)

0.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
21
93.48
1.09% zentral/contrib/santa/api_views.py
5
98.19
0.05% zentral/contrib/santa/serializers.py
4
97.47
0.16% zentral/contrib/santa/models.py
2
97.64
0.04% zentral/contrib/santa/public_views.py
1
98.67
0.25% zentral/utils/drf.py
Jobs
ID Job ID Ran Files Coverage
1 32465533632.1 21 Aug 2026 09:06AM UTC 1030
89.98
GitHub Action Run
Source Files on build 32465533632
  • Tree
  • List 1030
  • Changed 11
  • Source Changed 8
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32465533632
  • ac25a89a on github
  • Prev Build on main (#32409918238)
  • Next Build on main (#32469010472)
  • 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