Skip to content

feat(etl): Add new setting for controlling table copy#42853

Merged
iambriccardo merged 6 commits intomasterfrom
add-new-field
Feb 24, 2026
Merged

feat(etl): Add new setting for controlling table copy#42853
iambriccardo merged 6 commits intomasterfrom
add-new-field

Conversation

@iambriccardo
Copy link
Contributor

@iambriccardo iambriccardo commented Feb 16, 2026

This PR changes advanced settings for ETL.

@vercel
Copy link

vercel bot commented Feb 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Feb 23, 2026 4:16pm
docs Ready Ready Preview, Comment, Open in v0 Feb 23, 2026 4:16pm
learn Ready Ready Preview, Comment Feb 23, 2026 4:16pm
studio-self-hosted Ready Ready Preview, Comment Feb 23, 2026 4:16pm
studio-staging Ready Ready Preview, Comment Feb 23, 2026 4:16pm
ui-library Ready Ready Preview, Comment Feb 23, 2026 4:16pm
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Feb 23, 2026 4:16pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
cms Ignored Ignored Feb 23, 2026 4:16pm
studio Ignored Ignored Feb 23, 2026 4:16pm

Request Review

@supabase
Copy link

supabase bot commented Feb 16, 2026

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 16, 2026

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Added disk information endpoint to API.
    • Enhanced health status monitoring with replication connection status.
  • Bug Fixes

    • Updated database replication configuration fields with clearer labels and improved descriptions for parallel table copying controls.
    • Adjusted default values and validation for replication settings.

Walkthrough

This pull request refactors the replication pipeline configuration by renaming and repositioning form fields to better reflect their functionality. The field maxSize (representing batch size) is progressively renamed through maxTableSyncWorkers to maxCopyConnectionsPerTable, with corresponding updates to UI labels and descriptions throughout the form validation schema, component logic, and API mutation handlers. Additionally, the field is moved from the BatchConfig type to the pipelineConfig type. The changes also introduce a new /v1/projects/{ref}/config/disk API endpoint for retrieving database disk configuration and extend the replication health status response with a replication_connected flag.


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 16, 2026

🎭 Playwright Test Results

passed  143 passed
flaky  2 flaky
skipped  4 skipped

Details

stats  149 tests across 20 suites
duration  13 minutes, 39 seconds
commit  abdd0c6

Flaky tests

Features › cron-jobs.spec.ts › High Query Cost Banner › shows banner and still displays cron jobs when query cost exceeds threshold
Features › realtime-inspector.spec.ts › Realtime Inspector › Broadcast Messages › broadcast modal validates JSON payload

Skipped tests

Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@vercel vercel bot temporarily deployed to Preview – learn February 16, 2026 12:31 Inactive
@iambriccardo iambriccardo marked this pull request as ready for review February 23, 2026 16:25
@iambriccardo iambriccardo requested a review from a team as a code owner February 23, 2026 16:25
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

> [!CAUTION]

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/api-types/types/api.d.ts (1)

1-4: ⚠️ Potential issue | 🟠 Major

Do not edit generated api.d.ts directly.

This file is auto-generated; changes must be made in the OpenAPI spec (e.g., apps/docs/spec/api_v1_openapi.json) and then regenerated, otherwise types will drift from the source of truth.

Based on learnings: “Generated type definitions under packages/api-types/types/**/*.d.ts are auto-generated by openapi-typescript and should not be edited directly. Do not modify these files. If a change is needed, update the OpenAPI spec and regenerate the types.”

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/api-types/types/api.d.ts` around lines 1 - 4, The file
packages/api-types/types/api.d.ts is auto-generated and must not be edited
directly; instead update the OpenAPI spec (e.g.,
apps/docs/spec/api_v1_openapi.json) with the desired changes and then regenerate
the TypeScript types using the openapi-typescript generation step (the project’s
generator/script that produces packages/api-types/types/**/*.d.ts), ensuring the
generated types reflect the spec and avoiding manual edits to Api.d.ts.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@packages/api-types/types/api.d.ts`:
- Around line 1-4: The file packages/api-types/types/api.d.ts is auto-generated
and must not be edited directly; instead update the OpenAPI spec (e.g.,
apps/docs/spec/api_v1_openapi.json) with the desired changes and then regenerate
the TypeScript types using the openapi-typescript generation step (the project’s
generator/script that produces packages/api-types/types/**/*.d.ts), ensuring the
generated types reflect the spec and avoiding manual edits to Api.d.ts.

ℹ️ Review info

Configuration used: Central YAML (base), Repository UI (inherited), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Cache: Disabled due to Reviews > Disable Cache setting

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between ce5cce5 and abdd0c6.

📒 Files selected for processing (8)
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AdvancedSettings.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DestinationForm.schema.ts
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/index.tsx
  • apps/studio/data/replication/create-destination-pipeline-mutation.ts
  • apps/studio/data/replication/update-destination-pipeline-mutation.ts
  • apps/studio/data/replication/validate-pipeline-mutation.ts
  • packages/api-types/types/api.d.ts
  • packages/api-types/types/platform.d.ts

@iambriccardo iambriccardo merged commit 67ed8f1 into master Feb 24, 2026
28 checks passed
@iambriccardo iambriccardo deleted the add-new-field branch February 24, 2026 07:14
@github-actions
Copy link
Contributor

github-actions bot commented Feb 24, 2026

Braintrust eval report

Assistant (master-1771917365)

Score Average Improvements Regressions
Completeness 97.2% (+0pp) 1 🟢 1 🔴
Conciseness 0% (-1pp) - 1 🔴
Docs Faithfulness 55% (+2pp) 3 🟢 -
Goal Completion 94.4% (-1pp) 1 🟢 2 🔴
Tool Usage 100% (+0pp) - -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
URL Validity 100% (+0pp) - -
Correctness 100% (+4pp) 1 🟢 -
Time_to_first_token 0.39tok (+0.18tok) - 12 🔴
Llm_calls 8.44 (+0.25) 6 🟢 3 🔴
Tool_calls 3.19 (+0.28) 6 🟢 2 🔴
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 52499.61tok (+4150.47tok) 5 🟢 7 🔴
Prompt_cached_tokens 28376.89tok (+2492.44tok) 8 🟢 4 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Completion_tokens 2712.03tok (+175.56tok) 4 🟢 8 🔴
Completion_reasoning_tokens 1937.78tok (+151.11tok) 4 🟢 8 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 55211.64tok (+4326.03tok) 5 🟢 7 🔴
Estimated_cost 0.01$ (+0$) 6 🟢 6 🔴
Duration 68.06s (+27.74s) - 12 🔴
Llm_duration 133.98s (+56.79s) - 12 🔴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants