Skip to content

Commit 1efeded

Browse files
committed
fix: update engine version
1 parent 3b15429 commit 1efeded

File tree

5 files changed

+17
-13
lines changed

5 files changed

+17
-13
lines changed

router-tests/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ require (
2323
github.com/twmb/franz-go v1.16.1
2424
github.com/twmb/franz-go/pkg/kadm v1.11.0
2525
github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083
26-
github.com/wundergraph/cosmo/demo v0.0.0-20251029114720-2b84bc4e4e77
26+
github.com/wundergraph/cosmo/demo v0.0.0-20251030065139-3b15429990ef
2727
github.com/wundergraph/cosmo/demo/pkg/subgraphs/projects v0.0.0-20250715110703-10f2e5f9c79e
28-
github.com/wundergraph/cosmo/router v0.0.0-20251029114720-2b84bc4e4e77
28+
github.com/wundergraph/cosmo/router v0.0.0-20251030065139-3b15429990ef
2929
github.com/wundergraph/cosmo/router-plugin v0.0.0-20250808194725-de123ba1c65e
30-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235
30+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235.0.20251029232856-ec0d3188ead2
3131
go.opentelemetry.io/otel v1.36.0
3232
go.opentelemetry.io/otel/sdk v1.36.0
3333
go.opentelemetry.io/otel/sdk/metric v1.36.0

router-tests/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083 h1:8/D7f8gKxTB
354354
github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
355355
github.com/wundergraph/consul/sdk v0.0.0-20250204115147-ed842a8fd301 h1:EzfKHQoTjFDDcgaECCCR2aTePqMu9QBmPbyhqIYOhV0=
356356
github.com/wundergraph/consul/sdk v0.0.0-20250204115147-ed842a8fd301/go.mod h1:wxI0Nak5dI5RvJuzGyiEK4nZj0O9X+Aw6U0tC1wPKq0=
357-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235 h1:GiqY9zm5OR6SElIohw/rzfqejm3R1HjlSbMhbtZ4zWM=
358-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235/go.mod h1:ErOQH1ki2+SZB8JjpTyGVnoBpg5picIyjvuWQJP4abg=
357+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235.0.20251029232856-ec0d3188ead2 h1:ygQBfq1BORRAHE+9uhoNz3OYcVOJ2MLJphXcB2yBhkk=
358+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235.0.20251029232856-ec0d3188ead2/go.mod h1:ErOQH1ki2+SZB8JjpTyGVnoBpg5picIyjvuWQJP4abg=
359359
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 h1:FnBeRrxr7OU4VvAzt5X7s6266i6cSVkkFPS0TuXWbIg=
360360
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
361361
github.com/yosida95/uritemplate/v3 v3.0.2 h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4=

router/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ require (
3131
github.com/tidwall/gjson v1.18.0
3232
github.com/tidwall/sjson v1.2.5
3333
github.com/twmb/franz-go v1.16.1
34-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235
34+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235.0.20251029232856-ec0d3188ead2
3535
// Do not upgrade, it renames attributes we rely on
3636
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0
3737
go.opentelemetry.io/contrib/propagators/b3 v1.23.0

router/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ github.com/wk8/go-ordered-map/v2 v2.1.8 h1:5h/BUHu93oj4gIdvHHHGsScSTMijfx5PeYkE/
322322
github.com/wk8/go-ordered-map/v2 v2.1.8/go.mod h1:5nJHM5DyteebpVlHnWMV0rPz6Zp7+xBAnxjb1X5vnTw=
323323
github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083 h1:8/D7f8gKxTBjW+SZK4mhxTTBVpxcqeBgWF1Rfmltbfk=
324324
github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
325-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235 h1:GiqY9zm5OR6SElIohw/rzfqejm3R1HjlSbMhbtZ4zWM=
326-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235/go.mod h1:ErOQH1ki2+SZB8JjpTyGVnoBpg5picIyjvuWQJP4abg=
325+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235.0.20251029232856-ec0d3188ead2 h1:ygQBfq1BORRAHE+9uhoNz3OYcVOJ2MLJphXcB2yBhkk=
326+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.235.0.20251029232856-ec0d3188ead2/go.mod h1:ErOQH1ki2+SZB8JjpTyGVnoBpg5picIyjvuWQJP4abg=
327327
github.com/yosida95/uritemplate/v3 v3.0.2 h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4=
328328
github.com/yosida95/uritemplate/v3 v3.0.2/go.mod h1:ILOh0sOhIJR3+L/8afwt/kE++YT040gmv5BQTMR2HP4=
329329
github.com/yuin/gopher-lua v1.1.1 h1:kYKnWBjvbNP4XLT3+bPEwAXJx262OhaHDWDVOPjL46M=

router/internal/planningbenchmark/benchmark_test.go

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ type BenchmarkConfig struct {
1717
OperationPath string `json:"operationPath"`
1818
}
1919

20+
const configFileName = "benchmark_config.json"
21+
2022
func TestPlanning(t *testing.T) {
21-
cfgContent, err := os.ReadFile("benchmark_config.json")
23+
cfgContent, err := os.ReadFile(configFileName)
2224
if err != nil {
23-
t.Skipf("unable to read benchmark_config.json: %v", err)
25+
t.Skipf("unable to read %s: %v", configFileName, err)
2426
}
2527

2628
var cfg BenchmarkConfig
@@ -38,15 +40,17 @@ func TestPlanning(t *testing.T) {
3840
require.NoError(t, err)
3941

4042
start := time.Now()
41-
_, err = pl.PlanPreparedOperation(opDoc)
43+
p, err := pl.PlanPreparedOperation(opDoc)
4244
require.NoError(t, err)
4345
t.Logf("Planning completed in %v", time.Since(start))
46+
47+
t.Log(p.PrettyPrint())
4448
}
4549

4650
func BenchmarkPlanning(b *testing.B) {
47-
cfgContent, err := os.ReadFile("benchmark_config.json")
51+
cfgContent, err := os.ReadFile(configFileName)
4852
if err != nil {
49-
b.Skipf("unable to read benchmark_config.json: %v", err)
53+
b.Skipf("unable to read %s: %v", configFileName, err)
5054
}
5155

5256
var cfg BenchmarkConfig

0 commit comments

Comments
 (0)