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

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

Build:
Build:
LAST BUILD BRANCH: asv/vdi-preserve-tags
DEFAULT BRANCH: master
Ran 21 Apr 2026 10:13AM 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

21 Apr 2026 10:12AM UTC coverage: 80.459%. Remained the same
24716782301

push

github

web-flow
CP-53843: reusable SM session (#7002)

Builds on top of https://github.com/xapi-project/xen-api/pull/6991

The session reuse logic in `xapi_session.ml` does work in this usecase,
sm calls are made with `pool=false`. So reimplement the logic so that we
use a single session for `sm_exec` per sr.

This is achieved by having a hashtable that maps SRs to a corresponding
session. The session is created the first time a particular SR needs it
and then get reused afterwards. The session gets recreated only if it
becomes invalid.

This should help the number of database calls during congestion times.

Passes BVT and BST.

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 24716782301.1 21 Apr 2026 10:13AM UTC 34
80.46
GitHub Action Run
Source Files on build 24716782301
  • 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 #24716782301
  • f5660cae on github
  • Prev Build on master (#24715211549)
  • Next Build on gh-readonly-queue/master/pr-7002-1e887ddb26839e7be2c1f35384947141d5af1b90 (#24716781580)
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