Skip to content

fix CI errors#223

Merged
imeoer merged 3 commits intocloud-hypervisor:masterfrom
bergwolf:ci
Feb 25, 2026
Merged

fix CI errors#223
imeoer merged 3 commits intocloud-hypervisor:masterfrom
bergwolf:ci

Conversation

@bergwolf
Copy link
Contributor

ci: refactor conditional logic in sync_io.rs
overlayfs: fix unwrap usage in lookup debug trace
ci: ignore advisory RUSTSEC-2025-0141 in deny.toml

Add an exception for advisory RUSTSEC-2025-0141 with a reason explaining that no
safe upgrade is available and version 1.3.3 of bincode is considered complete and
does not require updates.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
Replace unwrap call with as_ref to avoid unnecessary panic risk when logging
the lookup result. This improves stability by preventing potential runtime errors
during debug tracing.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
Replace nested if-else with match expression for improved readability when handling
file stat operations based on no_open flag and handle availability.

The change simplifies the control flow by using pattern matching to handle the
four possible combinations of no_open state and handle presence in a single
expression.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
Copy link
Collaborator

@imeoer imeoer left a comment

Choose a reason for hiding this comment

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

LGTM!

@imeoer imeoer merged commit 7aa72b4 into cloud-hypervisor:master Feb 25, 2026
10 checks passed
@bergwolf bergwolf deleted the ci branch February 25, 2026 06:02
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.

2 participants