Skip to content

feat(repository): add D1-backed data management - #45

Merged
Cedarflake merged 4 commits into
mainfrom
codex/d1-data-repository
Jul 27, 2026
Merged

feat(repository): add D1-backed data management#45
Cedarflake merged 4 commits into
mainfrom
codex/d1-data-repository

Conversation

@Cedarflake

Copy link
Copy Markdown
Member

Summary

  • add a Cloudflare D1 data repository with atomic documents, migrations, immutable history, and shared PostgreSQL behavior tests
  • make WebUI rule tools follow the selected repository capabilities
  • add immediate Git-style revision previews with compact line numbers, loading feedback, and full JSON inspection
  • document D1 selection, bindings, migrations, and history behavior in English and Chinese

Validation

  • pnpm --filter @i0c/plugin-data-repository-d1 test
  • pnpm --filter @i0c/plugin-catalog test
  • pnpm --filter @i0c/plugin-testkit test
  • pnpm webui:test
  • pnpm webui:lint
  • pnpm webui:build

The repository-wide local check was stopped to avoid duplicating the configured remote CI workload on the maintainer's machine. This PR should merge only after all required GitHub checks pass.

IZCosmos added 4 commits July 28, 2026 03:03
- Implement atomic D1 documents, history, migrations, and contract tests
- Register D1 as a build-time WebUI repository option
- Keep PostgreSQL and D1 behavior aligned through the shared testkit
- Limit raw rules tools to repositories that advertise them
- Guard unsaved settings before opening data management
- Hide unrelated save actions on the data history screen
- Compare each revision with its predecessor using Git-style line changes
- Open previews immediately with cancellable skeleton-backed loading
- Add compact line numbers and a full JSON view
- Explain database repository selection and D1 binding requirements
- Document shared history, migration, and editor capability behavior
- Keep English and Chinese guidance aligned
@Cedarflake
Cedarflake merged commit f05bc9a into main Jul 27, 2026
4 checks passed
@Cedarflake
Cedarflake deleted the codex/d1-data-repository branch July 27, 2026 19:08
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