Skip to content

Unskip image mount tests#241

Merged
ehdr merged 1 commit intomainfrom
ehdr/unskip-dir-mount-tests
Dec 22, 2025
Merged

Unskip image mount tests#241
ehdr merged 1 commit intomainfrom
ehdr/unskip-dir-mount-tests

Conversation

@ehdr
Copy link
Contributor

@ehdr ehdr commented Dec 22, 2025

Note

Unskips and activates sandbox image-mount tests for empty mounts, mounting snapshots/images across sandboxes, and error handling for unbuilt images.

  • Tests:
    • Enable four vitest cases in modal-js/test/sandbox_mount_image.test.ts:
      • SandboxMountDirectoryEmpty: mount empty directory and verify it exists.
      • SandboxMountDirectoryWithImage: snapshot filesystem from one sandbox and mount in another; verify file contents.
      • SandboxSnapshotDirectory: snapshot a mounted directory and remount; verify file contents.
      • SandboxMountDirectoryWithUnbuiltImageThrows: assert mounting an unbuilt image rejects with expected error.

Written by Cursor Bugbot for commit 3ac14c7. This will update automatically on new commits. Configure here.

@ehdr ehdr requested a review from freider December 22, 2025 08:25
@ehdr
Copy link
Contributor Author

ehdr commented Dec 22, 2025

@prbot approve

Copy link

@modal-pr-review-automation modal-pr-review-automation bot left a comment

Choose a reason for hiding this comment

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

Approved 👍. @freider will follow-up review this.

@ehdr ehdr merged commit 131207b into main Dec 22, 2025
6 checks passed
@ehdr ehdr deleted the ehdr/unskip-dir-mount-tests branch December 22, 2025 08:25
@freider
Copy link
Contributor

freider commented Dec 22, 2025

lgtm

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