Skip to content

fix(mount): keep live startup off stale mirrors - #160

Merged
kjgbot merged 2 commits into
mainfrom
fix/background-mount-warmup
Jul 21, 2026
Merged

fix(mount): keep live startup off stale mirrors#160
kjgbot merged 2 commits into
mainfrom
fix/background-mount-warmup

Conversation

@kjgbot

Copy link
Copy Markdown
Contributor

Summary

  • warm daemon and clone-path Relayfile mirrors in the background for long-running Factory start
  • keep finite run-once and loop commands on their strict mount preflight
  • surface first-launch failures as degraded mount health and arm the existing telemetry-aware retry supervisor

Verification

  • targeted CLI and Relayfile mount tests: 119 passed
  • TypeScript build
  • feature map contract check

Full suite and exact packed-consumer E2E will be attached before this leaves draft.

@coderabbitai

coderabbitaiBot commented Jul 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@kjgbot, you've reached your PR review limit, so we couldn't start this review.

Next review available in:13 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 976b6579-acb6-46be-977e-32aa9c3f8fda

📥 Commits

Reviewing files that changed from the base of the PR and between 4e52149 and dae62ef.

📒 Files selected for processing (4)
  • src/cli/fleet.test.ts
  • src/cli/fleet.ts
  • src/mount/relayfile-cloud-mount-client.test.ts
  • src/mount/relayfile-cloud-mount-client.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/background-mount-warmup

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assistgemini-code-assistBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request modifies the fleet CLI startup process to warm configured clone mounts in the background without blocking the live start, and updates the cloud mount client to handle and retry initial SDK mount failures. The feedback suggests adding a .catch() block to the background warmStartPathMounts call to prevent unhandled promise rejections from potentially crashing the process.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment threadsrc/cli/fleet.ts
@kjgbot
kjgbotforce-pushed the fix/background-mount-warmup branch from a6d2086 to dae62efCompareJuly 21, 2026 03:33
@kjgbot
kjgbot marked this pull request as ready for review July 21, 2026 03:36
@kjgbot

Copy link
Copy Markdown
ContributorAuthor

@coderabbitai review

@coderabbitai

coderabbitaiBot commented Jul 21, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Sign up for freeto 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

@kjgbot