feat(blockifier_test_utils): update CI for cairo recompilation#5594
Conversation
475cc9a to
20a8cdd
Compare
e7a0e5f to
2663936
Compare
20a8cdd to
b08458e
Compare
2663936 to
81e5c4f
Compare
b08458e to
0945633
Compare
81e5c4f to
1b68d25
Compare
0945633 to
eb79323
Compare
1b68d25 to
b1b7164
Compare
eb79323 to
e07c39a
Compare
b1b7164 to
97d6ab7
Compare
e07c39a to
a80d138
Compare
97d6ab7 to
8a8c6ed
Compare
a80d138 to
755877d
Compare
8a8c6ed to
d500a48
Compare
755877d to
6dfd648
Compare
d500a48 to
a4467e6
Compare
6dfd648 to
0741693
Compare
a4467e6 to
112f8b7
Compare
0741693 to
0ac8a79
Compare
112f8b7 to
a509bb8
Compare
giladchase
left a comment
There was a problem hiding this comment.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @elintul and @noaov1)
.github/workflows/blockifier_compiled_cairo.yml line 12 at r2 (raw file):
- '.github/workflows/blockifier_compiled_cairo.yml' - 'crates/apollo_sierra_multicompile/src/constants.rs' # Contains the compiler version. - 'crates/blockifier_test_utils/**'
Sure about this one? it could backfire if someone adds new files into the crate, they'll have no way of knowing that they are triggering this check
Code quote:
- 'crates/blockifier_test_utils/**'bc0e7a1 to
46cfe36
Compare
89c4656 to
c797c98
Compare
46cfe36 to
717e783
Compare
c797c98 to
1b25c94
Compare
717e783 to
2058c09
Compare
1b25c94 to
da4dfa2
Compare
2058c09 to
440597c
Compare
da4dfa2 to
928f0c6
Compare
440597c to
b3f7167
Compare
928f0c6 to
8440ee1
Compare
b3f7167 to
e3fadf4
Compare
8440ee1 to
b842d35
Compare
e3fadf4 to
9be72b5
Compare
b842d35 to
f4b1a87
Compare
9be72b5 to
91a5828
Compare
f4b1a87 to
9383497
Compare
TzahiTaub
left a comment
There was a problem hiding this comment.
Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware, @elintul, @giladchase, and @noaov1)
.github/workflows/blockifier_compiled_cairo.yml line 12 at r2 (raw file):
Previously, dorimedini-starkware wrote…
this check is now fast - and I don't want to miss file renames / code moving to fail to trigger the test now that it isn't painful to rerun. WDYT?
Maybe use this to enforce the current hierarchy? So if someone is moving something the run will fail until it is updated in this file as well. I tend to agree with @giladchase here.
dorimedini-starkware
left a comment
There was a problem hiding this comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @elintul, @giladchase, @noaov1, and @TzahiTaub)
.github/workflows/blockifier_compiled_cairo.yml line 12 at r2 (raw file):
Previously, TzahiTaub (Tzahi) wrote…
Maybe use this to enforce the current hierarchy? So if someone is moving something the run will fail until it is updated in this file as well. I tend to agree with @giladchase here.
cool!
we try not to use external actions anymore - need to fork them (after license check) and use internal forks...
I am inclined to simply drop the #[ignore] from the tests and deleting them altogether. the test is now faster than the code_style phase... although, it will add an additional minute to the run_tests phase...
what should we do for now?
TzahiTaub
left a comment
There was a problem hiding this comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware, @elintul, @giladchase, and @noaov1)
.github/workflows/blockifier_compiled_cairo.yml line 12 at r2 (raw file):
Previously, dorimedini-starkware wrote…
cool!
we try not to use external actions anymore - need to fork them (after license check) and use internal forks...
I am inclined to simply drop the#[ignore]from the tests and deleting them altogether. the test is now faster than the code_style phase... although, it will add an additional minute to the run_tests phase...
what should we do for now?
I don't think so, but it's your call. We can keep your change and just add the hierarchy check as a separate test in every CI run (just hard code a few paths and check they exist).
TzahiTaub
left a comment
There was a problem hiding this comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware, @elintul, @giladchase, and @noaov1)
.github/workflows/blockifier_compiled_cairo.yml line 12 at r2 (raw file):
Previously, TzahiTaub (Tzahi) wrote…
I don't think so, but it's your call. We can keep your change and just add the hierarchy check as a separate test in every CI run (just hard code a few paths and check they exist).
Sorry, meant run this "path" test in your path changes, and keep the recompilation in the previous hirarchy.
dorimedini-starkware
left a comment
There was a problem hiding this comment.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @elintul and @noaov1)
.github/workflows/blockifier_compiled_cairo.yml line 12 at r2 (raw file):
Previously, TzahiTaub (Tzahi) wrote…
Sorry, meant run this "path" test in your path changes, and keep the recompilation in the previous hirarchy.
Sent the action to roei, we'll get a fork and add these existence checks across the board on all workflows (that are triggered by specific files / paths)
9383497 to
0580f6c
Compare
|
Artifacts upload workflows: |
dorimedini-starkware
left a comment
There was a problem hiding this comment.
Reviewed all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @elintul and @noaov1)

No description provided.