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

xapi-project / xen-api / 13431967125
79%
master: 80%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/master/pr-6659-89d78a563baaaf46e033338e242060255920fd7c
DEFAULT BRANCH: master
Ran 20 Feb 2025 09:24AM UTC
Jobs 1
Files 38
Run time 1min
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
13431967125

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

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 13431967125.1 20 Feb 2025 09:24AM UTC 38
78.52
GitHub Action Run
Source Files on build 13431967125
  • Tree
  • List 38
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13431967125
  • 1f269dd4 on github
  • Prev Build on master (#13431910713)
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

© 2025 Coveralls, Inc