Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "actually use the mountPath"
This reverts commit 7a1041d.
  • Loading branch information
MaxHorstmann committed Mar 4, 2026
commit d222c4f52727a6cb31182f57e1b5aff516b779ac
7 changes: 6 additions & 1 deletion src/Runner.Worker/JobExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -967,12 +967,17 @@ private Dictionary<int, Process> SnapshotProcesses()

private async Task MountWithFuseAsync(IExecutionContext context, string mountPath)
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

{
// Create a unique temporary directory for the FUSE driver to use as its mount location
// before the loop device is surfaced to the OS.
var fuseMountLocation = Path.Combine(Constants.FuseMount.BaseCacheDir, Guid.NewGuid().ToString("N"));
Directory.CreateDirectory(fuseMountLocation);

var fuseArgs = string.Join(" ",
"start",
"--layers-file", Constants.FuseMount.LayersPath,
"--file-cache-path", Constants.FuseMount.CacheFile,
"--writable-file-path", Constants.FuseMount.WritableFile,
"--fuse-mount-directory", mountPath,
"--fuse-mount-directory", fuseMountLocation,
"--log-base", "storage-v2-mount",
"--log-location", Constants.FuseMount.BaseCacheDir);

Expand Down