Skip to content

Commit a46badc

Browse files
authored
Merge branch 'feature/efm-recovery' into yurii/6960-recover-cli-unit-tests
2 parents 0eb82ce + 154a4cd commit a46badc

File tree

351 files changed

+10290
-5425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+10290
-5425
lines changed

.github/workflows/actions/test-monitor-process-results/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ runs:
4242
uses: 'google-github-actions/setup-gcloud@v2'
4343

4444
- name: Upload results to BigQuery (skipped tests)
45-
uses: nick-fields/retry@v2
45+
uses: nick-fields/retry@v3
4646
with:
4747
timeout_minutes: 1
4848
max_attempts: 3
4949
command: bq load --source_format=NEWLINE_DELIMITED_JSON $BIGQUERY_DATASET.$BIGQUERY_TABLE $SKIPPED_TESTS_FILE tools/test_monitor/schemas/skipped_tests_schema.json
5050
- name: Upload results to BigQuery (test run)
51-
uses: nick-fields/retry@v2
51+
uses: nick-fields/retry@v3
5252
with:
5353
timeout_minutes: 2
5454
max_attempts: 3

.github/workflows/builds.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ on:
4747
type: boolean
4848
description: 'Build private images'
4949
required: false
50+
env:
51+
GO_VERSION: "1.23"
5052

5153
jobs:
5254
# matrix_builder generates a matrix that includes the roles selected in the input
@@ -96,12 +98,12 @@ jobs:
9698

9799
steps:
98100
- name: Setup Go
99-
uses: actions/setup-go@v4
101+
uses: actions/setup-go@v5
100102
with:
101-
go-version: '1.19'
103+
go-version: ${{ env.GO_VERSION }}
102104

103105
- name: Checkout repo
104-
uses: actions/checkout@v2
106+
uses: actions/checkout@v4
105107
with:
106108
ref: ${{ inputs.tag }}
107109

.github/workflows/cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616

1717
env:
18-
GO_VERSION: "1.22"
18+
GO_VERSION: "1.23"
1919

2020
jobs:
2121
docker-push:
@@ -24,12 +24,12 @@ jobs:
2424
environment: Production Docker Registry
2525
steps:
2626
- name: Setup Go
27-
uses: actions/setup-go@v4
27+
uses: actions/setup-go@v5
2828
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
2929
with:
3030
go-version: ${{ env.GO_VERSION }}
3131
- name: Checkout repo
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v4
3333
with:
3434
ref: ${{ inputs.tag }}
3535
# Provide Google Service Account credentials to Github Action, allowing interaction with the Google Container Registry

.github/workflows/ci.yml

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
- master
2020

2121
env:
22-
GO_VERSION: "1.22"
22+
GO_VERSION: "1.23"
2323

2424
concurrency:
2525
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
@@ -35,9 +35,9 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Checkout repo
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3939
- name: Setup Go
40-
uses: actions/setup-go@v4
40+
uses: actions/setup-go@v5
4141
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
4242
with:
4343
go-version: ${{ env.GO_VERSION }}
@@ -46,21 +46,19 @@ jobs:
4646
run: go generate ./...
4747
working-directory: ${{ matrix.dir }}
4848
- name: Run golangci-lint
49-
uses: golangci/golangci-lint-action@v3
49+
uses: golangci/golangci-lint-action@v6
5050
with:
5151
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
5252
version: v1.63
5353
args: -v
5454
working-directory: ${{ matrix.dir }}
55-
# https://github.com/golangci/golangci-lint-action/issues/244
56-
skip-cache: true
5755

5856
tidy:
5957
name: Tidy
6058
runs-on: ubuntu-latest
6159
steps:
6260
- name: Checkout repo
63-
uses: actions/checkout@v3
61+
uses: actions/checkout@v4
6462

6563
- name: Setup private build environment
6664
if: ${{ vars.PRIVATE_BUILDS_SUPPORTED == 'true' }}
@@ -69,7 +67,7 @@ jobs:
6967
cadence_deploy_key: ${{ secrets.CADENCE_DEPLOY_KEY }}
7068

7169
- name: Setup Go
72-
uses: actions/setup-go@v4
70+
uses: actions/setup-go@v5
7371
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
7472
with:
7573
go-version: ${{ env.GO_VERSION }}
@@ -86,9 +84,9 @@ jobs:
8684
dynamic-matrix: ${{ steps.set-test-matrix.outputs.dynamicMatrix }}
8785
steps:
8886
- name: Checkout repo
89-
uses: actions/checkout@v3
87+
uses: actions/checkout@v4
9088
- name: Setup Go
91-
uses: actions/setup-go@v4
89+
uses: actions/setup-go@v5
9290
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
9391
with:
9492
go-version: ${{ env.GO_VERSION }}
@@ -104,9 +102,9 @@ jobs:
104102
dynamic-matrix: ${{ steps.set-test-matrix.outputs.dynamicMatrix }}
105103
steps:
106104
- name: Checkout repo
107-
uses: actions/checkout@v3
105+
uses: actions/checkout@v4
108106
- name: Setup Go
109-
uses: actions/setup-go@v4
107+
uses: actions/setup-go@v5
110108
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
111109
with:
112110
go-version: ${{ env.GO_VERSION }}
@@ -122,9 +120,9 @@ jobs:
122120
dynamic-matrix: ${{ steps.set-test-matrix.outputs.dynamicMatrix }}
123121
steps:
124122
- name: Checkout repo
125-
uses: actions/checkout@v3
123+
uses: actions/checkout@v4
126124
- name: Setup Go
127-
uses: actions/setup-go@v4
125+
uses: actions/setup-go@v5
128126
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
129127
with:
130128
go-version: ${{ env.GO_VERSION }}
@@ -144,7 +142,7 @@ jobs:
144142
runs-on: ${{ matrix.targets.runner }}
145143
steps:
146144
- name: Checkout repo
147-
uses: actions/checkout@v3
145+
uses: actions/checkout@v4
148146

149147
- name: Setup private build environment
150148
if: ${{ vars.PRIVATE_BUILDS_SUPPORTED == 'true' }}
@@ -153,15 +151,15 @@ jobs:
153151
cadence_deploy_key: ${{ secrets.CADENCE_DEPLOY_KEY }}
154152

155153
- name: Setup Go
156-
uses: actions/setup-go@v4
154+
uses: actions/setup-go@v5
157155
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
158156
with:
159157
go-version: ${{ env.GO_VERSION }}
160158
cache: true
161159
- name: Setup tests (${{ matrix.targets.name }})
162160
run: VERBOSE=1 make -e GO_TEST_PACKAGES="${{ matrix.targets.packages }}" install-tools
163161
- name: Run tests (${{ matrix.targets.name }})
164-
uses: nick-fields/retry@v2
162+
uses: nick-fields/retry@v3
165163
with:
166164
timeout_minutes: 35
167165
max_attempts: 5
@@ -170,7 +168,7 @@ jobs:
170168
#env:
171169
# RACE_DETECTOR: 1
172170
- name: Upload coverage report
173-
uses: codecov/codecov-action@v4
171+
uses: codecov/codecov-action@v5
174172
timeout-minutes: 1
175173
continue-on-error: true
176174
with:
@@ -190,7 +188,7 @@ jobs:
190188
runs-on: ${{ matrix.targets.runner }}
191189
steps:
192190
- name: Checkout repo
193-
uses: actions/checkout@v3
191+
uses: actions/checkout@v4
194192

195193
- name: Setup private build environment
196194
if: ${{ vars.PRIVATE_BUILDS_SUPPORTED == 'true' }}
@@ -199,15 +197,15 @@ jobs:
199197
cadence_deploy_key: ${{ secrets.CADENCE_DEPLOY_KEY }}
200198

201199
- name: Setup Go
202-
uses: actions/setup-go@v4
200+
uses: actions/setup-go@v5
203201
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
204202
with:
205203
go-version: ${{ env.GO_VERSION }}
206204
cache: true
207205
- name: Setup tests (${{ matrix.targets.name }})
208206
run: VERBOSE=1 make -e GO_TEST_PACKAGES="${{ matrix.targets.packages }}" install-tools
209207
- name: Run tests (${{ matrix.targets.name }})
210-
uses: nick-fields/retry@v2
208+
uses: nick-fields/retry@v3
211209
with:
212210
timeout_minutes: 35
213211
max_attempts: 5
@@ -216,7 +214,7 @@ jobs:
216214
#env:
217215
# RACE_DETECTOR: 1
218216
- name: Upload coverage report
219-
uses: codecov/codecov-action@v4
217+
uses: codecov/codecov-action@v5
220218
timeout-minutes: 1
221219
continue-on-error: true
222220
with:
@@ -232,7 +230,7 @@ jobs:
232230
CADENCE_DEPLOY_KEY: ${{ secrets.CADENCE_DEPLOY_KEY }}
233231
steps:
234232
- name: Checkout repo
235-
uses: actions/checkout@v3
233+
uses: actions/checkout@v4
236234
with:
237235
# all tags are needed for integration tests
238236
fetch-depth: 0
@@ -244,7 +242,7 @@ jobs:
244242
cadence_deploy_key: ${{ secrets.CADENCE_DEPLOY_KEY }}
245243

246244
- name: Setup Go
247-
uses: actions/setup-go@v4
245+
uses: actions/setup-go@v5
248246
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
249247
with:
250248
go-version: ${{ env.GO_VERSION }}
@@ -267,7 +265,7 @@ jobs:
267265
gcr.io/flow-container-registry/execution-corrupted:latest \
268266
gcr.io/flow-container-registry/verification-corrupted:latest > flow-docker-images.tar
269267
- name: Cache Docker images
270-
uses: actions/cache@v3
268+
uses: actions/cache@v4
271269
with:
272270
path: flow-docker-images.tar
273271
# use the workflow run id as part of the cache key to ensure these docker images will only be used for a single workflow run
@@ -285,7 +283,7 @@ jobs:
285283

286284
steps:
287285
- name: Checkout repo
288-
uses: actions/checkout@v3
286+
uses: actions/checkout@v4
289287

290288
- name: Setup private build environment
291289
if: ${{ vars.PRIVATE_BUILDS_SUPPORTED == 'true' }}
@@ -294,15 +292,15 @@ jobs:
294292
cadence_deploy_key: ${{ secrets.CADENCE_DEPLOY_KEY }}
295293

296294
- name: Setup Go
297-
uses: actions/setup-go@v4
295+
uses: actions/setup-go@v5
298296
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
299297
with:
300298
go-version: ${{ env.GO_VERSION }}
301299
cache: true
302300
- name: Setup tests (${{ matrix.targets.name }})
303301
run: VERBOSE=1 make -e GO_TEST_PACKAGES="${{ matrix.targets.packages }}" install-tools
304302
- name: Run tests (${{ matrix.targets.name }})
305-
uses: nick-fields/retry@v2
303+
uses: nick-fields/retry@v3
306304
with:
307305
timeout_minutes: 35
308306
max_attempts: 5
@@ -311,7 +309,7 @@ jobs:
311309
#env:
312310
# RACE_DETECTOR: 1
313311
- name: Upload coverage report
314-
uses: codecov/codecov-action@v4
312+
uses: codecov/codecov-action@v5
315313
timeout-minutes: 1
316314
continue-on-error: true
317315
with:
@@ -382,7 +380,7 @@ jobs:
382380
runs-on: ${{ matrix.runner }}
383381
steps:
384382
- name: Checkout repo
385-
uses: actions/checkout@v3
383+
uses: actions/checkout@v4
386384
with:
387385
# all tags are needed for integration tests
388386
fetch-depth: 0
@@ -394,13 +392,13 @@ jobs:
394392
cadence_deploy_key: ${{ secrets.CADENCE_DEPLOY_KEY }}
395393

396394
- name: Setup Go
397-
uses: actions/setup-go@v4
395+
uses: actions/setup-go@v5
398396
timeout-minutes: 10 # fail fast. sometimes this step takes an extremely long time
399397
with:
400398
go-version: ${{ env.GO_VERSION }}
401399
cache: true
402400
- name: Load cached Docker images
403-
uses: actions/cache@v3
401+
uses: actions/cache@v4
404402
with:
405403
path: flow-docker-images.tar
406404
# use the same cache key as the docker-build job
@@ -411,7 +409,7 @@ jobs:
411409
# TODO(rbtz): re-enable when we fix exisiting races.
412410
#env:
413411
# RACE_DETECTOR: 1
414-
uses: nick-fields/retry@v2
412+
uses: nick-fields/retry@v3
415413
with:
416414
timeout_minutes: 35
417415
max_attempts: 5

.github/workflows/flaky-test-monitor.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ permissions:
1313
contents: read
1414

1515
env:
16+
GO_VERSION: "1.23"
1617
BIGQUERY_DATASET: dev_src_flow_test_metrics
1718
BIGQUERY_TABLE: skipped_tests
1819
BIGQUERY_TABLE2: test_results
19-
GO_VERSION: "1.22"
2020
SKIPPED_TESTS_FILE: skipped-tests
2121
RESULTS_FILE: test-results
2222
COMMIT_SHA: ${{ github.sha }}
@@ -37,9 +37,9 @@ jobs:
3737
dynamic-matrix: ${{ steps.set-test-matrix.outputs.dynamicMatrix }}
3838
steps:
3939
- name: Checkout repo
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141
- name: Setup Go
42-
uses: actions/setup-go@v4
42+
uses: actions/setup-go@v5
4343
with:
4444
go-version: ${{ env.GO_VERSION }}
4545
cache: true
@@ -58,9 +58,9 @@ jobs:
5858
runs-on: ubuntu-20.04
5959
steps:
6060
- name: Checkout repo
61-
uses: actions/checkout@v3
61+
uses: actions/checkout@v4
6262
- name: Setup Go
63-
uses: actions/setup-go@v4
63+
uses: actions/setup-go@v5
6464
with:
6565
go-version: ${{ env.GO_VERSION }}
6666
cache: true
@@ -100,9 +100,9 @@ jobs:
100100
runs-on: ubuntu-latest
101101
steps:
102102
- name: Checkout repo
103-
uses: actions/checkout@v3
103+
uses: actions/checkout@v4
104104
- name: Setup Go
105-
uses: actions/setup-go@v4
105+
uses: actions/setup-go@v5
106106
with:
107107
go-version: ${{ env.GO_VERSION }}
108108
cache: true
@@ -160,12 +160,12 @@ jobs:
160160
runs-on: ubuntu-latest
161161
steps:
162162
- name: Checkout repo
163-
uses: actions/checkout@v3
163+
uses: actions/checkout@v4
164164
with:
165165
# all tags are needed for integration tests
166166
fetch-depth: 0
167167
- name: Setup Go
168-
uses: actions/setup-go@v4
168+
uses: actions/setup-go@v5
169169
with:
170170
go-version: ${{ env.GO_VERSION }}
171171
cache: true

0 commit comments

Comments
 (0)