44 workflow_dispatch : {}
55
66concurrency :
7- group : federation-${{ github.ref }}
7+ # we group by event name because we dont want to cancel workflow dispatch runs on pr commits
8+ group : federation-${{ github.ref }}-${{ github.event_name }}
89 cancel-in-progress : true
910
1011jobs :
2122 - apollo-gateway
2223 - apollo-router
2324 - hive-gateway
24- - hive-gateway-bun
25+ - hive-gateway-router-runtime
2526 - hive-router
2627 - cosmo
2728 - grafbase
3637 fork : 2
3738 memoryLimit : 6gb
3839 mode : constant
40+ waitForUrl : ${{ startsWith(matrix.directory, 'hive-gateway') && 'http://localhost:4000/healthcheck' || '' }}
3941
4042 constant-vus-over-time-report :
4143 needs : constant-vus-over-time
@@ -44,73 +46,73 @@ jobs:
4446 with :
4547 scenarioName : constant-vus-over-time
4648
47- constant-vus-subgraphs-delay :
48- needs :
49- - decide-runner
50- strategy :
51- fail-fast : false
52- matrix :
53- directory :
54- - apollo-gateway
55- - apollo-router
56- - hive-gateway
57- - hive-gateway-bun
58- - hive-router
59- - cosmo
60- - grafbase
61- uses : ./.github/workflows/benchmark.template.yaml
62- with :
63- gateway : ${{ matrix.directory }}
64- vu : 50
65- time : ${{ github.event_name == 'pull_request' && '30s' || '60s' }}
66- scenarioName : constant-vus-subgraphs-delay
67- runner : ${{ needs.decide-runner.outputs.runner }}
68- cpuLimit : 3
69- fork : 2
70- memoryLimit : 6gb
71- subgraphDelay : 50
72- mode : constant
73-
74- constant-vus-subgraphs-delay-report :
75- needs : constant-vus-subgraphs-delay
76- uses : ./.github/workflows/report.template.yaml
77- secrets : inherit
78- with :
79- scenarioName : constant-vus-subgraphs-delay
80-
81- constant-vus-subgraphs-delay-resources :
82- needs :
83- - decide-runner
84- strategy :
85- fail-fast : false
86- matrix :
87- directory :
88- - apollo-gateway
89- - apollo-router
90- - hive-gateway
91- - hive-gateway-bun
92- - hive-router
93- - cosmo
94- - grafbase
95- uses : ./.github/workflows/benchmark.template.yaml
96- with :
97- gateway : ${{ matrix.directory }}
98- vu : 50
99- time : ${{ github.event_name == 'pull_request' && '30s' || '60s' }}
100- scenarioName : constant-vus-subgraphs-delay-resources
101- runner : ${{ needs.decide-runner.outputs.runner }}
102- cpuLimit : 4
103- fork : 3
104- memoryLimit : 8gb
105- subgraphDelay : 50
106- mode : constant
107-
108- constant-vus-subgraphs-delay-resources-report :
109- needs : constant-vus-subgraphs-delay-resources
110- uses : ./.github/workflows/report.template.yaml
111- secrets : inherit
112- with :
113- scenarioName : constant-vus-subgraphs-delay-resources
49+ # TODO: do we need the delay scenarios?
50+ # constant-vus-subgraphs-delay :
51+ # needs:
52+ # - decide-runner
53+ # strategy:
54+ # fail-fast: false
55+ # matrix :
56+ # directory:
57+ # - apollo-gateway
58+ # - apollo-router
59+ # - hive-gateway
60+ # - hive-gateway- router-runtime
61+ # - hive-router
62+ # - cosmo
63+ # - grafbase
64+ # uses: ./.github/workflows/benchmark.template.yaml
65+ # with:
66+ # gateway: ${{ matrix.directory }}
67+ # vu: 50
68+ # time: ${{ github.event_name == 'pull_request' && '30s' || '60s' }}
69+ # scenarioName: constant-vus-subgraphs-delay
70+ # runner: ${{ needs.decide-runner.outputs.runner }}
71+ # cpuLimit: 3
72+ # fork: 2
73+ # memoryLimit: 6gb
74+ # subgraphDelay: 50
75+ # mode: constant
76+ # waitForUrl: ${{ startsWith(matrix.directory, 'hive-gateway') && 'http://localhost:4000/healthcheck' || '' }}
77+ # constant-vus-subgraphs-delay-report:
78+ # needs: constant-vus-subgraphs-delay
79+ # uses: ./.github/workflows/report.template.yaml
80+ # secrets: inherit
81+ # with:
82+ # scenarioName: constant-vus-subgraphs-delay
83+ # constant-vus-subgraphs-delay-resources:
84+ # needs:
85+ # - decide-runner
86+ # strategy:
87+ # fail-fast: false
88+ # matrix:
89+ # directory:
90+ # - apollo-gateway
91+ # - apollo-router
92+ # - hive-gateway
93+ # - hive-gateway-router-runtime
94+ # - hive-router
95+ # - cosmo
96+ # - grafbase
97+ # uses: ./.github/workflows/benchmark.template.yaml
98+ # with:
99+ # gateway: ${{ matrix.directory }}
100+ # vu: 50
101+ # time: ${{ github.event_name == 'pull_request' && '30s' || '60s' }}
102+ # scenarioName: constant-vus-subgraphs-delay-resources
103+ # runner: ${{ needs.decide-runner.outputs.runner }}
104+ # cpuLimit: 4
105+ # fork: 3
106+ # memoryLimit: 8gb
107+ # subgraphDelay: 50
108+ # mode: constant
109+ # waitForUrl: ${{ startsWith(matrix.directory, 'hive-gateway') && 'http://localhost:4000/healthcheck' || '' }}
110+ # constant-vus-subgraphs-delay-resources-report:
111+ # needs: constant-vus-subgraphs-delay-resources
112+ # uses: ./.github/workflows/report.template.yaml
113+ # secrets: inherit
114+ # with:
115+ # scenarioName: constant-vus-subgraphs-delay-resources
114116
115117 ramping-vus :
116118 needs :
@@ -122,7 +124,7 @@ jobs:
122124 - apollo-gateway
123125 - apollo-router
124126 - hive-gateway
125- - hive-gateway-bun
127+ - hive-gateway-router-runtime
126128 - hive-router
127129 - cosmo
128130 - grafbase
@@ -137,6 +139,7 @@ jobs:
137139 fork : 3
138140 memoryLimit : 8gb
139141 mode : stress
142+ waitForUrl : ${{ startsWith(matrix.directory, 'hive-gateway') && 'http://localhost:4000/healthcheck' || '' }}
140143
141144 ramping-vus-report :
142145 needs : ramping-vus
0 commit comments