Skip to content

Conversation

@psafont
Copy link
Member

@psafont psafont commented May 29, 2024

Adds mising dependencies and uses correct formula for enforcing same version

Added a missing dependency to message-switch-core. For some reason this was OK in ocaml 4.14.1 builds, but not on the 4.14.2 ones.

Update to dune version 3. This generates warnings for unused bindings on binaries, even if they don't have an empty mli defined. This needed some removals or changes to recover the unit tests

psafont added 2 commits May 30, 2024 12:00
Adds mising dependencies and uses correct formula for enforcing same version

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Add the missing dependency on xapi-stdext-threads

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
psafont added 2 commits May 30, 2024 13:10
With newer dune versions, unused bindings for binaries are also checked.

The biggest chunks of code dropped are from tests:
- the ones in stdext-encodings were missed when removing the tests, this was
  done because they were unused by xapi.
- the export in rrd was never run, it's not trivial to get working due to
  changes that have happened in the meantime, and there were tests introduced
  in that same commit to ensure the data contains sane values.

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
This enables more warnings and fixes opam metadata generation

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
@psafont psafont changed the title opam: Fix metadata Update opam metadata and update dune version to 3.0 May 30, 2024
@psafont
Copy link
Member Author

psafont commented May 30, 2024

I've run the re-enabled test for parallel vms more than 300 times, and it has yet to fail once. It seems pretty stable on my system.

@psafont psafont merged commit ea8bffb into xapi-project:master May 31, 2024
@psafont psafont deleted the meta branch May 31, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants