Add ProjectStorage API with per-connector size estimation#9203
Add ProjectStorage API with per-connector size estimation#9203begelundmuller merged 6 commits intomainfrom
Conversation
|
@ericpgreen2 The web code quality tests are failing on account of some broken code generation in |
…art exists The code generator only added request types to proto imports, so when a new API had no legacy Orval V1 types (e.g. ProjectStorage in #9203), the response type was referenced but never imported — failing TypeScript. Also cleaned up the import generation section for readability: colocated variables with their usage, improved comments, consistent naming (protoImports/orvalImports), and resequenced the collection loop next to the emission code it feeds.
Oh, the code generation is meant to use Orval types when they exist, and meant to use Proto types for new APIs going forward. It looks like the generator was missing an import of the Proto response type. Fixed here: #9214 |
…art exists (#9214) The code generator only added request types to proto imports, so when a new API had no legacy Orval V1 types (e.g. ProjectStorage in #9203), the response type was referenced but never imported — failing TypeScript. Also cleaned up the import generation section for readability: colocated variables with their usage, improved comments, consistent naming (protoImports/orvalImports), and resequenced the collection loop next to the emission code it feeds.
* feat: add data usage fill pill for Team plan projects Expose `dataSizeBytes` from the runtime `GetInstance` response and display a visual usage pill on the project status overview. Non-Team plans show a full blue bar; Team plans fill proportionally toward the 10 GB cap, deepening to primary-700 when at capacity. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: add `aria-label` to data usage pill link Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update DeploymentSection.svelte * small import from 9166 to pass e2e * Add ProjectStorage API with per-connector size estimation * Review * Add to Query * using api from #9203 * Update DeploymentSection.svelte * asreq Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * prettier Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Benjamin Egelund-Müller <b@egelund-muller.com>
EstimateSize(ctx) (int64, error)toOLAPStoreinterface, implemented for DuckDB and ClickHouse (returns -1 for unsupported drivers)project_storageresolver that returns storage usage info for all relevant OLAPs in the projectQueryService.ProjectStoragegRPC API that for frontend use/convenienceCloses https://linear.app/rilldata/issue/PLAT-457/summary-api-for-olap-data
Checklist: