Skip to content

Test Stateless Workers on ClickGems - #253

Open
lio-p wants to merge 2 commits into
ClickHouse:clickgemsfrom
lio-p:test-stateless-workers-clickgems
Open

Test Stateless Workers on ClickGems#253
lio-p wants to merge 2 commits into
ClickHouse:clickgemsfrom
lio-p:test-stateless-workers-clickgems

Conversation

@lio-p

@lio-p lio-p commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

Enables ClickHouse Cloud Stateless Workers for ClickGems query testing by adding the private-preview settings on the shared ClickHouse client:

  • make_distributed_plan = 1
  • distributed_plan_workers_num = 4

These apply to all server-side queries via src/utils/clickhouse.js. Existing parallel-replica settings are left unchanged.

Prerequisites

Per the preview docs:

  1. The ClickGems Cloud service must be enrolled via #proj-stateless-worker
  2. Service version must be 26.7.1.949 or higher
  3. Enabling Workers is inert until these settings are used (this PR turns them on for app queries)
  4. Unsupported query types currently error (no automatic local fallback yet)

Test plan

  • Confirm the ClickGems Cloud service is enrolled and on a supported version
  • Deploy / open the Vercel preview for this branch
  • Smoke-test landing page and a few dashboard package pages
  • In ClickHouse Cloud query log / system tables, confirm queries run with Stateless Workers (make_distributed_plan, worker count)
  • Watch for unsupported-query errors; note which ClickGems queries fail if any
  • Compare latency vs current clickgems production for a few heavy dashboard queries

Made with Cursor

Adds make_distributed_plan and distributed_plan_workers_num so ClickGems
queries can exercise ClickHouse Cloud Stateless Workers in private preview.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

@lio-p is attempting to deploy a commit to the ClickHouse Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
clickgems Error Error Aug 20, 2026 5:03pm
clickpy Error Error Aug 20, 2026 5:03pm

Request Review

Removes enable_parallel_replicas and related settings so ClickGems
queries exercise Stateless Workers without parallel-replica config.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant