fix(mountsync): prune nested runtime trees before traversal#356
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Warning Review limit reached
Next review available in: 47 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Relayfile Eval ReviewRun: Passed: 4 | Needs human: 0 | Reviewable: 0 | Missing output: 0 | Failed: 0 | Skipped: 0 Human Review CasesNo reviewable human-review cases captured Relayfile output. |
564e746 to
71782a9
Compare
71782a9 to
b40b234
Compare
|
Composition update: head moved to |
|
SHA-bound composition review PASS at 9d482e3. The new client delta opts every mount-originated ListTree request into the server pre-pagination exclusion and proves the exact query shape; exact-head Go/build/E2E/contract/eval/typecheck checks are green. The previously retracted client-only premise is repaired only when paired with relayfile-cloud PR 128. Mandatory gate: PR 128 must merge, deploy, and pass a read-only production opt-in proof before this PR merges or tags. Afterward, pin the new mount binary in Cloud and require a fresh cold fire to reach runner.started. |
Problem
Cold Relayfile mounts still paid for one depth=200 ListTree enumeration before the client filtered nested mount runtime artifacts. Production Slack message trees can contain hundreds of .relay/outbox/acked/mountcmd_* leaves, so the traversal hit the runtime cap even though those files were never user content.
Change
Measured regression
The RED fixture against the old depth=200 path returned 414 entries before filtering.
The representative bounded fixture contains 200 Slack message directories and 400 nested runtime mountcmd artifacts. It now completes in exactly 3 ListTree calls, returns zero runtime mountcmd leaves, prunes 200 canonical .relay roots, and remains under the simulated request-latency budget. Real similarly named content is still mirrored.
Validation
Release and Cloud adoption
This PR must publish a new relayfile-mount release tag after merge. Cloud adoption is a separate PR that bumps RELAYFILE_MOUNT_VERSION in rebuild-snapshot.yml to that released tag and rebuilds the Daytona snapshot. No SDK package bump is involved.