Skip to content

chore: bump server-garage to v0.4.1 - #305

Merged
zer0stars merged 1 commit into
mainfrom
chore/server-garage-v0.4.1
Aug 5, 2026
Merged

chore: bump server-garage to v0.4.1#305
zer0stars merged 1 commit into
mainfrom
chore/server-garage-v0.4.1

Conversation

@zer0stars

Copy link
Copy Markdown
Member

Picks up server-garage v0.4.1 (DIMO-Network/server-garage#40): MCP tool arguments now decode as json.Number from raw wire bytes.

Fixes on the /mcp endpoint:

  • telemetry_query with Int GraphQL variables no longer fails with float64 is not an int (previously only inlined literals worked)
  • Int fields nested inside object args now work, e.g. telemetry_get_trip_segments / telemetry_get_daily_activity with config: {maxGapSeconds: ...}
  • Integer values above 2^53 (Uint64 scalars) no longer silently lose precision

Adds e2e TestMCPNumericArgs covering both payload shapes through the real app + ClickHouse; it fails on v0.4.0 and passes on v0.4.1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LmwEoviMaEuuhRkfmks8wa

Fixes MCP numeric argument decoding: telemetry_query Int variables
and Ints nested in object args (e.g. trip segment config) no longer
fail with "float64 is not an int". e2e TestMCPNumericArgs guards the
regression.
@zer0stars
zer0stars merged commit a056c50 into main Aug 5, 2026
4 checks passed
@zer0stars
zer0stars deleted the chore/server-garage-v0.4.1 branch August 5, 2026 01:47
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