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

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

Build:
Build:
LAST BUILD BRANCH: asv/duplicate-sm
DEFAULT BRANCH: master
Ran 23 Sep 2026 03:09PM 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

23 Sep 2026 03:07PM UTC coverage: 78.996%. Remained the same
35879341864

push

github

web-flow
CP-312521 xapi: enable external authentication caching by default on … (#7274)

## Expected behaviour

External AD authentication caching should behave as follows:

| Scenario | AD cache |
|---|---|
| XS9 fresh install | **enabled** |
| XS8.4 fresh install | **disabled** |
| XS8.4 → XS9 upgrade | **preserved** — disabled by default, but stays
**enabled** if the admin had explicitly enabled it before upgrading |

## What was wrong

On a fresh install, caching ended up disabled. Two independent defaults
both resolved to the wrong value:

- **`create_pool_record` (`dbsync_master.ml`)** sets
`ext_auth_cache_enabled` when the pool row is first created on a fresh
install; it was hard-coded to `false`. Changed to `true` so a fresh
install has caching enabled.
- **The datamodel `default_value` for `ext_auth_cache_enabled`**
backfills the column on upgrades from releases that predate the field.
It was `true`; changed to `false` so those upgrades default to disabled.
Upgrades from releases that already have the field keep their stored
value, so an admin who had enabled it stays enabled.

Administrators can still toggle the setting at runtime via
`pool.set_ext_auth_cache_enabled`.

## Schema

Changing the datamodel `default_value` alters the datamodel schema hash,
so this bumps `schema_minor_vsn` and updates `last_known_schema_hash`.

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 35879341864.1 23 Sep 2026 03:09PM UTC 36
79.0
GitHub Action Run
Source Files on build 35879341864
  • 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 #35879341864
  • 4446aadc on github
  • Prev Build on gh-readonly-queue/master/pr-7284-a40795aa67fd2d243ad02fda8ab6ea1bd128d42a (#35696032784)
  • Next Build on gh-readonly-queue/master/pr-7274-ac033f5425b0fc2f5d25763b477822dd97a06fbc (#35879341929)
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