Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
e631c5e
New Query Planner
ardatan Feb 5, 2025
4789aea
Leave batching and AST parsing
ardatan Feb 6, 2025
32aead1
Subscriptions
ardatan Feb 6, 2025
a9e0829
Deps
ardatan Feb 6, 2025
f3ed4d1
More fixes
ardatan Feb 7, 2025
0bfa74d
Lets go
ardatan Feb 7, 2025
35f65cc
Benchmark
ardatan Feb 7, 2025
fa82595
nojit in bench
enisdenjo Jul 28, 2025
2e81ef6
no fork
enisdenjo Jul 28, 2025
a58ffc7
typefix
enisdenjo Jul 30, 2025
6f78dea
quick and dirty impl of hive query planner
enisdenjo Oct 14, 2025
54a378b
explain things
enisdenjo Oct 14, 2025
1d10753
async / no async qp and no cache
enisdenjo Oct 14, 2025
c346577
push bench
enisdenjo Oct 14, 2025
111c0da
op doc node is available in hive qp now too
enisdenjo Oct 17, 2025
0542b83
start inspect
enisdenjo Oct 17, 2025
3eeb24b
only async
enisdenjo Oct 17, 2025
c4e4dfe
introduce fastify deepmerge
enisdenjo Oct 17, 2025
6420a75
add a lot of tests
enisdenjo Oct 17, 2025
a6101f4
WIP debugging
enisdenjo Oct 17, 2025
b434b68
no toolsmerge
enisdenjo Oct 20, 2025
f620653
todo
enisdenjo Oct 20, 2025
ae336f4
merge deep fast but typebroken
enisdenjo Oct 20, 2025
cc01876
unnecessary
enisdenjo Oct 21, 2025
3db2fc7
hive executor in fusion-runtime (we'll figure out where to place it l…
enisdenjo Oct 21, 2025
29cff90
subgraphs get
enisdenjo Oct 21, 2025
562bcc8
remove unused
enisdenjo Oct 21, 2025
6edbab1
fix benchmarks
enisdenjo Oct 21, 2025
5c69764
re-enable schemexts
enisdenjo Oct 21, 2025
befecc2
missing devdep for nestjs tests
enisdenjo Oct 21, 2025
b4588d7
hive router query planner on/off and warn
enisdenjo Oct 21, 2025
d7295df
put in env to use everywher
enisdenjo Oct 21, 2025
3a23067
object containing and skip some tests
enisdenjo Oct 21, 2025
37e1ae9
pass upstream timeout
enisdenjo Oct 21, 2025
87da788
silence in fed compat
enisdenjo Oct 21, 2025
3b4cb02
memoized plan simpler
enisdenjo Oct 21, 2025
a48c8d8
consumer schema
enisdenjo Oct 24, 2025
75c81cd
use consumer schema for validation
enisdenjo Oct 24, 2025
4a924f0
omit innaccessible enums when projecting
enisdenjo Oct 24, 2025
ef58aeb
omit inaccessible types
enisdenjo Oct 24, 2025
d2b78f7
some paths are null
enisdenjo Oct 24, 2025
a446dbe
handle inline fragments when projecting
enisdenjo Oct 24, 2025
2016261
normalize fetch rewrite inspired by router
enisdenjo Oct 24, 2025
a5260ab
honour alias and response key fields when extracting reps
enisdenjo Oct 24, 2025
46daa5a
rework flatten and respect complete path
enisdenjo Oct 24, 2025
953d2ea
enable and run all audit fed audits
enisdenjo Oct 24, 2025
d61d7ff
bump typefixed things
enisdenjo Oct 24, 2025
0bef390
normalize segments
enisdenjo Oct 24, 2025
013d932
match better query plan
enisdenjo Oct 24, 2025
71103aa
no masked errors when audit
enisdenjo Oct 26, 2025
b339ab0
unnecessary any and some checks
enisdenjo Oct 26, 2025
736a362
no inspect better always
enisdenjo Oct 26, 2025
bd12379
refactor and optimize executor and handler, more perf
enisdenjo Oct 26, 2025
3bc01ae
promise helpers
enisdenjo Oct 26, 2025
022bfe8
published router
enisdenjo Oct 26, 2025
2d6ed29
changeset
enisdenjo Oct 26, 2025
977e817
on fusion runtime
enisdenjo Oct 26, 2025
42d289a
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Oct 26, 2025
80872c1
better changeset
enisdenjo Oct 26, 2025
f4a9b2a
mesh fusion runtime
enisdenjo Oct 26, 2025
06077ab
unit test hive router query planner
enisdenjo Oct 26, 2025
336cdf7
execution request with subgraph name
enisdenjo Oct 27, 2025
65a8fc4
fix some tests
enisdenjo Oct 27, 2025
fa51db1
propgagte
enisdenjo Oct 27, 2025
29ec66f
build and remove introspection fields
enisdenjo Oct 27, 2025
cd0986f
more fixes
enisdenjo Oct 27, 2025
85090a0
introspection
enisdenjo Oct 27, 2025
e36d44c
skip unnecessary
enisdenjo Oct 27, 2025
dcbb642
only Query.__typename is also intropseipcting
enisdenjo Oct 27, 2025
27efc78
fix otel too
enisdenjo Oct 27, 2025
da9fdf7
filter internal types and fields
enisdenjo Oct 28, 2025
50b5fca
test experimental qp in same job
enisdenjo Oct 28, 2025
21d4b66
expect hive router qp results in demand control
enisdenjo Oct 28, 2025
c4ffc41
format and stuff
enisdenjo Oct 29, 2025
5293bb1
fix test sfor stitching
enisdenjo Oct 29, 2025
b96ee23
must return nothing
enisdenjo Oct 29, 2025
a411748
Merge branch 'main' into new-query-planner
enisdenjo Oct 31, 2025
1b1665d
router runtime
enisdenjo Oct 31, 2025
f9e8bd2
export things
enisdenjo Nov 3, 2025
ed6c95b
hive router runtime
enisdenjo Nov 3, 2025
d932856
import
enisdenjo Nov 3, 2025
e0ef2c0
make sure it changedd
enisdenjo Nov 3, 2025
02d39ce
Merge branch 'main' into new-query-planner
enisdenjo Nov 3, 2025
82ed067
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 3, 2025
7131f08
no dupe
enisdenjo Nov 3, 2025
f38858d
cache is not needed huh
enisdenjo Nov 3, 2025
82fed58
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 3, 2025
aafaa4d
unused
enisdenjo Nov 3, 2025
99ac3e8
dedupe nest stuff
enisdenjo Nov 3, 2025
e81f121
Merge branch 'main' into new-query-planner
enisdenjo Nov 3, 2025
c037bc9
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 3, 2025
b24d6d9
skip bun for now idk
enisdenjo Nov 3, 2025
4f6fbef
clarify
enisdenjo Nov 3, 2025
9bcdf63
skip progressive
enisdenjo Nov 3, 2025
419610a
no leak tests either cheers
enisdenjo Nov 3, 2025
8f8db7b
Improvements
ardatan Nov 5, 2025
1f00dd3
More
ardatan Nov 5, 2025
063eba7
Fixes
ardatan Nov 5, 2025
6b7f90b
Merge branch 'main' into new-query-planner
ardatan Nov 5, 2025
7470725
Format
ardatan Nov 5, 2025
6216eac
Fix introspection
ardatan Nov 5, 2025
615c0d3
memoize
ardatan Nov 5, 2025
a347bd9
use query planner
enisdenjo Nov 5, 2025
41eeced
prepare
enisdenjo Nov 5, 2025
93a97b6
ok build better
enisdenjo Nov 5, 2025
20b2bc1
better build tm
enisdenjo Nov 5, 2025
d291a83
tests should run now
enisdenjo Nov 5, 2025
9498ad1
Merge branch 'main' into new-query-planner
enisdenjo Nov 5, 2025
6e298e0
bun install
enisdenjo Nov 5, 2025
107e837
memtest hive router runtime with fed ex
enisdenjo Nov 5, 2025
7d76dc4
Avoid Map to prevent leaks
ardatan Nov 5, 2025
63f789d
More
ardatan Nov 5, 2025
9238614
More
ardatan Nov 5, 2025
3b227be
More
ardatan Nov 5, 2025
feff2d9
Yarn lock
ardatan Nov 5, 2025
0ad6c21
Dedupe
ardatan Nov 5, 2025
43447ab
pass unit tests
enisdenjo Nov 5, 2025
012825c
dynamic load stuff
enisdenjo Nov 5, 2025
20923fc
try require
enisdenjo Nov 5, 2025
12c2a5c
bundle without require
enisdenjo Nov 5, 2025
14a440f
no new line for build
enisdenjo Nov 5, 2025
c5245d0
Revert "try require"
enisdenjo Nov 5, 2025
1be4c14
just use hive router runtime dynamic import
enisdenjo Nov 5, 2025
f99bff1
lockfile
enisdenjo Nov 5, 2025
0e91c84
fix bundle
enisdenjo Nov 5, 2025
3d36a56
disable leaktests
enisdenjo Nov 5, 2025
3477681
use correct memtests
enisdenjo Nov 5, 2025
73b9d87
loading module
enisdenjo Nov 5, 2025
e89aa6b
try latest
enisdenjo Nov 6, 2025
4999dd5
test leaks
enisdenjo Nov 6, 2025
8a49742
typecheck jest
enisdenjo Nov 6, 2025
e118fc0
import customgc
enisdenjo Nov 6, 2025
752cbc6
use actual stable
enisdenjo Nov 6, 2025
a233444
Fix delegation
ardatan Nov 6, 2025
8922a48
Ranged
ardatan Nov 6, 2025
fee8265
Fix format
ardatan Nov 6, 2025
f622941
Fix
ardatan Nov 6, 2025
7e76fe8
More
ardatan Nov 6, 2025
209afc1
More
ardatan Nov 6, 2025
fc6ec5b
Fix binary
ardatan Nov 6, 2025
b726d62
Better
ardatan Nov 6, 2025
41bf64f
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 6, 2025
bf50633
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 6, 2025
5a672a2
Merge branch 'main' into new-query-planner
ardatan Nov 6, 2025
fa692cc
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 6, 2025
e1d4e4d
docs(examples): converted from e2es
theguild-bot Nov 6, 2025
47d9b70
Maybe?
ardatan Nov 6, 2025
fc94ffd
Merge branch 'main' into new-query-planner
ardatan Nov 7, 2025
65fa154
Merge branch 'main' into new-query-planner
ardatan Nov 7, 2025
c7e73b5
docs(examples): converted from e2es
theguild-bot Nov 7, 2025
6149f66
Format
ardatan Nov 7, 2025
9b369a9
Merge branch 'main' into new-query-planner
ardatan Nov 7, 2025
c8da4e3
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 7, 2025
b45816d
Merge branch 'main' into new-query-planner
ardatan Nov 7, 2025
699a06b
Continue
ardatan Nov 7, 2025
99051a9
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 7, 2025
293287d
Merge branch 'main' into new-query-planner
ardatan Nov 7, 2025
ce7cd6d
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 7, 2025
e110e0c
Fix
ardatan Nov 7, 2025
1eda594
try
ardatan Nov 7, 2025
371c00a
..
ardatan Nov 7, 2025
3f85b7c
docs(examples): converted from e2es
theguild-bot Nov 7, 2025
726c671
..
ardatan Nov 7, 2025
3ef0c1d
..
ardatan Nov 7, 2025
a75a8d5
Merge branch 'main' into new-query-planner
ardatan Nov 7, 2025
e594168
docs(examples): converted from e2es
theguild-bot Nov 7, 2025
466136b
no experimental
enisdenjo Nov 10, 2025
188a2ee
simpler explain
enisdenjo Nov 10, 2025
b9c8587
docs(examples): converted from e2es
theguild-bot Nov 10, 2025
8ab9fee
version stuff
enisdenjo Nov 10, 2025
e257e67
e2e tests with router runtime
enisdenjo Nov 11, 2025
86a9c3a
explain and skip things
enisdenjo Nov 11, 2025
89760b9
skip cloduflare too
enisdenjo Nov 11, 2025
028398f
Merge branch 'main' into new-query-planner
enisdenjo Nov 11, 2025
37a9047
docs(examples): converted from e2es
theguild-bot Nov 11, 2025
c1a2f98
its hive
enisdenjo Nov 11, 2025
6f2d21b
correct check
enisdenjo Nov 11, 2025
ef84b90
env and explain
enisdenjo Nov 11, 2025
a8ec0cc
1 or 0 router runtime true false does not work for whatever reason
enisdenjo Nov 11, 2025
309f4d9
memo 2 and consider op
enisdenjo Nov 11, 2025
7c89378
0 and 1
enisdenjo Nov 11, 2025
da0e1cf
this.setOptionValueWithSource must be camelcase
enisdenjo Nov 11, 2025
69e2971
Merge branch 'main' into new-query-planner
enisdenjo Nov 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/lizard-chest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphql-hive/router-runtime': major
---

Hive Router Runtime for Hive Gateway

[Read more about it in the documentation.](https://the-guild.dev/graphql/hive/docs/gateway/other-features/router-runtime)
7 changes: 7 additions & 0 deletions .changeset/sharp-cars-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphql-mesh/fusion-runtime': minor
---

Support changing the unified graph handler

Allowing users to integrate other query planners, like the new [Hive Gateway Router Runtime](https://the-guild.dev/graphql/hive/docs/gateway/other-features/router-runtime).
34 changes: 22 additions & 12 deletions .github/workflows/memtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,27 @@ jobs:
strategy:
fail-fast: false
matrix:
test_name:
- auto-type-merging
- federation-example
- federation-mixed
- federation-subscriptions-passthrough
- opentelemetry
- programmatic-batching
- logger
test:
- name: auto-type-merging
hive-router-runtime: 0
- name: federation-example
hive-router-runtime: 0
- name: federation-example
hive-router-runtime: 1
- name: federation-mixed
hive-router-runtime: 0
- name: federation-subscriptions-passthrough
hive-router-runtime: 0
- name: opentelemetry
hive-router-runtime: 0
- name: programmatic-batching
hive-router-runtime: 0
- name: logger
hive-router-runtime: 0
e2e_runner:
- node
# - bun TODO: get memory snaps and heap sampling for bun. is it even necessary?
name: ${{matrix.e2e_runner}} / ${{matrix.test_name}}
name: ${{matrix.e2e_runner}} / ${{matrix.test.name}} ${{ matrix.test.hive-router-runtime && 'with hive router runtime' || '' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -59,13 +68,14 @@ jobs:
key: docker-images-${{ runner.os }}-${{ steps.hash-docker-images.outputs.result }}
- name: Test
env:
HIVE_ROUTER_RUNTIME: ${{matrix.test.hive-router-runtime}}
E2E_GATEWAY_RUNNER: ${{matrix.e2e_runner}}
run: yarn test:mem ${{matrix.test_name}}
run: yarn test:mem ${{matrix.test.name}}
- name: Upload heap snapshots
if: failure()
uses: actions/upload-artifact@v5
with:
name: ${{matrix.test_name}}-heap-snapshots
name: ${{matrix.test.name}}-heap-snapshots
path: |
e2e/${{matrix.test_name}}/*.heapsnapshot
e2e/${{matrix.test.name}}/*.heapsnapshot
packages/logger/tests/*.heapsnapshot
47 changes: 44 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ jobs:
uses: the-guild-org/shared-config/setup@v1
with:
node-version: ${{matrix.node-version}}
- name: Test
- name: Test with Stitching Runtime
run: yarn test
- name: Test with Router Runtime
env:
HIVE_ROUTER_RUNTIME: 1
run: yarn test

unit-bun:
Expand All @@ -46,12 +50,20 @@ jobs:
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
- name: Test
- name: Test with Stitching Runtime
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
with:
timeout_minutes: 10
max_attempts: 3
command: yarn test:bun
- name: Test with Router Runtime
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
env:
HIVE_ROUTER_RUNTIME: 1
with:
timeout_minutes: 10
max_attempts: 3
command: yarn test:bun

leaks:
strategy:
Expand All @@ -72,12 +84,20 @@ jobs:
uses: the-guild-org/shared-config/setup@v1
with:
node-version: ${{matrix.node-version}}
- name: Run Tests
- name: Test with Stitching Runtime
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
with:
timeout_minutes: 10
max_attempts: 3
command: yarn test:leaks
- name: Test with Router Runtime
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
env:
HIVE_ROUTER_RUNTIME: 1
with:
timeout_minutes: 10
max_attempts: 3
command: yarn test:leaks

e2e:
runs-on: ${{ matrix.setup.os }}
Expand All @@ -89,48 +109,68 @@ jobs:
- workflow-name: Node 20 on Ubuntu
os: ubuntu-latest
gateway-runner: node
hive-router-runtime: 0
node-version: 20
- workflow-name: Node 22 on Ubuntu
os: ubuntu-latest
gateway-runner: node
hive-router-runtime: 0
node-version: 22
- workflow-name: Node 24 on Ubuntu
os: ubuntu-latest
gateway-runner: node
hive-router-runtime: 0
node-version: 24
- workflow-name: Node 25 on Ubuntu
os: ubuntu-latest
gateway-runner: node
hive-router-runtime: 0
node-version: 25
- workflow-name: Node 25 on Ubuntu with Router Runtime
os: ubuntu-latest
gateway-runner: node
hive-router-runtime: 1
node-version: 25

# Node on Docker
- workflow-name: Node Docker on Ubuntu
os: ubuntu-latest
gateway-runner: docker
hive-router-runtime: 0

# Node Binary
- workflow-name: Node Binary on Ubuntu
os: ubuntu-latest
gateway-runner: bin
hive-router-runtime: 0
- workflow-name: Node Binary on Windows
os: windows-latest
gateway-runner: bin
hive-router-runtime: 0

# Should be the same with Linux
# - workflow-name: Node Binary on MacOS Arm64
# os: macos-14 # MacOS Arm64
# gateway-runner: bin
# hive-router-runtime: 0
# - workflow-name: Node Binary on MacOS x86_64
# os: macos-13 # MacOS x86_64
# gateway-runner: bin
# hive-router-runtime: 0

# Bun
- workflow-name: Bun on Ubuntu
os: ubuntu-latest
gateway-runner: bun
hive-router-runtime: 0
- workflow-name: Bun on Ubuntu with Router Runtime
os: ubuntu-latest
gateway-runner: bun
hive-router-runtime: 1
- workflow-name: Bun Docker on Ubuntu
os: ubuntu-latest
gateway-runner: bun-docker
hive-router-runtime: 0

name: E2E / ${{matrix.setup.workflow-name}}
steps:
Expand Down Expand Up @@ -208,6 +248,7 @@ jobs:
max_attempts: 3
command: yarn test:e2e
env:
HIVE_ROUTER_RUNTIME: ${{matrix.setup.hive-router-runtime}}
E2E_GATEWAY_RUNNER: ${{matrix.setup.gateway-runner}}
E2E_TEST_APOLLO_GRAPH_REF: ${{secrets.E2E_TEST_APOLLO_GRAPH_REF}}
E2E_TEST_APOLLO_KEY: ${{secrets.E2E_TEST_APOLLO_KEY}}
Expand Down
11 changes: 8 additions & 3 deletions e2e/aws-sigv4/aws-sigv4.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { createTenv } from '@internal/e2e';
import { usingHiveRouterRuntime } from '~internal/env';
import { describe, expect, it } from 'vitest';

const AWS_ACCESS_KEY_ID = 'AKIAIOSFODNN7EXAMPLE';
Expand Down Expand Up @@ -63,9 +64,13 @@ describe('AWS Sigv4', () => {
`,
});
expect(result).toEqual({
data: {
hello: null,
},
...(usingHiveRouterRuntime()
? {}
: {
data: {
hello: null,
},
}),
errors: [
{
message: 'Expected access key AKIAIOSFODNN7EXAMPLE, but got invalid',
Expand Down
20 changes: 14 additions & 6 deletions e2e/federation-example/federation-example.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,31 @@ import { fetch } from '@whatwg-node/fetch';
import { bench, describe, expect } from 'vitest';

describe('Gateway', async () => {
const { gateway, service } = createTenv(__dirname);
const { gateway, service: _service } = createTenv(__dirname);
const example = createExampleSetup(__dirname, 1000);

const supergraph = await example.supergraph();

const gateways: Record<string, Gateway | Service> = {
'Apollo Gateway': await service('apollo-gateway', {
// TODO: tests are failing for whatever reason
// 'Apollo Gateway': await service('apollo-gateway', {
// env: {
// SUPERGRAPH: supergraph,
// },
// }),
'Hive Gateway w/ Tools': await gateway({
supergraph,
env: {
SUPERGRAPH: supergraph,
FORK: 1,
NODE_ENV: 'production',
},
}),
'Hive Gateway': await gateway({
'Hive Gateway w/ Hive Router Query Planner': await gateway({
supergraph,
args: ['--jit'],
env: {
JIT: 'true',
FORK: 1,
NODE_ENV: 'production',
HIVE_ROUTER_RUNTIME: 1,
},
}),
};
Expand Down
13 changes: 1 addition & 12 deletions e2e/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,5 @@
"name": "@e2e/nestjs",
"version": "0.0.1",
"type": "module",
"private": true,
"dependencies": {
"@graphql-hive/nestjs": "workspace:^",
"@nestjs/common": "^11.1.8",
"@nestjs/core": "^11.1.8",
"@nestjs/graphql": "^13.2.0",
"@nestjs/platform-express": "^11.1.8",
"file-type": "^21.1.0",
"graphql": "^16.12.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1"
}
"private": true
}
10 changes: 5 additions & 5 deletions e2e/opentelemetry/opentelemetry.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os from 'os';
import { setTimeout } from 'timers/promises';
import { createExampleSetup, createTenv, type Container } from '@internal/e2e';
import { isCI } from '@internal/testing';
import { isCI, usingHiveRouterRuntime } from '@internal/testing';
import { crypto, fetch } from '@whatwg-node/fetch';
import { beforeAll, describe, expect, it } from 'vitest';

Expand Down Expand Up @@ -225,8 +225,8 @@ describe('OpenTelemetry', () => {
const expectedExecuteChildren = [
['subgraph.execute (accounts)', 2],
['subgraph.execute (products)', 2],
['subgraph.execute (inventory)', 1],
['subgraph.execute (reviews)', 2],
['subgraph.execute (inventory)', usingHiveRouterRuntime() ? 2 : 1],
['subgraph.execute (reviews)', usingHiveRouterRuntime() ? 1 : 2],
] as const;

for (const [operationName, count] of expectedExecuteChildren) {
Expand Down Expand Up @@ -338,8 +338,8 @@ describe('OpenTelemetry', () => {
const expectedExecuteChildren = [
['subgraph.execute (accounts)', 2],
['subgraph.execute (products)', 2],
['subgraph.execute (inventory)', 1],
['subgraph.execute (reviews)', 2],
['subgraph.execute (inventory)', usingHiveRouterRuntime() ? 2 : 1],
['subgraph.execute (reviews)', usingHiveRouterRuntime() ? 1 : 2],
] as const;

for (const [operationName, count] of expectedExecuteChildren) {
Expand Down
Binary file modified examples/apq-subgraphs/example.tar.gz
Binary file not shown.
Loading
Loading