Skip to content

chore: bump hyperlight-unikraft to v0.12.0 (crates.io)#591

Open
danbugs wants to merge 3 commits into
microsoft:mainfrom
danbugs:deps/hyperlight-unikraft-v0.11.0
Open

chore: bump hyperlight-unikraft to v0.12.0 (crates.io)#591
danbugs wants to merge 3 commits into
microsoft:mainfrom
danbugs:deps/hyperlight-unikraft-v0.11.0

Conversation

@danbugs

@danbugs danbugs commented Jun 29, 2026

Copy link
Copy Markdown
Contributor
  • Bumps the hyperlight-unikraft dependency from v0.10.0 (git) to v0.12.0 (crates.io) — the crate is now published, so we switch from a git tag dependency to a crates.io version
  • Updates GHCR image tag in the e2e workflow to v0.12.0
  • Adapts to API changes:
    • Snapshot is now a directory (snapshot/index.json) instead of a single file (snapshot.hls)
    • New max_surrogates option in InstallOptions
    • Extra parameter in Runtime::new
  • Fixes the e2e test snapshot detection to check the new path

Copilot AI review requested due to automatic review settings June 29, 2026 21:02
@danbugs danbugs requested a review from a team as a code owner June 29, 2026 21:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the Hyperlight Unikraft integration from a git-tag dependency (v0.10.0) to the published crates.io release (hyperlight-unikraft v0.11.0), and aligns runtime/setup logic and CI/e2e snapshot detection with the new snapshot-on-disk layout.

Changes:

  • Switch Hyperlight backend dependency from hyperlight-unikraft-host (git) to hyperlight-unikraft v0.11.0 (crates.io) and update the feature wiring.
  • Adapt Hyperlight backend code to the v0.11.0 API and snapshot layout change (directory snapshot with snapshot/index.json, max_surrogates option, and updated Runtime::new signature).
  • Update Hyperlight e2e workflow image tag and the e2e prerequisite probe to check the new snapshot path.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/testing/wxc_e2e_tests/src/lib.rs Updates Hyperlight snapshot presence detection to check for snapshot/index.json.
src/Cargo.lock Lockfile refresh to reflect the move to crates.io and the updated dependency graph.
src/backends/hyperlight/common/src/lib.rs Updates snapshot path handling and adapts to v0.11.0 pyhl API changes.
src/backends/hyperlight/common/Cargo.toml Switches dependency from git hyperlight-unikraft-host to crates.io hyperlight-unikraft and updates the feature dep.
.github/workflows/hyperlight-e2e.yml Bumps GHCR image tag to v0.11.0 for the Hyperlight kernel/initrd downloads used by e2e.

danbugs added 3 commits July 3, 2026 21:07
Signed-off-by: danbugs <danilochiarlone@gmail.com>
Signed-off-by: danbugs <danilochiarlone@gmail.com>
Signed-off-by: danbugs <danilochiarlone@gmail.com>
@danbugs danbugs changed the title chore: bump hyperlight-unikraft to v0.11.0 (crates.io) chore: bump hyperlight-unikraft to v0.12.0 (crates.io) Jul 3, 2026
@danbugs danbugs force-pushed the deps/hyperlight-unikraft-v0.11.0 branch from b71c708 to 3cc105a Compare July 3, 2026 21:11
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.

3 participants