Skip to content

chore(sync): pro@55058eb - #852

Merged
surajair merged 5 commits into
mainfrom
sync/pro-bab8bc4
Nov 16, 2026
Merged

surajair merged 5 commits into
mainfrom
sync/pro-bab8bc4

Conversation

@surajair

@surajair surajair commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Syncs src/ from chaibuilder/pro main (55058eb) into core. The previous sync was pro@103c78ca, so this carries about 1,200 pro commits.

Merge with a merge commit or rebase, not squash. Squashing drops the Sync-Source / Sync-Previous trailers that the next sync uses to work out what it carries.

Commits

  1. chore(sync): pro@919e841: the main sync (227 added, 386 updated, 28 deleted). The deletions are pro's old mock and integration test setup, which pro replaced with a real in-memory DB.
  2. build: align core's test setup, deps and edition with the synced src/: core-only files.
    • vitest.config.ts switches to the single-tier setup; vitest-setup.ts, vitest.config.integration.ts, the test:integration* scripts and the CI integration job are removed.
    • New src/edition/table-names.ts (EDITION_TABLE_NAMES = CORE_TABLE_NAMES), required by the edition contract.
    • Deps: virtual-react-json-diff; @modelcontextprotocol/sdk and pg as optional peers plus dev deps (core ships the shared MCP handler and Postgres adapters).
  3. chore(sync): pro@bab8bc4: brings in chaibuilder/pro#478 (shared tests gated on which plugin tables exist) and chaibuilder/pro#479 (plugin-table reads and writes moved out of shared code into the revisions and tenancy plugins).
  4. ci: skip the Format check on sync/* pull requests: a sync touches hundreds of files at once and would surface the whole pre-Prettier backlog. Sync PRs add nothing of their own here, and their content already passed the same check in pro.
  5. chore(sync): pro@55058eb: brings in chaibuilder/pro#480 (publish updates the online page row in place, so columns a host app added to that table survive).

Review the sync commits as "core now equals pro"; the code was reviewed in pro. Review commit 2 line by line.

Verification (local)

  • pnpm lint, pnpm typecheck: clean
  • pnpm test: 3193 passed, 5 skipped, 0 failed
  • pnpm build: OK
  • pnpm sync:check --sibling=../pro: ✓ 1382 shared files identical, root files match

🤖 Generated with Claude Code

surajair and others added 4 commits November 16, 2026 20:54
Sync src/ from chaibuilder/pro (main) into chaibuilder/core.

Source commits since last sync (.sync-ref was pro@103c78c):
  f666d8083 docs(drizzle): write <pkg> instead of the package name in shared comments
  8acb7741f test(builder): port core's store-based block selection query sync test
  c1b442e6f test: fix ChaiPageCSS context and subtree-guard timeout
  d065cfb0d Merge remote-tracking branch 'origin/develop' into develop
  1bee04321 Merge pull request #680 from Back-At-You-Inc/jayant/site-content-width-token
  c9883d230 test(builder): spy on the real canvas iframe in canvas-area wheel tests
  dcb7c150e Potential fix for pull request finding 'Restore responsive content gutter at sm and…
  db4b96813 Merge branch 'develop' of https://github.com/Back-At-You-Inc/websites into jayant/s…
  c898fd6cd Merge branch 'claude/plugin-import-violations-4ae8ba' into develop
  a12c8fc16 fix: failing test cases due to change from Partial to Global block
  cc782592a fix(plugins): import core components via public barrels
  c9e35c030 fix: broken tests
  28c4b10ec Merge git@github.com:chaibuilder/pro.git main (8025c7515) into chai
  8488ad3ec Merge pull request #711 from Back-At-You-Inc/claude/appliedbrand-plugin-extraction-…
  8f5494e2c Merge pull request #730 from Back-At-You-Inc/krishna/listing-disclaimer
  d1fd3e1f2 feat: add builder component and core structure validation rules
  ec4c28182 fix(outline): hide Create Global Block for slot rows
  cceeb39c9 feat: add blocks store manager and structure validation hooks
  705f6e7af Merge branch 'develop' into claude/appliedbrand-plugin-extraction-b44e33
  e216063e1 feat(builder): add ids to Add Page and Create partial buttons
  b73b9a749 Merge remote-tracking branch 'origin/develop' into claude/appliedbrand-plugin-extra…
  f67bbbd56 Merge remote-tracking branch 'origin/develop' into claude/appliedbrand-plugin-extra…
  518c2780a Merge branch 'develop' of personal:Back-At-You-Inc/websites into amit/hero-slot-are…
  40d61f8f8 feat(chai): show slots to users as "Area"
  a071a5fab feat(chai): show slot rows in the outline in the slot icon's blue
  074f9418e feat(chai): hide a partial placement's settings and styles when partialBlocks is off
  829ba8c86 refactor(chai): read the whole site row in the editor settings read, drop host bran…
  faf2e6e95 docs(chai): describe everything the partialBlocks flag hides
  eebae5929 feat(chai): hide the Global Blocks tab and search results behind partialBlocks
  8c7d8326f refactor(chai): rename createPartialBlocks flag to partialBlocks
  (+1168 more)
Files: 386 updated, 227 added, 28 deleted, 3 root file(s) copied
  + src/builder/core/components/canvas/canvas-area.test.tsx
  + src/builder/core/components/canvas/static/generate-class-names.test.ts
  + src/builder/core/components/canvas/static/get-block-runtime-props.test.ts
  + src/builder/core/components/canvas/static/reveal-in-nested-scrollers.test.ts
  + src/builder/core/components/canvas/static/reveal-in-nested-scrollers.ts
  + src/builder/core/components/canvas/tailwind-plugins.generated.ts
  + src/builder/core/components/settings/get-block-heading.ts
  + src/builder/core/components/settings/partial-usage-list.tsx
  + src/builder/core/components/sidepanels/panels/add-blocks/libraries-panel.test.ts
  + src/builder/core/components/sidepanels/panels/add-blocks/libraries-panel.test.tsx
  + src/builder/core/components/sidepanels/panels/global-styles/global-styles-panel.test.tsx
  + src/builder/core/components/sidepanels/panels/global-styles/global-styles-panel.tsx
  + src/builder/core/components/sidepanels/panels/theme-configuration/border-radius-input.test.…
  + src/builder/core/components/sidepanels/panels/theme-configuration/read-only-controls.test.t…
  + src/builder/core/components/sidepanels/panels/theme-configuration/read-only-controls.tsx
  + src/builder/core/design-tokens/design-token-preview.test.tsx
  + src/builder/core/design-tokens/design-token-usage-filter.test.tsx
  + src/builder/core/design-tokens/design-token-usage-tabs.test.tsx
  + src/builder/core/design-tokens/design-token-usage.test.ts
  + src/builder/core/design-tokens/design-tokens-panel.tsx
  + src/builder/core/design-tokens/token-list-used-on-page.test.tsx
  + src/builder/core/functions/block-helpers.test.ts
  + src/builder/core/rjsf-widgets/description-field-template.tsx
  + src/builder/core/rjsf-widgets/field-help-template.tsx
  + src/builder/core/rjsf-widgets/grouped-object-field-template.test.tsx
  + src/builder/core/rjsf-widgets/grouped-object-field-template.tsx
  + src/builder/core/rjsf-widgets/json-form-field-template.test.tsx
  + src/builder/core/rjsf-widgets/rte-widget/rte-link-form.dom.test.tsx
  + src/builder/core/rjsf-widgets/rte-widget/rte-link-form.tsx
  + src/builder/core/rjsf-widgets/variant-select.tsx
  + src/builder/hooks/__tests__/block-action-rules.fixtures.ts
  + src/builder/hooks/__tests__/use-blocks-html-for-ai-style.test.ts
  + src/builder/hooks/__tests__/use-cut-blockIds.test.ts
  + src/builder/hooks/__tests__/use-duplicate-blocks.test.ts
  + src/builder/hooks/__tests__/use-get-page-data.test.ts
  + src/builder/hooks/__tests__/use-remove-blocks.test.ts
  + src/builder/hooks/__tests__/use-watch-page-blocks.test.tsx
  + src/builder/hooks/use-create-partial-label.test.ts
  + src/builder/hooks/use-feature-label.test.ts
  + src/builder/hooks/use-i18n-blocks.test.ts
  (+604 more, see the diff)

Sync-Direction: pro->core
Sync-Source: chaibuilder/pro@919e841
Sync-Previous: chaibuilder/pro@103c78c
Sync-Manifest: sha256:d2ef8c77668626238a8e09be184b8c123284187ec13f83ecb87869115d3fb79d
- vitest.config.ts: one tier on the real in-memory DB (global-setup + setup files from src/)
- drop vitest-setup.ts, vitest.config.integration.ts, test:integration* and the CI job
- src/edition/table-names.ts: EDITION_TABLE_NAMES = CORE_TABLE_NAMES (new edition contract)
- deps: virtual-react-json-diff; @modelcontextprotocol/sdk and pg as optional peers + dev

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sync src/ from chaibuilder/pro (main) into chaibuilder/core.

Source commits since last sync (.sync-ref was pro@919e841):
  ee98080bc refactor(server): move plugin-table reads and writes out of shared code
  8ae083e29 test: gate shared tests on plugin tables the edition's test schema declares
Files: 20 updated, 2 added, 10 deleted, 2 root file(s) copied
  + src/server/plugin-api/page-version-sources.ts
  + src/server/plugin-api/site-domains.ts
  ~ src/db/schema-shape.ts
  ~ src/nextjs/server.ts
  ~ src/server/build-config.ts
  ~ src/server/chai-actions/pages/delete-page.ts
  ~ src/server/chai-actions/pages/get-compare-data.test.ts
  ~ src/server/chai-actions/pages/get-compare-data.ts
  ~ src/server/chai-actions/pages/update-page.ts
  ~ src/server/chai-actions/website/publish-changes.ts
  ~ src/server/chai-actions/website/update-design-tokens.test.ts
  ~ src/server/chai-actions/website/update-design-tokens.ts
  ~ src/server/chai-actions/website/update-theme.test.ts
  ~ src/server/chai-actions/website/update-theme.ts
  ~ src/server/chai-actions/website/update-website-fields.ts
  ~ src/server/chai-builder/public/get-page.test.ts
  ~ src/server/chai-builder/public/get-site-domains.ts
  ~ src/server/chai-builder/public/resolve-app-id-by-hostname.test.ts
  ~ src/server/chai-builder/public/resolve-app-id-by-hostname.ts
  ~ src/server/plugin-api/action-hooks.ts
  ~ src/server/plugin-api/index.ts
  ~ src/tests/setup/fakers.ts
  - src/drizzle/seed/create-app.ts
  - src/drizzle/seed/index.ts
  - src/drizzle/seed/initial-app.ts
  - src/drizzle/seed/subdomain.ts
  - src/server/chai-actions/pages/update-page-revisions.test.ts
  - src/server/chai-actions/revisions/prune-revisions.test.ts
  - src/server/chai-actions/revisions/prune-revisions.ts
  - src/server/chai-actions/revisions/revision-metadata.ts
  - src/server/chai-actions/revisions/theme-revisions.test.ts
  - src/server/chai-actions/revisions/theme-revisions.ts
  ~ scripts/package-entries.mjs
  ~ scripts/host-paths.mjs

Sync-Direction: pro->core
Sync-Source: chaibuilder/pro@bab8bc4
Sync-Previous: chaibuilder/pro@919e841
Sync-Manifest: sha256:d2ef8c77668626238a8e09be184b8c123284187ec13f83ecb87869115d3fb79d
A pro->core sync touches hundreds of files at once, so the changed-files Prettier check surfaces
the whole pre-Prettier backlog. Sync PRs author nothing here; their content passed the same
check in chaibuilder/pro where it was written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@surajair
surajair enabled auto-merge November 16, 2026 16:26
Sync src/ from chaibuilder/pro (main) into chaibuilder/core.

Source commits since last sync (.sync-ref was pro@bab8bc4):
  7157164c5 Merge remote-tracking branch 'origin/main' into claude/host-app-columns-compat-6e4c…
  4852bb37d fix(publish): update the online page row in place so host columns survive
Files: 3 updated, 1 added, 0 deleted
  + src/tests/utils/host-columns.ts
  ~ src/server/chai-actions/website/publish-changes.test.ts
  ~ src/server/chai-actions/website/publish-changes.ts
  ~ src/tests/README.md

Sync-Direction: pro->core
Sync-Source: chaibuilder/pro@55058eb
Sync-Previous: chaibuilder/pro@bab8bc4
Sync-Manifest: sha256:d2ef8c77668626238a8e09be184b8c123284187ec13f83ecb87869115d3fb79d
@surajair surajair changed the title chore(sync): pro@bab8bc4 chore(sync): pro@55058eb Nov 16, 2026
@surajair
surajair disabled auto-merge November 16, 2026 17:15
@surajair
surajair merged commit 192b4d3 into main Nov 16, 2026
7 checks passed
@surajair
surajair deleted the sync/pro-bab8bc4 branch November 16, 2026 17:17
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