Skip to content

Bump DeviceHost to 1.2.48-0 and enable virtiofs O_APPEND ftruncate test - #41044

Merged
Ben Hillis (benhillis) merged 2 commits into
masterfrom
benhillis/drvfs-virtiofs-ftruncate-enable
Jul 9, 2026
Merged

Bump DeviceHost to 1.2.48-0 and enable virtiofs O_APPEND ftruncate test#41044
Ben Hillis (benhillis) merged 2 commits into
masterfrom
benhillis/drvfs-virtiofs-ftruncate-enable

Conversation

@benhillis

Copy link
Copy Markdown
Member

Bumps Microsoft.WSL.DeviceHost to 1.2.48-0, which contains the wsldevicehost fix for the O_APPEND ftruncate EACCES bug on virtiofs (GitHub issue #40987).

With the fix shipping, this also removes the virtiofs skip in the drvfs unit test so the O_APPEND ftruncate regression test now runs on all filesystems.

Validation

  • Full build with DeviceHost 1.2.48-0
  • test.bat /name:*WSL2VirtioFs::DrvFs passed (Total=1, Passed=1, Failed=0)

Ben Hillis and others added 2 commits July 9, 2026 13:15
The wsldevicehost fix for GitHub issue #40987 ships, so remove the
virtiofs skip and run the O_APPEND ftruncate regression test on all
filesystems.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pick up the wsldevicehost fix for the O_APPEND ftruncate EACCES bug on
virtiofs (GitHub issue #40987).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@benhillis
Ben Hillis (benhillis) requested a review from a team as a code owner July 9, 2026 20:51
Copilot AI review requested due to automatic review settings July 9, 2026 20:51

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 updates the repo’s pinned Microsoft.WSL.DeviceHost NuGet package to pick up a virtiofs fix in wsldevicehost for the O_APPEND + ftruncate EACCES regression (GitHub issue #40987), and then re-enables the corresponding drvfs regression test on virtiofs.

Changes:

  • Bump Microsoft.WSL.DeviceHost from 1.2.39-0 to 1.2.48-0.
  • Remove the virtiofs-specific skip so the O_APPEND ftruncate regression test now runs on virtiofs as well.

Reviewed changes

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

File Description
test/linux/unit_tests/drvfs.c Removes the virtiofs skip and always executes the O_APPEND ftruncate regression test (issue #40987).
packages.config Updates the pinned Microsoft.WSL.DeviceHost package version to 1.2.48-0.

@benhillis
Ben Hillis (benhillis) merged commit 7cbdb70 into master Jul 9, 2026
11 checks passed
@benhillis
Ben Hillis (benhillis) deleted the benhillis/drvfs-virtiofs-ftruncate-enable branch July 9, 2026 22:43
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