Skip to content

Commit 5aa135a

Browse files
Merge pull request #9676 from starkware-libs/dori/merge-main-v0.14.1-into-main-1761033393
Merge main-v0.14.1 into main
2 parents 3f6db5c + f9342a5 commit 5aa135a

File tree

334 files changed

+9204
-21905
lines changed

Some content is hidden

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

334 files changed

+9204
-21905
lines changed

.github/workflows/committer_ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ jobs:
129129
gcloud storage cp -r gs://committer-testing-artifacts/$NEW_BENCH_INPUT_FILES_PREFIX/* ./crates/starknet_committer_and_os_cli/test_inputs
130130
131131
# Benchmark the new code, splitting the benchmarks, and prepare the results for posting a comment.
132-
- run: bash ./crates/starknet_committer_and_os_cli/benches/bench_split_and_prepare_post.sh benchmarks_list.txt bench_new.txt
132+
- run: bash ./crates/starknet_committer_and_os_cli/benches/bench_split_and_prepare_post.sh benchmarks_list.txt benchmark_comment_body.txt
133133

134-
- run: echo BENCHES_RESULT=$(cat bench_new.txt) >> $GITHUB_ENV
134+
- run: echo BENCHES_RESULT=$(cat benchmark_comment_body.txt) >> $GITHUB_ENV
135135

136136
# Comment with a link to the workflow (or update existing comment on rerun).
137137
- name: Find Comment
@@ -164,3 +164,11 @@ jobs:
164164
comment-id: ${{ steps.find-benchmark-comment.outputs.comment-id }}
165165
edit-mode: replace
166166
body: ${{ env.BENCHES_RESULT }}
167+
168+
# Fail the job if benchmarks exceeded the threshold (after posting the comment).
169+
- name: Check benchmark results
170+
run: |
171+
if grep -q "CI WILL FAIL" benchmark_comment_body.txt; then
172+
echo "Benchmarks exceeded the regression threshold. See the PR comment for details."
173+
exit 1
174+
fi

.github/workflows/papyrus_docker-publish.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)