Repository navigation
Fix repo-search workers test for saved_packages hidden column - #748
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
Warning Review limit reached
Next review available in: 9 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 Plus Run ID: 📒 Files selected for processing (2)
✨ 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 |
|
🔎 Preview deployed: https://kody-pr-748.kody-a99.workers.dev Worker: Mocks:
|
What
Fixes the
mainCI failure from the semantic merge conflict between #745 and #746:repo-search.workers.test.ts(added in #745) created its ownsaved_packagestest schema without thehiddencolumn that #746's migration added, soinsertSavedPackagefailed withtable saved_packages has no column named hiddenonce both landed.hiddencolumn to the test schema and seed rows (mirroringcommunity-flow-test-schema.ts).hiddenin thesearchSavedPackagesByUserIdSELECT so returned records carry the real visibility flag instead of always mapping tofalse.Testing
npm run test(node + workers unit suites) passes on latestmainplus this fix, including the previously failingrepo-search.workers.test.ts.npm run typecheck,npm run lint,npm run format:checkpass.System recap — composes existing primitives (low risk)
Mode: recap · Base:
main@d857526a· Head:c83ff92bClassification: composes — test-schema fix plus one added column in an existing read query; no contracts change.
Primitives touched
saved-packagessearchSavedPackagesByUserIdSELECT now includeshidden; workers test schema matches migration 0058