Repository navigation
feat: migrate to Data Plane Signaling v1.0 (wire model, router, storage) - #22
Merged
Merged
Conversation
Rewrite the wire model, SDK core, HTTP layer and storage for the Data Plane Signaling specification v1.0 (a0752cd, v1.0-RC4). No backwards compatibility. - messages: spec JSON casing (messageId, dataFlowId, ...), profile and claims replace callbackAddress and transferType, labels and metadata, per-signal messages with required messageId, DataFlowStatusMessage, DataFlowStatusResponseMessage and ErrorResponse - model: DSP DataAddress, DataFlowState serialized as the spec string enum, push/pull derived from the profile suffix, SuspendedBy, resume transition, COMPLETED is final - SDK: processors return DataFlowStatusMessage, Resume and Started, data address rules for push and pull, duplicate /start is a conflict, WithResumeProcessor and WithCompleteProcessor - HTTP: NewHandler mounts all 8 data plane routes under /v1 using net/http ServeMux patterns; chi is removed - storage: new Postgres columns (profile, claims, labels, metadata, control_plane_id, suspended_by), memory store deep copies - tests: JSON schema conformance tests against the published schemas, router and integration tests rewritten - examples updated to the new API Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jimmarino
self-requested a review
November 9, 2026 13:23
jimmarino
approved these changes
Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking change: brings the SDK to Data Plane Signaling v1.0 (spec
a0752cd, equal tov1.0-RC4). Phases 1 to 4 of the migration plan.messageId,dataFlowId, ...),profile/claims/labels/metadatareplacecallbackAddress/transferType, stringstateenum, DSP-shapedDataAddress, per-signal message types,DataFlowStatusMessage.dataAddressrules,/resumewith same-party enforcement, COMPLETED is final, 409 on a duplicate/start,WithResumeProcessorandWithCompleteProcessor.NewHandlermounts all 8 routes under/v1(stdlibServeMux), correctLocationheaders,/startedalways returns a status body,/statusreturnsDataFlowStatusResponseMessage.Out of scope here: control plane callbacks, registration, authorization (next PRs).
🤖 Generated with Claude Code