Skip to content

feat: enable mediorum core writes#365

Open
raymondjacobson wants to merge 1 commit into
mainfrom
codex/core-mediorum-write-switch
Open

feat: enable mediorum core writes#365
raymondjacobson wants to merge 1 commit into
mainfrom
codex/core-mediorum-write-switch

Conversation

@raymondjacobson

Copy link
Copy Markdown
Contributor

Summary

  • switch OPENAUDIO_MEDIORUM_CORE_WRITES_ENABLED default from false to true
  • leave the legacy CRUDR peer transport active so older nodes still receive metadata writes during the rollout

Compatibility

  • Backward compatible: writes are dual-delivered because CRUDR remains active, so pre-PR1 nodes still receive ops through the old path.
  • Forward compatible: PR1+ nodes receive the same op ULIDs through Core and apply them idempotently if CRUDR already delivered them.

Verification

  • go test ./pkg/core/server -run 'Test(IsValidSignedTransaction|ValidateMediorumOperationShape)'
  • go test ./pkg/mediorum/crudr -run '^$'
  • go test -c ./pkg/mediorum/server -o /tmp/mediorum-server-pr2.test
  • git diff --check

@raymondjacobson raymondjacobson force-pushed the codex/core-mediorum-read-support branch 5 times, most recently from f218b89 to 287d89b Compare July 1, 2026 06:33
Base automatically changed from codex/core-mediorum-read-support to main July 1, 2026 07:08
@raymondjacobson raymondjacobson force-pushed the codex/core-mediorum-write-switch branch from 8392425 to ec123d9 Compare July 1, 2026 07:10
@raymondjacobson raymondjacobson marked this pull request as ready for review July 1, 2026 07:25
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