Skip to content

chore(deps): bump go-arena to v1.3.0 - #17

Merged
fiam merged 2 commits into
masterfrom
alberto/router-960-astjson-bump-go-arena-to-v130
Nov 27, 2026
Merged

fiam merged 2 commits into
masterfrom
alberto/router-960-astjson-bump-go-arena-to-v130

Conversation

@fiam

@fiam fiam commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What

Bumps github.com/wundergraph/go-arena from the pseudo-version v0.0.0-20251008210416-55cb97e6f68f to v1.3.0, the latest release. Only go.mod and go.sum change.

Why

We want this package's tests and benchmarks to run against the go-arena version that is actually used: the router and graphql-go-tools both require v1.3.0.

  • Consumers are unaffected. Go selects the highest required version of a module, so anything that depends on graphql-go-tools already builds astjson with go-arena v1.3.0, whatever this go.mod says.
  • The tests here ran against a different arena. The package tests, including the arena GC-safety tests, exercised an implementation that none of those consumers ship with.
  • The arena benchmarks here were not representative. The pinned version zeroes memory on every allocation, scans its buffers from the first one on each allocation and recomputes its total length on every call. v1.3.0 zeroes once on reset and keeps a forward-only cursor. Numbers measured in this repository therefore included overhead that does not exist in the router, which also dilutes any improvement measured here.

Verification

  • go vet ./... and go test ./... pass with v1.3.0.
  • v1.3.0 requires Go 1.25, the same as this module, so the go directive does not change.

Existing arena benchmarks, pinned version against v1.3.0 (Apple M5 Pro, -count=8):

Benchmark Pinned v1.3.0 Change
ParseArena 761.1µs 719.3µs -5.5%
ParseArenaAndGet 761.3µs 702.7µs -7.7%

Parsing spends most of its time outside the allocator. Code that mostly builds values shows a larger gap: a local benchmark that builds 100 small objects on an arena, not part of this PR, went from 43.5µs to 27.1µs.

Tracked as ROUTER-960.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated an underlying component to a newer release. No user-facing changes are included in this update.

astjson pinned go-arena at an October 2025 pseudo-version, while the router
and graphql-go-tools require v1.3.0, the latest release. Go selects the
highest required version, so those consumers already build with v1.3.0 and
this changes nothing for them. It makes the package tests and benchmarks in
this repository run against the arena implementation that ships.
@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Files ignored due to path filters: 1

  • go.sum is excluded by !**/*.sum
Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: c82ef174-3962-4719-b08c-cd594805b3e4
Commits

Reviewing files that changed from the base of the PR and between 734934d and 734934d.

Files ignored due to path filters: 1

  • go.sum is excluded by !**/*.sum

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

No actionable comments were generated in the recent review.

Walkthrough

go.mod updates github.com/wundergraph/go-arena from a pseudo-version to v1.3.0.

Changes

Dependency Version Update

Layer / File(s) Summary
Update go-arena version
go.mod
The dependency version changes from a pseudo-version to v1.3.0.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: Minimal · previous review 945ab

This updates the go-arena dependency to release v1.3.0, aligning with the version the router and graphql-go-tools already require. No concrete merge risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore(deps): bump go-arena to v1.3.0" (36 characters) matches the main change: go.mod moves github.com/wundergraph/go-arena from a pseudo-version to v1.3.0. It is under the 50-character gui…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore(deps): bump go-arena to v1.3.0" (36 characters) matches the main change: go.mod moves github.com/wundergraph/go-arena from a pseudo-version to v1.3.0. It is under the 50-character guideline and contains no issue identifier. It does not mention the test and benchmark alignment purpose, but it describes the change accurately.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 7c5bc49f-f557-4526-be90-9776e128aa0f
Commits

Reviewing files that changed from the base of the PR and between 4ae4389 and 945ab63.

Files ignored due to path filters: 1

  • go.sum is excluded by !**/*.sum
Files selected for processing: 1

  • go.mod

Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@fiam
fiam marked this pull request as ready for review November 13, 2026 23:36
@fiam
fiam requested a review from jensneuse November 14, 2026 18:19
@fiam
fiam merged commit 9385555 into master Nov 27, 2026
12 checks passed
@fiam
fiam deleted the alberto/router-960-astjson-bump-go-arena-to-v130 branch November 27, 2026 09:44
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