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

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

Build:
Build:
LAST BUILD BRANCH: CP-314185-typed-card-order
DEFAULT BRANCH: master
Ran 18 Nov 2026 04:20PM 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

18 Nov 2026 04:20PM UTC coverage: 78.996%. Remained the same
44346022435

push

github

web-flow
CP-314198: xapi_observer: add Observer.purpose, what a trace is for (#7412)

Add a second axis for classifying traces next to Observer.components: a
StaticRO purpose set on Observer, with values performance, functional,
audit and boundary, and an Observer.set_purpose message. Both mirror
components: an empty list means all purposes, unknown values are
rejected with INVALID_VALUE, and the field appears on observer-create
and observer-param-*. The enable check is a new module,
Xapi_observer_purpose, whose is_enabled is a pure function over
(enabled, purpose) pairs the caller has already fetched; consumers are
expected to ignore purpose values they do not recognise.

Components answers "is this enabled?" by opening a task and reading
every Observer record on each call, and turns any exception into false.
That cannot be used on a per-span path, so the new check takes the
records as an argument and can neither read the database nor hide a
failure. A purpose labels a trace and does not change where it is
exported; every span still goes to every enabled endpoint. For that
reason set_purpose only writes the database on the coordinator and is
not forwarded to xenopsd, xapi-clusterd or SMApi.

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 44346022435.1 18 Nov 2026 04:20PM UTC 36
79.0
GitHub Action Run
Source Files on build 44346022435
  • 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 #44346022435
  • 1ff5d5a3 on github
  • Prev Build on feature/mig (#44324722740)
  • Next Build on feature/mig (#44348812268)
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