| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: b45807aa-05f2-4afd-99e4-04eec4ef87f7 📥 CommitsReviewing files that changed from the base of the PR and between 3f98f44 and d2bb5f5. 📒 Files selected for processing (7)
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review. WalkthroughRepository sync counts now load for all viewers. Members and anonymous viewers receive first-sync counts, while failed and warning counts remain owner-only. The first-sync banner audience is now everyone, with updated tests and changelog documentation. ChangesRepository sync visibility
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to d2bb5 This change expands first-sync banner visibility while keeping failure and warning details owner-only; no actionable merge-blocking risk remains beyond normal checks and review. Sequence Diagram(s)sequenceDiagram
participant Viewer
participant AppLayout
participant getRepositorySyncCounts
participant Prisma
participant BullMQ
participant BannerResolver
Viewer->>AppLayout: Open application
AppLayout->>getRepositorySyncCounts: Request repository sync counts
getRepositorySyncCounts->>Prisma: Count visible first-sync repositories
alt Owner viewer
getRepositorySyncCounts->>BullMQ: Read failed indexing jobs
getRepositorySyncCounts->>Prisma: Count failed and warning repositories
end
getRepositorySyncCounts-->>AppLayout: Return sync counts
AppLayout->>BannerResolver: Resolve repositoryFirstSync banner
BannerResolver-->>Viewer: Show banner to everyone
❌ Failed checks (1 warning)
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. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Test plan
Note
Medium Risk
Widens a previously owner-only API to optional auth so first-sync repo counts are visible to members and anonymous users. Failure/warning details remain owner-gated.
Overview
The repository first-sync banner now shows to members and anonymous viewers, not just owners, so people waiting on initial indexing can see progress.
getRepositorySyncCounts uses optional auth and always returns first-sync counts. Failure and warning counts stay owner-only (zeros for everyone else). Layout loads those counts for all roles instead of skipping the fetch for non-owners.
Reviewed by Cursor Bugbot for commit d2bb5f5. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit
Bug Fixes
Documentation