8000 docs: keep M3 data in DDRCardDraw, fold the data Worker in by noahm · Pull Request #680 · noahm/DDRCardDraw · GitHub
[go: up one dir, main page]

Skip to content

docs: keep M3 data in DDRCardDraw, fold the data Worker in - #680

Merged
noahm merged 1 commit into
partykitfrom
m3-data-stays-home
Oct 26, 2026
Merged

noahm merged 1 commit into
partykitfrom
m3-data-stays-home

Conversation

@noahm
@noahm noahm commented Oct 26, 2026
Copy link
Copy Markdown
Owner

Revises the M3 rollout in docs/data-ddr-tools-plan.md.

The data never leaves DDRCardDraw. The old step 7 (git filter-repo the catalogs, jackets, import scripts and schema into rgt-data) is gone. Deploy-independent stock updates come from the CDN publish job + index.json manifest, not from which repo holds the source files, and the move would have cost a contributor freeze, history surgery, and a cross-repo dependency for SongData.ts and the schema.

New step 4: fold the rgt-data Worker into DDRCardDraw on partykit, beside the party Worker from #677:

  • Separate Worker with its own wrangler config, deployed independently of live room sync
  • Keeps the name rgc-data and its R2/D1 bindings and route, so it's a redeploy, not a reprovision
  • /schema/v2.json is served from the repo's songs.schema.json, so there's one copy of the schema instead of three; the Worker reuses the app's types and findConsistencyErrors
  • /schema/*.json URLs stay stable and CORS-open, since Upload a premade game data JSON file as custom data #678 fetches declared schemas at runtime

The publish job (step 5) is a GitHub Actions workflow on DDRCardDraw main, with no cross-repo checkout. Steps 6–7 are unchanged apart from renumbering.

Also catches the doc up with recent partykit changes:

🤖 Generated with Claude Code

Drop the M3 cutover that would have moved catalogs, jackets, import
scripts and the schema into rgt-data. Stock updates become
deploy-independent through the CDN publish job and manifest, not a repo
split. Instead, rgt-data's Worker moves onto partykit beside the party
Worker (new step 4), keeping its name and bindings, and the hosted
schema is served from the repo's songs.schema.json.

Also catch the plan up with recent partykit changes: room persistence
is Durable Object storage + R2 snapshots (not Supabase event_state),
custom data can be a premade JSON upload validated against its declared
hosted schema, and rgt-data#5 is live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel
vercel Bot commented Oct 26, 2026
Copy link
Copy Markdown

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

Project Deployment Actions Updated
ddr-tools Building Building Preview Oct 26, 2026 2:36pm UTC

@noahm
noahm merged commit fd95a0e into partykit Oct 26, 2026
6 of 7 checks passed
@noahm
noahm deleted the m3-data-stays-home branch October 26, 2026 14:38

This branch was successfully deployed

1 active deployment
Preview — a0ae27f6 Deployed Oct 26, 2026 by vercel[bot]
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

0