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

xapi-project / xen-api / 37439330183
79%

Build:
DEFAULT BRANCH: master
Ran 06 Oct 2026 08:56AM 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

05 Oct 2026 01:38PM UTC coverage: 78.996%. Remained the same
37439330183

push

github

web-flow
CP-309867: Render the PowerShell cmdlet files from mustache templates (#7313)

The PowerShell generator builds each cmdlet's C# file with sprintf, with
the fixed parts of the file mixed in among the code that works out the
variable parts. That makes it hard to see what a generated cmdlet looks
like, and hard to change it. It's also the only SDK generator here with
no tests.

This PR moves those fixed parts into mustache templates. The psd1,
destructor, HTTP action and ConvertTo-XenRef files already work this
way. It also adds golden-file tests for the new templates.

It's a refactor: the generated SDK doesn't change. A full generator run
from this branch is byte-identical to one from master: 413 files,
including all 402 cmdlet .cs files.

Testing

- The generated SDK is byte-identical to master's, checked by diffing a
full generator run from each.
- dune build @fmt, the sdk-gen build, dune test ocaml/sdk-gen/powershell
(7 tests) and ./quality-gate.sh pass on both commits.

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 37439330183.1 06 Oct 2026 08:56AM UTC 36
79.0
GitHub Action Run
Source Files on build 37439330183
  • 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 #37439330183
  • 0af2b373 on github
  • Prev Build on gh-readonly-queue/master/pr-7310-c5a3c95c286b66d3dc4131001a08548c4a1993cb (#37024505670)
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