fix: data sync optimization#149
Conversation
- removed the projectPath and branchName fields from the attributes of individual files in the todayFilesData object sent to the server because those are already taken in account in the shape of the object - this fixes the issue of the data comparison between `todayFilesData` about to be sent and the global state data, which was always failing because of those additional fields - bumped the extension version to `v0.0.71`
|
Warning Review limit reached
Next review available in: 46 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: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe VS Code extension’s per-file periodic sync data no longer stores ChangesVS Code extension update
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/vscode-extension/package.json`:
- Line 5: Keep the extension manifest version at 0.0.70 in package.json, since
publish:patch already increments it before publishing; do not commit the
pre-bumped 0.0.71 value unless the workflow is changed to use vsce publish.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: ca98e7d4-f018-4840-bec1-3b4d62d20874
📒 Files selected for processing (2)
apps/vscode-extension/package.jsonapps/vscode-extension/src/utils/periodic-sync-data.ts
💤 Files with no reviewable changes (1)
- apps/vscode-extension/src/utils/periodic-sync-data.ts
- updated the vsce publish command from publish:patch to publish
Commits
fix: data sync optimization
projectPathandbranchNamefields from the attributes of individual files in the todayFilesData object sent to the server because those are already taken in account in the shape of the objecttodayFilesDataabout to be sent and the global state data, which was always failing because of those additional fieldsv0.0.71Summary by CodeRabbit
Bug Fixes
Chores