Repository navigation
Sharing 2/8: add tiered live drop zone and mount lifecycle - #37
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #28
Creates a private live drop zone for each running session. The compose bind is absent for Off, read-only for Encrypted and Read-only, and writable for Read & write. It uses
rslavepropagation and degrades to a running session with a visible reason when live propagation is unavailable. Existing startup archive binds keep their existing behavior.Adds internal live-mount bookkeeping, safe mount names and de-duplication, tier checks, explicit unmount with a busy-file error, and teardown before container removal. The running sharing limit can only tighten after a Settings change. The internal mount API accepts a filesystem mount function;
dirfsandzipfswill connect to it in their sub-issues. No webview command accepts a host path.Verification:
nix build .#docker-vm -o /tmp/docker-vm-issue-28-resultpassed, including Rust unit tests for bind JSON, naming, tier checks and no-propagation fallback.docker inspectshowed/home/desktop/mntas(RW=false, Propagation=rslave)forroandencrypted,(RW=true, Propagation=rslave)forrw, and no drop-zone bind foroff.The filesystem mount callbacks have no native-menu caller yet; the live folder and archive behavior is covered by #29 through #32.