Skip to content

chore: prep for the next sync from pro - #849

Merged
surajair merged 2 commits into
mainfrom
chore/core-sync-prep
Nov 16, 2026
Merged

surajair merged 2 commits into
mainfrom
chore/core-sync-prep

Conversation

@surajair

Copy link
Copy Markdown
Collaborator

Unblocks the next pnpm sync:src --from=../pro. Pair PR in pro: chaibuilder/pro#477.

Changes

  • build: add /plugins/mcp/ to src-sync.exclude. Pro added it, and sync:src / sync:check refuse to run while the two manifests differ. With this change both files match byte for byte.
  • chore(deps): pin jotai back to 2.14.0, and make Dependabot ignore jotai major updates.

Why revert jotai 3 (#835)

jotai 3's useAtomValue subscribes in an effect and no longer re-reads the atom afterwards (v2 did). An atom set by an earlier effect is missed, so the reading component stays stale until something else re-renders it. In pro this drops realtime broadcasts: the sender atom stays null, and realtime-plugin.test.tsx fails every run on 3.0.0 and passes on 2.14.0. Shared src/ stays on 2.14.0 in both editions until that pattern has been audited.

The store-based test rewrite from #835 (use-block-selection-query-sync.test.tsx) is kept: it passes on 2.14.0 and is now also in pro.

Verification

  • use-block-selection-query-sync.test.tsx passes on jotai 2.14.0
  • Full suite: left to CI

🤖 Generated with Claude Code

surajair and others added 2 commits November 16, 2026 19:47
Matches chaibuilder/pro, which added the pro-only MCP plugin. sync:src refuses to run
while the two manifests differ.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jotai 3's useAtomValue no longer re-reads after subscribing, so an atom set by an
earlier effect is missed and the reader stays stale (realtime broadcasts were dropped in
chaibuilder/pro). Shared src/ stays on 2.14.0 in both editions until that is audited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added ci CI, workflows, and repo automation build Build tooling and packaging labels Nov 16, 2026
@surajair
surajair merged commit b37030b into main Nov 16, 2026
10 checks passed
@surajair
surajair deleted the chore/core-sync-prep branch November 16, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build tooling and packaging ci CI, workflows, and repo automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant