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

xapi-project / xen-api / 43190575901
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: CP-314185-typed-card-order
DEFAULT BRANCH: master
Ran 12 Nov 2026 09:21AM UTC
Jobs 1
Files 36
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

12 Nov 2026 09:20AM UTC coverage: 78.996%. Remained the same
43190575901

push

github

web-flow
SDK fixes: Java exception parameters and messages, Java set order, .NET 10 guards, PowerShell typo (#7398)

Five SDK fixes found while porting the xenserver-samples (CP-314917) and
comparing the SDK 26.22.0 release candidate with 26.16.1. Each commit is
independent.

Java

CA-432633: Read Java exception parameters from JSON-RPC error data.
Types.checkError read parameter i from errorData[i + 1], which is
XML-RPC indexing. Under JSON-RPC, xapi sends the error code in message
and only the parameters in data, so every typed exception's fields were
shifted by one and the last one was always empty. For example,
HostIsSlave.masterIPAddress was always empty, so Java clients couldn't
follow a pool member's redirect to the coordinator. Includes
TypesCheckErrorTest.

CA-432675: Pass the Java XenAPIException message to IOException.
Neither XenAPIException constructor called super(...), so getMessage()
was null for every XenAPI error.

CA-432902: Keep the order of sets in the Java SDK.
Jackson read every Set into a HashSet, losing order. Results typed Set
(Set String) were unusable: Caller.query_all_usage documents rows of
[uuid; name_label; tokens; calls], highest tokens first, but Java
returned the rows and their columns in hash order. host.apply_updates,
pool.check_update_readiness and Diagnostics.network_stats return the
same type. The client now reads sets as LinkedHashSets. Signatures don't
change. Duplicate values within a row still collapse, because the result
is still a set. Includes JsonRpcClientSetOrderTest.

C# and PowerShell

CA-432901: Test NET10_0_OR_GREATER in the C# and PowerShell SDK guards.
The projects target net10.0 since the .NET 10 move, but 23 guards still
tested NET8_0_OR_GREATER. The symbols are cumulative, so nothing
compiles differently.

CA-432900: Fix the spelling of "been" in the PowerShell cmdlets' "A
default XenServer session has not been set." error.

Testing

The SDK was built from this branch in Docker, the way
generate-and-bui... (continued)

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 43190575901.1 12 Nov 2026 09:21AM UTC 36
79.0
GitHub Action Run
Source Files on build 43190575901
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43190575901
  • 01d076d1 on github
  • Prev Build on gh-readonly-queue/master/pr-7393-b61cef3a3bc19fb8722cf07fbd0fa55720df0430 (#43147753346)
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