Skip to content

Commit 1e0cbf3

Browse files
Retry failed benchmark result pushes (#488)
1 parent 486c066 commit 1e0cbf3

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎bench_runner/templates/_benchmark.src.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ jobs:
8686
uses: EndBug/add-and-commit@cc9c08ba6c8df3b93a8f2db63e89b98368ae2ae8 #v11.1.1
8787
with:
8888
add: results
89+
pull: --rebase --autostash origin "${{ github.ref_name }}"
90+
push_attempts: 5
8991
- name: Upload artifacts
9092
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.0
9193
with:
@@ -127,6 +129,8 @@ jobs:
127129
uses: EndBug/add-and-commit@cc9c08ba6c8df3b93a8f2db63e89b98368ae2ae8 #v11.1.1
128130
with:
129131
add: results
132+
pull: --rebase --autostash origin "${{ github.ref_name }}"
133+
push_attempts: 5
130134
- name: Upload benchmark artifacts
131135
if: ${{ !inputs.perf }}
132136
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.0
@@ -167,6 +171,8 @@ jobs:
167171
uses: EndBug/add-and-commit@cc9c08ba6c8df3b93a8f2db63e89b98368ae2ae8 #v11.1.1
168172
with:
169173
add: results
174+
pull: --rebase --autostash origin "${{ github.ref_name }}"
175+
push_attempts: 5
170176
- name: Upload artifacts
171177
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.0
172178
with:

‎bench_runner/templates/_find_failures.src.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ jobs:
2727
uses: EndBug/add-and-commit@cc9c08ba6c8df3b93a8f2db63e89b98368ae2ae8 #v11.1.1
2828
with:
2929
add: "['failures.md']"
30-
message: Benchmarking failures
30+
message: Benchmarking failures
31+
pull: --rebase --autostash origin "${{ github.ref_name }}"
32+
push_attempts: 5

‎bench_runner/templates/_generate.src.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ jobs:
5151
with:
5252
add: "['results', 'README.md', 'RESULTS.md', 'longitudinal.svg', 'longitudinal.json', 'configs.svg', 'configs.json', 'memory_long.svg', 'memory_long.json', 'memory_configs.svg', 'memory_configs.json']"
5353
message: Benchmarking results for @${{ github.actor }}
54+
pull: --rebase --autostash origin main
55+
push_attempts: 5

‎bench_runner/templates/_pystats.src.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ jobs:
6464
uses: EndBug/add-and-commit@cc9c08ba6c8df3b93a8f2db63e89b98368ae2ae8 #v11.1.1
6565
with:
6666
add: results
67+
pull: --rebase --autostash origin "${{ github.ref_name }}"
68+
push_attempts: 5

0 commit comments

Comments
 (0)