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

xenserver-next / xen-api
79%
feature/py3: 78%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: feature/py3
Repo Added 26 Jun 2024 09:16PM UTC
Token 0SVHGq9E83amecvYXSjK5RhZgEBcaPFC9 regen
Build 375 Last
Files 38
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • CI-merge-master-coveralls-simplify-future-merges
  • Fix-Site.BaseURL-links-use-relative-internal-links-instead
  • Hugo-docs-updates-to-Relearn-6.4.0-an-newer-Hugo
  • XenAPIPlugin.py-ditch-superflous-raise-SystemExit
  • backup-sr-metadata-2to3-and-warningfixes
  • cleanup-docs-fix-a-few-typos
  • codecov-fallback
  • coveralls-finish-parallel-upload
  • delete-obsolete-ocaml/idl/ocaml_backend/python
  • docs-add-NUMA-infos
  • docs-add-possibility-to-preview-in-clone
  • docs-fix-a-few-spelling-omissions
  • docs-fix-spelling-ommit-to-omit
  • docs-invert-images-in-dark-modes
  • docs-support-hugo-previews-of-PRs-on-gh-pages
  • docs-update-README-and-hugo-relearn-to-5.23
  • docs-update-VM.start-xenguest-calls
  • docs-update-to-upstream-Hugo-Relearn-7.3.2
  • extauth-ad-fix-byte-logging-found-by-mypy
  • extauth-hook-AD-cleanup-per-method-pylint-comments
  • extauth-hook-AD-delete-obsolete-PBIS
  • extauth-hook-AD-fix-missing-abc-metaclass
  • extauth-hook-AD-modernize-import-and-import-mocking
  • extauth-hook-ad-fix-checker-warnings
  • feature/py3
  • fix-pytype-remove-unused-get_words-and-test-it
  • fix-spelling-and-typos-in-python3
  • fix-xenopsd-passing-two-args-to-append
  • master
  • merge-master-into-py3-for-coveralls
  • mv-and-fix-test_mail_alarm-py3
  • private/ashwin/CP-49906
  • private/linl/dev
  • py3-cleanup-unused-imports
  • py3-covert-tests-to-use-unittest.mock
  • py3-improve-mypy-configuration-usability
  • py3-merge-master-fix-opam-install
  • py3-merge-master-to-fix-opam
  • py3-scripts/generate-iscsi-iqn
  • py3_pytest_rrdd_api_data_update
  • py3_test_rrdd_api_data_update
  • pytest-update-paths-and-pyright
  • remove-legacy-SMAPIv3-API
  • storage-api-cleanup-string-checks
  • storage-api-cleanup-string-checks-with-coverage
  • storage-api-cleanup-string-checks-with-test-coverage
  • storage-api-cover-datapath_dispatcher
  • storage-api-test-datapath_dispatcher
  • storage-api-unfold-very-long-line
  • storage-api-use-not-is_long
  • storage-api-use-str-not-in-args
  • test_rrdd_api_data_update
  • update-endcover-to-v2
  • update-endcover-to-v2.1
  • when-only-Hugo-docs-change-full-Xapi-CI-is-not-needed
  • xe-reset-networking-covert-tabs-to-spaces
  • xenopsd-remove-orphaned-qemu-vif-script

26 Feb 2025 02:14PM UTC coverage: 78.516%. Remained the same
14722509390

push

github

web-flow
message_forwarding: Change call_slave_... functions to reduce repetition (#6321)

These functions were calling remote functions with rpc and session_id as
unnamed parameters. Because the remote functions always gave these two
parameters named, it required closures throughout the file to fix this
inconsistency.

This creates a lot of unnecessary code. Change the situation by making
call_slave_... functions to call the functions using named parameters,
and group the local and remote functions whenever a chain
to_call_slave_... is initiated so it's easy to verify that the calls are
correct.

Most of the callers use the same name for both local and remote
functions, but there are some interesting cases that can be easily seen
now: pool_eject always uses the same remote function for 3 different
types of members in the pool, previously 3 different closures were
created and the code had to be careful with names to not confuse the
ejected host from the ejectors.

When starting a vm, the local function is start_on, while the remote
function is start, the formers needs an additional host parameter, when
compared to the latter.

A lot of functions in message_forwarding look very regular, this may
lead to a chance to further reduce glue code, or even generate the code?

3512 of 4473 relevant lines covered (78.52%)

0.79 hits per line

Relevant lines Covered
Build:
Build:
4473 RELEVANT LINES 3512 COVERED LINES
0.79 HITS PER LINE
Source Files on feature/py3
  • Tree
  • List 38
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
14722509390 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 29 Apr 2025 03:11AM UTC web-flow github
78.52
14699445687 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 28 Apr 2025 03:15AM UTC web-flow github
78.52
14687813389 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 27 Apr 2025 03:13AM UTC web-flow github
78.52
14677070625 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 26 Apr 2025 03:06AM UTC web-flow github
78.52
14656104743 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 25 Apr 2025 03:11AM UTC web-flow github
78.52
14609083101 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 23 Apr 2025 03:09AM UTC web-flow github
78.52
14585818261 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 22 Apr 2025 03:09AM UTC web-flow github
78.52
14566488912 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 21 Apr 2025 03:14AM UTC web-flow github
78.52
14555456675 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 20 Apr 2025 03:13AM UTC web-flow github
78.52
14545066335 master message_forwarding: Change call_slave_... functions to reduce repetition (#6321) These functions were calling remote functions with rpc and session_id as unnamed parameters. Because the remote functions always gave these two parameters named, it ... push 19 Apr 2025 03:03AM UTC web-flow github
78.52
See All Builds (324)

Badge your Repo: xen-api

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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