Skip to content

Commit d587fcc

Browse files
authored
chore: add timeouts to CI (#7725)
1 parent 51c68c8 commit d587fcc

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/reports.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
benchmark-projects-list:
1111
name: Load benchmark projects list
1212
runs-on: ubuntu-22.04
13+
timeout-minutes: 5
1314
outputs:
1415
projects: ${{ steps.get_bench_projects.outputs.projects }}
1516

@@ -26,6 +27,7 @@ jobs:
2627
2728
build-nargo:
2829
runs-on: ubuntu-22.04
30+
timeout-minutes: 15
2931

3032
steps:
3133
- name: Checkout Noir repo
@@ -61,6 +63,7 @@ jobs:
6163
name: Circuit sizes
6264
needs: [build-nargo]
6365
runs-on: ubuntu-24.04
66+
timeout-minutes: 20
6467
permissions:
6568
pull-requests: write
6669

@@ -101,6 +104,7 @@ jobs:
101104
name: Brillig bytecode sizes
102105
needs: [build-nargo]
103106
runs-on: ubuntu-22.04
107+
timeout-minutes: 20
104108
permissions:
105109
pull-requests: write
106110

@@ -150,6 +154,7 @@ jobs:
150154
name: Brillig execution trace sizes
151155
needs: [build-nargo]
152156
runs-on: ubuntu-22.04
157+
timeout-minutes: 20
153158
permissions:
154159
pull-requests: write
155160

@@ -199,6 +204,7 @@ jobs:
199204
name: Peak memory usage
200205
needs: [build-nargo]
201206
runs-on: ubuntu-22.04
207+
timeout-minutes: 20
202208
permissions:
203209
pull-requests: write
204210

@@ -240,6 +246,7 @@ jobs:
240246
name: Compilation and execution time
241247
needs: [build-nargo]
242248
runs-on: ubuntu-22.04
249+
timeout-minutes: 20
243250
permissions:
244251
pull-requests: write
245252

@@ -507,6 +514,7 @@ jobs:
507514
upload_compilation_report:
508515
name: Upload compilation report
509516
needs: [generate_compilation_and_execution_report, external_repo_compilation_and_execution_report]
517+
timeout-minutes: 5
510518
# We want this job to run even if one variation of the matrix in `external_repo_compilation_and_execution_report` fails
511519
if: always()
512520
runs-on: ubuntu-22.04
@@ -558,6 +566,7 @@ jobs:
558566
upload_compilation_memory_report:
559567
name: Upload compilation memory report
560568
needs: [generate_memory_report, external_repo_memory_report]
569+
timeout-minutes: 5
561570
# We want this job to run even if one variation of the matrix in `external_repo_memory_report` fails
562571
if: always()
563572
runs-on: ubuntu-22.04
@@ -608,6 +617,7 @@ jobs:
608617
upload_execution_memory_report:
609618
name: Upload execution memory report
610619
needs: [generate_memory_report, external_repo_memory_report]
620+
timeout-minutes: 5
611621
# We want this job to run even if one variation of the matrix in `external_repo_memory_report` fails
612622
if: always()
613623
runs-on: ubuntu-22.04
@@ -655,10 +665,10 @@ jobs:
655665
alert-comment-cc-users: "@TomAFrench"
656666
max-items-in-chart: 50
657667

658-
659668
upload_execution_report:
660669
name: Upload execution report
661670
needs: [generate_compilation_and_execution_report, external_repo_compilation_and_execution_report]
671+
timeout-minutes: 5
662672
# We want this job to run even if one variation of the matrix in `external_repo_compilation_and_execution_report` fails
663673
if: always()
664674
runs-on: ubuntu-22.04
@@ -711,6 +721,7 @@ jobs:
711721
reports-end:
712722
name: End
713723
runs-on: ubuntu-22.04
724+
timeout-minutes: 5
714725
# We want this job to always run (even if the dependant jobs fail) as we want this job to fail rather than skipping.
715726
if: ${{ always() }}
716727
needs:

0 commit comments

Comments
 (0)