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

xapi-project / xen-api / 23042688511
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: private/edvint/everything
DEFAULT BRANCH: master
Ran 13 Mar 2026 08:33AM UTC
Jobs 1
Files 34
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

13 Mar 2026 08:31AM UTC coverage: 80.459%. Remained the same
23042688511

push

github

web-flow
xapi-cli-server: stop using SR records for cross pool migrations  (#6905)

SR records have variant fields that add new variants when storage
features are added, as is the case with current_operations.
This means that fetching records from remote pool cause deserialization
exceptions when their records contain newer, unknown variants when using
OCaml-based clients.

xe uses SR records to minimize remote calls to select the SR with the
largest amount of free space during cross-pool migrations.

Change xe to use expressions for filtering SRs and minimize the amount
of calls done.
This means that now PBD records are fetched, but these don't contain any
variants, and have been unchanged since early 2008.

Now the amount of calls have changed from 1 per host-attached PBD to 2,
but the amount of calls can be limited to shared SRs, if there are any.

This is a prerequisite to reintroduce this change:
https://github.com/xapi-project/xen-api/commit/723a4983a#diff-22f9f03f3c8927d260d798c47eacbc9ceR29,
which is needed to be able to add new SR operations, like VDI_revert.

- [x] Manually tested the change with added logging, to view how the
preferred (local) SR is selected.

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 23042688511.1 13 Mar 2026 08:33AM UTC 34
80.46
GitHub Action Run
Source Files on build 23042688511
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23042688511
  • 51a78a6f on github
  • Prev Build on 26.1-lcm (#22956301660)
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