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

xapi-project / xen-api / 13076323741
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: asv/host-disable-persistent
DEFAULT BRANCH: master
Ran 31 Jan 2025 04:03PM UTC
Jobs 1
Files 37
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

31 Jan 2025 04:02PM UTC coverage: 78.248%. Remained the same
13076323741

push

github

web-flow
Refactor xapi-storage-script to use modules (#6191)

The `bind` function in xapi-storage-script has lots of implementaions
all over the place, making it hard to maintain. Use module abstractions
to separate different storage functions.

The tricky bit of this is the need to pass `version` and
`volume_script_dir` into each storage function calls, and these two
variables are determined at runtime. Hence functors are used for this
purpose, once the `volume_script_dir` is determined when `bind` is
called, pass this as inside the `RuntimeMeta` module to the relevant
implementations. The `version` global variable, however, is populated
when `Query.query` is called, so create an alias in the `RuntimeMeta`
module so that it can be used in the storage function implementations.

3457 of 4418 relevant lines covered (78.25%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 13076323741.1 31 Jan 2025 04:03PM UTC 37
78.25
GitHub Action Run
Source Files on build 13076323741
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13076323741
  • 9be7780b on github
  • Prev Build on gh-readonly-queue/master/pr-6261-d603928615659ad35e1ce99c2ba33dab700125b1 (#13072248226)
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