Repository navigation
Conversation
Keep CPU messaging generic across the Compute and Disk docs and Studio's compute size UI, dropping architecture-specific labeling.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughCompute-size CPU labels changed from cloud-provider-specific architecture wording to generic core and dedicated/shared terminology across Studio and documentation. The architecture helper and its tests were removed. ChangesCompute label presentation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
…docs-cpu-messaging
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx`:
- Around line 217-220: Update the cpuLabel logic in
apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx
(lines 217-220) to include the cpu_dedicated shared/dedicated qualifier while
preserving the existing core-count label. Apply the same qualifier to the
instance-size label data in
apps/studio/components/interfaces/ProjectCreation/ComputeSizeSelector.tsx (lines
76-79), ensuring both selectors use the established labeling convention.
In `@apps/studio/components/ui/ComputeBadgeWrapper.tsx`:
- Around line 156-159: Update the CPU stat formatting in the ComputeBadgeWrapper
hover card to distinguish numeric cpu_cores from already formatted string
values: append “-core” only for numeric values, preserve non-numeric strings
unchanged, and continue appending the existing Dedicated/Shared suffix.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 02535825-b77c-4b23-9ef4-51de55c1d855
📒 Files selected for processing (6)
apps/docs/content/guides/platform/compute-and-disk.mdxapps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsxapps/studio/components/interfaces/ProjectCreation/ComputeSizeSelector.tsxapps/studio/components/ui/ComputeBadgeWrapper.tsxapps/studio/lib/cloudprovider-utils.test.tsapps/studio/lib/cloudprovider-utils.ts
💤 Files with no reviewable changes (2)
- apps/studio/lib/cloudprovider-utils.ts
- apps/studio/lib/cloudprovider-utils.test.ts
🎭 Playwright Test Results (next)Details
Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
czenko
left a comment
There was a problem hiding this comment.
Other than the failing unit test, looks good to me.
| | Large | <Price price="0.1517" /> | ~<Price price="110" /> | 2-core ARM (dedicated) | 8 GB | 200 GB | | ||
| | XL | <Price price="0.2877" /> | ~<Price price="210" /> | 4-core ARM (dedicated) | 16 GB | 500 GB | | ||
| | 2XL | <Price price="0.562" /> | ~<Price price="410" /> | 8-core ARM (dedicated) | 32 GB | 1 TB | | ||
| | 4XL | <Price price="1.32" /> | ~<Price price="960" /> | 16-core ARM (dedicated) | 64 GB | 2 TB | |
There was a problem hiding this comment.
Looks like a test is now failing:
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/pages/new/[slug].test.tsx > project creation wizard > compute size and spend confirmation > shows the compute costs confirmation modal for larger instance sizes
TestingLibraryElementError: Unable to find an element with the text: 4 GB RAM / 2-core ARM CPU. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
There was a problem hiding this comment.
Fixed! just a bad naming on the integration test
joshenlim
left a comment
There was a problem hiding this comment.
Changes LGTM from dashboard POV!
Braintrust eval report
|
…fomap-entry-for-pitr-archiving-stale' into hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale * origin/hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale: (35 commits) chore: simplify CPU messaging for compute sizes (#48109) chore(studio): add valtio and react-hook-form ESLint ratchet rules (#48037) feat: Add ai/python federated content and data (#48043) feat: Add ai-skills federated content and data (#48045) feat: Add deployment/ci federated content and data (#48041) fix(studio): wire up siwc-enabled query param opt-in on sign-in/sign-up (#48126) fix(studio): stop stacking overlaid area series in report charts (#48034) Update Dev toolbar to support filtering feature flags (#48137) Update dev toolbar to support mocking org restrictions (#48136) feat: Add terraform federated content and data (#48010) Chore/add sessions database connections (#48094) fix(studio): guard panel collapse/resize on narrow viewports (#48098) Landing page agent focus (#47989) fix(studio): chip away explicit-tabindex ratchet debt (#48040) fix(studio): untangle nested buttons in editor tabs (#48101) fix(docs): broken link (#48117) docs: add VS Code to the AI coding agent plugin install picker (#48108) docs: add Kimi Code to MCP and AI coding agent plugin setup (#48099) fix: preserve function responses (#47920) fix(assistant): SQL approval buttons do nothing (#48102) ...
Summary
Test plan
Summary by CodeRabbit