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

xapi-project / xen-api / 13432152823 / 1
80%
master: 80%

Build:
DEFAULT BRANCH: master
Ran 20 Feb 2025 09:37AM UTC
Files 38
Run time 1s
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

20 Feb 2025 09:23AM UTC coverage: 78.516%. Remained the same
13432152823.1

push

github

web-flow
Refactor Xapi_event (#6306)

A code clarification effort, consisting of:

- Accumulate lists of event-related objects within a record, instead of
a tuple. Using a record permits functional record update, which means we
avoid citing lists we have not changed.
- Remove `last_generation`: this mutable variable is updated in a few
places and complicates the code. Instead of relying it on being in scope
(and mutated in other places), we explicitly pass it in and then thread
the update to its value through the retry loop.
- Factor out a routine to convert `(table, obj, time)` entries into
event records, defining the accumulation of `add`, `mod`, and `del`
events in terms of it: message events remain special cased because their
contents are not in the database. This avoids duplicated code.

3512 of 4473 relevant lines covered (78.52%)

0.79 hits per line

Source Files on job python3.11 - 13432152823.1
  • Tree
  • List 38
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13432152823
  • 1f269dd4 on github
  • Prev Job for on master (#13431910713.1)
  • Next Job for on master (#13432556997.1)
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

© 2026 Coveralls, Inc