Skip to content

feat(world-local): migrate local entity storage to CBOR#1617

Draft
TooTallNate wants to merge 1 commit intomainfrom
feat/world-local-cbor-storage
Draft

feat(world-local): migrate local entity storage to CBOR#1617
TooTallNate wants to merge 1 commit intomainfrom
feat/world-local-cbor-storage

Conversation

@TooTallNate
Copy link
Copy Markdown
Member

Summary

  • migrate @workflow/world-local entity persistence from JSON/base64 payloads to CBOR-backed .cbor files
  • keep backward compatibility by reading legacy .json entities and migrating them in place on subsequent writes, including mixed-format listing/cleanup behavior
  • add cbor-x@1.6.4 to the pnpm workspace catalog and consume it via catalog: in world-local, world-postgres, world-vercel, and web

Testing

  • pnpm --filter @workflow/world-local typecheck
  • pnpm --filter @workflow/world-local build
  • pnpm --filter @workflow/world-local test (fails in this workspace with Cannot find package '@workflow/serde' imported from packages/errors/dist/index.js)

Keep reads backward compatible with legacy .json files and migrate them in place on writes. Also centralize cbor-x at the workspace catalog version across packages.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 6, 2026

🦋 Changeset detected

Latest commit: cbc4d8d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 20 packages
Name Type
@workflow/world-local Patch
@workflow/world-postgres Patch
@workflow/world-vercel Patch
@workflow/web Patch
@workflow/cli Patch
@workflow/core Patch
@workflow/vitest Patch
workflow Patch
@workflow/world-testing Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/web-shared Patch
@workflow/ai Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

🧪 E2E Test Results

All tests passed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 868 0 67 935
✅ 🪟 Windows 77 0 8 85
✅ 📋 Other 71 0 14 85
Total 1016 0 89 1105

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 78 0 7
✅ example 78 0 7
✅ express 78 0 7
✅ fastify 78 0 7
✅ hono 78 0 7
✅ nextjs-turbopack 83 0 2
✅ nextjs-webpack 83 0 2
✅ nitro 78 0 7
✅ nuxt 78 0 7
✅ sveltekit 78 0 7
✅ vite 78 0 7
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 77 0 8
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-prod-nest-stable 71 0 14

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: success
  • Local Dev: failure
  • Local Prod: failure
  • Local Postgres: failure
  • Windows: success

Check the workflow run for details.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 6, 2026

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Apr 6, 2026 7:26pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 6, 2026 7:26pm
example-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workbench-express-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 6, 2026 7:26pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 6, 2026 7:26pm
workflow-swc-playground Error Error Apr 6, 2026 7:26pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

No benchmark result files found in benchmark-results

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​cbor-x@​1.6.0 ⏵ 1.6.498 +1100100 +187 -1100

View full report

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