Skip to content

Move ScopedFileSystem to 0.7.2 and Snapshots to 0.14 - #4864

Merged
Mpdreamz merged 2 commits into
mainfrom
chore/bump-scopedfilesystem-snapshots
Nov 16, 2026
Merged

Mpdreamz merged 2 commits into
mainfrom
chore/bump-scopedfilesystem-snapshots

Conversation

@Mpdreamz

Copy link
Copy Markdown
Member

Takes ScopedFileSystem 0.7.2, Snapshots 0.14, Pagefind.Net 0.6 and System.IO.Abstractions 23, which were held back until ScopedFileSystem worked on net11.0. No verified snapshot changes.

Affects: Internals only

Prompt summary: Bump ScopedFileSystem 0.7.2 and Snapshots now that the net11.0 fix is released.

Why

#4833 held these back. ScopedFileSystem 0.7.1 had no net11.0 build, so it failed with a TypeLoadException against System.IO.Abstractions 23, and Snapshots 0.12 and Pagefind.Net 0.6 need that version. nullean/scoped-filesystem#31 added the build and 0.7.2 is on nuget.

What

Dependency bumps

ScopedFileSystem 0.7.2, System.IO.Abstractions and its testing helpers 23.0.0, Snapshots and HttpFileParser 0.14.0, Pagefind.Net 0.6.0, and the snap tool 0.14.0. I took Snapshots 0.14, two releases past the 0.12 that was first held back, because the whole family moves together. Argh and Make.Fs 0.30, Proc 0.22.1 and curb 0.15 are also out; they are not part of this PR.

A latent bug the bump showed

AssemblerBuildStampService.ComputeConfigurationHash checked file.Exists on the injected file system and then read the bytes with the static File.ReadAllBytes, which uses the real disk. Compute_ValidCheckouts_ReturnsStamp, which uses a MockFileSystem, passed only while the real config-runtime/<hash> folder existed on the machine. The new package versions changed the hash, so the folder was missing and the test failed every time. The method now reads through file.FileSystem. In production that is the real file system, so nothing changes there.

Verify

mise install
mise run test
mise run journeys:test

All 8,969 unit tests pass. The journeys project passes 90 and skips the 10 live ones, with no pending snapshots. The change to AssemblerBuildStamp.cs has no test of its own besides the one that failed.

Mpdreamz and others added 2 commits November 16, 2026 12:27
ComputeConfigurationHash checked file.Exists on the injected file system and then
read the bytes with File.ReadAllBytes, which uses the real disk. A test with a
MockFileSystem passed only when the real config-runtime folder for the hash
already existed on the machine. It now reads through file.FileSystem. Production
behaviour is the same, because it runs on the real file system.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
ScopedFileSystem 0.7.2 has a net11.0 build that implements the hard link members
of System.IO.Abstractions 23, which held back System.IO.Abstractions, Snapshots
and Pagefind.Net. They move together: System.IO.Abstractions 23, Snapshots and
HttpFileParser 0.14, Pagefind.Net 0.6 and the snap tool 0.14.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz requested a review from a team as a code owner November 16, 2026 11:27
@Mpdreamz
Mpdreamz requested a review from akira28 November 16, 2026 11:27
@Mpdreamz

Copy link
Copy Markdown
Member Author

typeload exception wasn't due to missing net11 but interface mismatched with System.IO.Abstractions 23

@Mpdreamz
Mpdreamz enabled auto-merge (squash) November 16, 2026 11:32
@github-actions

Copy link
Copy Markdown
Contributor

@Mpdreamz
Mpdreamz merged commit 7493b81 into main Nov 16, 2026
55 checks passed
@Mpdreamz
Mpdreamz deleted the chore/bump-scopedfilesystem-snapshots branch November 16, 2026 11:36
Mpdreamz added a commit that referenced this pull request Nov 16, 2026
Main took ScopedFileSystem, Snapshots and System.IO.Abstractions in #4864. This
branch keeps main's versions and its own ModelContextProtocol 2.4.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants