mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
https://linear.app/supabase/issue/FE-2226/fix-incorrect-baseline-and-max-iopsthroughput-values - Centralized compute/disk limits in packages/shared-data/compute-disk-limits.ts (MB/s, baseline+max IOPS/throughput) and re-exported from shared-data. - Hooked Docs compute/disk table into shared data, converted docs text/table to MB/s baseline/max. - Removed duplicated compute IOPS/throughput constants from Studio, Studio now imports shared data. - Updated Studio disk schema: compute-aware MAX IOPS/throughput validation (MB/s), defaults computeSize to ci_micro, and gp3/io2 checks use compute caps. - Clarified disk update mutation to send throughput as MB/s despite backend throughput_mbps field name. - Added tests for compute-size mappings and IOPS helper logic. - Added Infra ownership for shared compute/disk data in CODEOWNERS. - Locked zod version via catalog and added zod dep to shared-data. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a reusable Compute Disk Limits table and centralized compute disk limits dataset for dynamic display. * **Documentation** * Replaced static per-size tables with a component-driven MB/s view; clarified baseline vs. burst behavior and updated guides and troubleshooting. * **Bug Fixes** * Validation and UI guidance now honor compute-size limits for IOPS and throughput. * **Tests** * Expanded unit tests for sizing, mappings, and edge cases. * **Chores** * Published shared-data exports, added a validation schema, pinned a dependency, and added ownership entries. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
41 lines
1.0 KiB
TypeScript
41 lines
1.0 KiB
TypeScript
import config from './config'
|
|
import {
|
|
COMPUTE_BASELINE_IOPS,
|
|
COMPUTE_BASELINE_THROUGHPUT,
|
|
COMPUTE_DISK,
|
|
COMPUTE_MAX_IOPS,
|
|
COMPUTE_MAX_THROUGHPUT,
|
|
computeInstanceAddonVariantIdSchema,
|
|
} from './compute-disk-limits'
|
|
import extensions from './extensions.json'
|
|
import logConstants from './logConstants'
|
|
import { plans, PricingInformation } from './plans'
|
|
import { pricing } from './pricing'
|
|
import { PRODUCT_MODULES, products } from './products'
|
|
import questions from './questions'
|
|
import type { AWS_REGIONS_KEYS, CloudProvider, Region } from './regions'
|
|
import { AWS_REGIONS, FLY_REGIONS } from './regions'
|
|
import tweets, { topTweets } from './tweets'
|
|
|
|
export {
|
|
AWS_REGIONS,
|
|
COMPUTE_BASELINE_IOPS,
|
|
COMPUTE_BASELINE_THROUGHPUT,
|
|
COMPUTE_DISK,
|
|
COMPUTE_MAX_IOPS,
|
|
COMPUTE_MAX_THROUGHPUT,
|
|
computeInstanceAddonVariantIdSchema,
|
|
config,
|
|
extensions,
|
|
FLY_REGIONS,
|
|
logConstants,
|
|
plans,
|
|
pricing,
|
|
PRODUCT_MODULES,
|
|
products,
|
|
questions,
|
|
topTweets,
|
|
tweets,
|
|
}
|
|
export type { AWS_REGIONS_KEYS, CloudProvider, PricingInformation, Region }
|