Skip to content

fix(bootstrap): reconcile collections on cached startup#1015

Open
bobbwal wants to merge 1 commit into
SonicJs-Org:mainfrom
bobbwal:codex/fix-bootstrap-collection-registration
Open

fix(bootstrap): reconcile collections on cached startup#1015
bobbwal wants to merge 1 commit into
SonicJs-Org:mainfrom
bobbwal:codex/fix-bootstrap-collection-registration

Conversation

@bobbwal

@bobbwal bobbwal commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Description

Reconciles code-defined collection document types when bootstrap is satisfied from the KV cache.

Fixes #1014

Changes

  • Register code-defined collection document types after hydrating the cached bootstrap state.
  • Restore document-backed operations, including slug availability checks, for collections added without a SonicJS version bump.

Testing

Unit Tests

  • Existing document-type registration tests pass.
  • npm test --workspace=packages/core -- document-types-seed.test.ts

E2E Tests

  • Not added; this is a bootstrap-path fix with no UI changes.

Screenshots/Videos

N/A

Checklist

  • Code follows project conventions
  • Tests passing
  • Type checking passes
  • No console errors or warnings
  • Documentation updated (not needed)

Generated with Claude Code in Conductor

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.

fix: reconcile code-defined collection types on cached bootstrap

1 participant