Crosvm Infra Updates August 2022

33 views
Skip to first unread message

'Dennis Kempin' via crosvm-announce

unread,
Aug 12, 2022, 2:11:48 PM8/12/22
to crosvm-...@chromium.org, crosvm-core

Hello friends of crosvm,


Another update on recent infra and project health updates for upstream crosvm. 


The hard to miss update is of course that crosvm has migrated to its new repository and Luci is now running crosvm’s infrastructure


We have also launched crosvm.dev to host our documentation.

Updates

Dev tools

  • You can now use VSCode Remote Containers for crosvm development. (Thank you zihanchen@)

  • ./tools/cl has been extended to provide a status and prune command for managing local branches.

Code Health

  • Crosvm switched to using the “one line per item imports” style. It is not yet enforced as it requires nightly rust. You can use ./tools/fmt –nightly to use the new style.

  • Video-decoding is now enabled in upstream crosvm, with a lot of work done on upstream video coding that does not depend on Chrome. (Thank you acourbot@)

  • More and more crates are enabled in windows builds, including the main crosvm crate. (Thank you B* team)

  • We upgraded to Rust 1.60.0 (Thank you dverkamp@)

CI

  • All crosvm cloud resources are now provided by the crosvm-infra project.

  • We have addend a linux_x86_64_direct builder, which runs testing on crosvm-direct. You can run these locally too: ./tools/run_tests –direct. (Thank you keiichiw@)

  • Tests are now retried in pre-submit in case of flaky results.

ChromeOS

Roadmap

An updated roadmap of upcoming infra projects and changes:

2022 Q3

Finish Externalization (OKR)

  • Switch all development to the new repository

  • Migrate all crosvm resources (test images, containers) to crosvm-infra.

  • Serve documentation on crosvm.dev

Improve Test Coverage (OKR)

  • The goal is to have all code living in crosvm built and tested in crosvm infra.

  • Collect and report test coverage metrics

  • Untested features in upstream have a plan to add coverage

Improve Developer tooling (OKR)

  • ChromeOS workflows are documented and tested in CI

  • Incremental pre-submit checks, only run on what was modified.

  • Expand pre-submit checks

2022 Q4

Bazel Migration

  • The ChromeOS build team is working on building crosvm with bazel in ChromeOS.

  • Upstream crosvm will switch to be built with bazel as well.

  • Both cargo and bazel will be supported until all downstream projects are migrated. 

--
You received this message because you are subscribed to the Google Groups "crosvm-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crosvm-announ...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crosvm-announce/CA%2BePd7-uUPh2w7C7QhE46-j5BxN_tbtPnr-uUWxtC2RP%3DJHY8g%40mail.gmail.com.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
Reply all
Reply to author
Forward
0 new messages