Skip to content

fix: align wire keys with mosaicod 0.6.x servers - #2

Merged
facontidavide merged 3 commits into
developmentfrom
fix/mosaicod-0.6-compat
Sep 6, 2026
Merged

fix: align wire keys with mosaicod 0.6.x servers#2
facontidavide merged 3 commits into
developmentfrom
fix/mosaicod-0.6-compat

Conversation

@facontidavide

Copy link
Copy Markdown
Contributor

Aligns the client with mosaicod >= 0.6.0 (released 2026-08-07), verified against the v0.6.0 server marshaling sources (mosaicod-marshal/src/{query,flight}.rs, actions/{requests,responses}.rs):

  • Query filters send the renamed name identity key (mosaicod #565). The old locator key silently matches nothing against current servers — no error, empty results. QueryTopicBuilder/QuerySequenceBuilder::withName/withNameMatch now emit name; the streaming ticket's resource_locator is deliberately unchanged (only the query filter key was renamed).
  • Session metadata parses the new locator identity (mosaicod #584 dropped uuid from SessionAppMetadata). The parser prefers locator and still accepts uuid from older servers; SessionInfo::uuid is renamed to locator (the struct has no active consumers).

Everything else this client touches was verified unchanged in 0.6.0: resource_locator in FlightInfo descriptors/tickets, notification action names and locator payload key, the {"sequence"/"topic": {...}} query envelope, endpoint info.{total_bytes,timestamp} parsing, and the version action.

Validated downstream: pj-official-plugins builds toolbox_mosaico against this exact revision (fcbaa3a) with the revision-pinned active-pull-cancel patch applying cleanly; 26/26 plugin tests pass (pj-official-plugins PR #287).

⚠️ Merge with a merge commit or fast-forward — do not squash or rebase. The pj-official-plugins pin references commit fcbaa3a by SHA (CPM zip URL); a squash/rebase would orphan it and 404 the downstream build.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TTJvEsHX26rG4cHmqppvQg

GNERSIS and others added 3 commits June 26, 2026 09:32
The query filter identity key was renamed locator -> name server-side
(mosaicod #565); a stale "locator" key silently matches nothing against
current mosaicod. Emit "name" from QueryTopicBuilder/QuerySequenceBuilder
withName/withNameMatch. The streaming ticket descriptor still uses
resource_locator and is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
SessionAppMetadata identifies sessions by "locator" since mosaicod 0.6.0
(#584 dropped the uuid); older servers sent "uuid". Parse both, preferring
the current key, and rename SessionInfo::uuid to locator (the struct has no
active consumers).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TTJvEsHX26rG4cHmqppvQg
@facontidavide
facontidavide merged commit dee0586 into development Sep 6, 2026
@facontidavide
facontidavide deleted the fix/mosaicod-0.6-compat branch September 6, 2026 15:03
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.

2 participants