Skip to content

fix(p2p-12): prefer deepest matching mount lookup (#671)#6

Open
jlon wants to merge 1 commit into
p2p-11-reader-listener-lifecycle-hardeningfrom
p2p-12-unified-boundary-hardening
Open

fix(p2p-12): prefer deepest matching mount lookup (#671)#6
jlon wants to merge 1 commit into
p2p-11-reader-listener-lifecycle-hardeningfrom
p2p-12-unified-boundary-hardening

Conversation

@jlon
Copy link
Copy Markdown
Owner

@jlon jlon commented Mar 26, 2026

Summary

  • Fix mounted-path lookup to prefer the deepest matching mount.
  • Keep this as a detached side PR; later P2P slices do not depend on broader unified refactors.

Design

  • Limit scope to the independently mergeable boundary bug in mount selection.
  • Exclude write-type, consistency, and route changes that depend on later mount-model evolution.

Implementation

  • Update mount cache lookup to choose the deepest valid match for overlapping mounts.
  • Leave cache sync and unified filesystem route changes out of this PR.

Verification

  • Verify overlapping mounts resolve to the deepest matching mount.
  • Verify non-overlapping mount selection remains unchanged.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@jlon jlon force-pushed the p2p-11-reader-listener-lifecycle-hardening branch from bd6a1a3 to 3da3eea Compare March 26, 2026 10:26
@jlon jlon force-pushed the p2p-12-unified-boundary-hardening branch from d47005c to 1ed58e1 Compare March 26, 2026 10:26
@jlon jlon force-pushed the p2p-11-reader-listener-lifecycle-hardening branch from 3da3eea to a0d27ba Compare March 27, 2026 09:33
@jlon jlon force-pushed the p2p-12-unified-boundary-hardening branch from 1ed58e1 to d1ae906 Compare March 27, 2026 09:33
@jlon jlon force-pushed the p2p-11-reader-listener-lifecycle-hardening branch from a0d27ba to 50bb594 Compare March 30, 2026 00:55
@jlon jlon force-pushed the p2p-12-unified-boundary-hardening branch from d1ae906 to 621e157 Compare March 30, 2026 00:55
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.

1 participant