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

zentralopensource / zentral / 31489063486
92%

Build:
DEFAULT BRANCH: main
Ran 11 Aug 2026 12:08PM UTC
Jobs 1
Files 1022
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

11 Aug 2026 11:26AM UTC coverage: 89.787% (+0.02%) from 89.77%
31489063486

push

github

np5
santa: answer the preflight with the documented sync type values

The sync type of the preflight response was sent lowercase. Santa lowercased
what it received until 2024.5, so the value was picked up. 2024.6 moved the
sync protocol to protobuf JSON, where the sync type is an enum whose values are
NORMAL, CLEAN and CLEAN_ALL: the client parses the response with
ignore_unknown_fields and without case insensitive enum parsing, and protobuf
drops an unknown enumerator instead of failing, so has_sync_type() is false,
the deprecated clean_sync boolean is not sent to clients from 2024.1 on, and
the sync runs as a normal one.

Every clean sync asked of a client from 2024.6 on was therefore performed as a
normal sync. A clean sync asked for by santactl dropped nothing, and a machine
that lost its rule database never rebuilt it. The ledger stayed consistent
throughout, because the postflight commits the session with the sync type the
client reports, and the client reports NORMAL.

Upper case is right on both sides of that change: the older clients lowercase
the value before comparing it, the newer ones match the enum value name.

The test client now keeps the wire values as it receives them, so the rule
database it simulates is only cleared for the values santa acts on.

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

2 of 2 new or added lines in 1 file covered. (100.0%)

13 existing lines in 2 files now uncovered.

50527 of 56274 relevant lines covered (89.79%)

0.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
95.98
1.0% zentral/contrib/santa/public_views.py
4
97.04
0.38% zentral/contrib/santa/models.py
Jobs
ID Job ID Ran Files Coverage
1 31489063486.1 11 Aug 2026 12:08PM UTC 1022
89.79
GitHub Action Run
Source Files on build 31489063486
  • Tree
  • List 1022
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31489063486
  • 7cc5b5bc on github
  • Prev Build on main (#31411408096)
  • Next Build on main (#31492620160)
  • 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