Skip to content
Open
Changes from all commits
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
5 changes: 5 additions & 0 deletions src/paude/backends/podman/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ def create_session(self, config: SessionConfig) -> Session:
mounts = list(config.mounts)
mounts.extend(["-v", f"{vname}:/pvc"])

# Bind-mount host workspace directly for local sessions (avoids
# the git-remote sync step, which is slow for large repos).
if not self._engine.is_remote:
mounts.extend(["-v", f"{config.workspace}:{CONTAINER_WORKSPACE}:z"])
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.

I know bind mounts can be finicky with SELinux, so maybe this should be an opt-in thing?


proxy_name_for_env = (
(proxy_ip or proxy_container_name(session_name))
if config.proxy_image
Expand Down