Skip to content

refactor!: client GraphQL protocol version 2 → 1 - #164

Merged
patrickleet merged 5 commits into
tasks--graphql-qs-epicfrom
tasks--protocol-v1
Jul 27, 2026
Merged

refactor!: client GraphQL protocol version 2 → 1#164
patrickleet merged 5 commits into
tasks--graphql-qs-epicfrom
tasks--protocol-v1

Conversation

@patrickleet

Copy link
Copy Markdown
Collaborator

Summary

  • First public release should advertise protocol v1, not accidental internal v2.
  • Renamed wire constants, DistributedEnvelopeV2DistributedEnvelopeV1, compiler/artifact emit, JS client checks/types, fixtures, and docs.
  • Not changed: variableCodec.version (still 2), digest domain *.v1 tags, package/crate semver, OAuth paths, test payload strings like todos-v1.

Constants

  • Rust: DISTRIBUTED_CLIENT_PROTOCOL_VERSION = 1
  • JS: DISTRIBUTED_PROTOCOL_VERSION = 1
  • CLI compiler: PROTOCOL_VERSION = 1

Verification

  • cargo test --features graphql,sqlite --lib graphql:: (186 passed)
  • cargo test -p distributed_cli (full package green)
  • cargo test --features graphql,sqlite --test graphql_query_protocol (17 passed)
  • cd js && npm run quality (253 tests + pack:smoke + publint)

Base

Stacked on tasks--graphql-qs-epic (#127).

Never-released wire family; first public ship should be protocol v1, not v2.
Constants, envelopes, compiler emit, client checks, fixtures, and docs only.
Left unrelated versions alone (variableCodec v2, digest domain tags, package semver).
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 43242138-b6a2-49e2-b617-53165a951125

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tasks--protocol-v1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

All-features and distributed_cli integration asserted stale schema
fingerprints that include protocol_version in the hash input.
Normalize client manifest, variableCodec, command extension slots, and
protocol-manifest epoch to 1 so the first public release does not imply
prior public wire families. Refresh fingerprints, goldens, and fixtures.
Ignored distributed_cli integration test expected the pre-v1 schema
fingerprint; regenerate to match manifest/epoch/slot version renames.
all-features client_surface_parity asserted a pre-v1 schema hash for the
orders postgres role surface after wire version renames.
@patrickleet
patrickleet merged commit 847e419 into tasks--graphql-qs-epic Jul 27, 2026
20 checks passed
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