Skip to content

feat(blockifier_test_utils): update CI for cairo recompilation#5594

Merged
dorimedini-starkware merged 1 commit into
mainfrom
04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation
May 5, 2025
Merged

feat(blockifier_test_utils): update CI for cairo recompilation#5594
dorimedini-starkware merged 1 commit into
mainfrom
04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation

Conversation

@dorimedini-starkware
Copy link
Copy Markdown
Collaborator

No description provided.

@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

@dorimedini-starkware dorimedini-starkware self-assigned this Apr 5, 2025
@dorimedini-starkware dorimedini-starkware marked this pull request as ready for review April 6, 2025 07:37
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 475cc9a to 20a8cdd Compare April 7, 2025 07:40
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from e7a0e5f to 2663936 Compare April 7, 2025 07:40
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 20a8cdd to b08458e Compare April 7, 2025 07:58
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 2663936 to 81e5c4f Compare April 7, 2025 07:58
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from b08458e to 0945633 Compare April 7, 2025 09:17
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 81e5c4f to 1b68d25 Compare April 7, 2025 09:17
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 0945633 to eb79323 Compare April 9, 2025 11:57
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 1b68d25 to b1b7164 Compare April 9, 2025 11:57
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from eb79323 to e07c39a Compare April 9, 2025 12:00
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from b1b7164 to 97d6ab7 Compare April 9, 2025 12:00
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from e07c39a to a80d138 Compare April 9, 2025 14:48
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 97d6ab7 to 8a8c6ed Compare April 9, 2025 14:49
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from a80d138 to 755877d Compare April 9, 2025 14:56
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 8a8c6ed to d500a48 Compare April 9, 2025 14:56
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 755877d to 6dfd648 Compare April 12, 2025 13:04
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from d500a48 to a4467e6 Compare April 12, 2025 13:04
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 6dfd648 to 0741693 Compare April 18, 2025 10:22
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from a4467e6 to 112f8b7 Compare April 18, 2025 10:22
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 0741693 to 0ac8a79 Compare April 18, 2025 10:25
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 112f8b7 to a509bb8 Compare April 18, 2025 10:26
Copy link
Copy Markdown
Contributor

@giladchase giladchase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/**'

@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from bc0e7a1 to 46cfe36 Compare April 28, 2025 09:21
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 89c4656 to c797c98 Compare April 28, 2025 09:21
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 46cfe36 to 717e783 Compare April 29, 2025 08:13
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from c797c98 to 1b25c94 Compare April 29, 2025 08:14
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 717e783 to 2058c09 Compare April 29, 2025 08:55
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 1b25c94 to da4dfa2 Compare April 29, 2025 08:55
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 2058c09 to 440597c Compare April 29, 2025 09:27
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from da4dfa2 to 928f0c6 Compare April 29, 2025 09:27
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 440597c to b3f7167 Compare April 29, 2025 11:33
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 928f0c6 to 8440ee1 Compare April 29, 2025 11:33
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from b3f7167 to e3fadf4 Compare May 1, 2025 09:47
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 8440ee1 to b842d35 Compare May 1, 2025 09:47
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from e3fadf4 to 9be72b5 Compare May 4, 2025 13:02
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from b842d35 to f4b1a87 Compare May 4, 2025 13:02
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-chore_blockifier_test_utils_delete_dead_code branch from 9be72b5 to 91a5828 Compare May 4, 2025 14:03
@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from f4b1a87 to 9383497 Compare May 4, 2025 14:03
Copy link
Copy Markdown
Contributor

@TzahiTaub TzahiTaub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Collaborator Author

@dorimedini-starkware dorimedini-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Contributor

@TzahiTaub TzahiTaub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Copy link
Copy Markdown
Contributor

@TzahiTaub TzahiTaub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Collaborator Author

@dorimedini-starkware dorimedini-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: 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)

@dorimedini-starkware dorimedini-starkware force-pushed the 04-05-feat_blockifier_test_utils_update_ci_for_cairo_recompilation branch from 9383497 to 0580f6c Compare May 4, 2025 16:43
@dorimedini-starkware dorimedini-starkware changed the base branch from 04-05-chore_blockifier_test_utils_delete_dead_code to main May 4, 2025 16:44
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2025

Artifacts upload workflows:

Copy link
Copy Markdown
Collaborator Author

@dorimedini-starkware dorimedini-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @elintul and @noaov1)

@dorimedini-starkware dorimedini-starkware added this pull request to the merge queue May 5, 2025
Merged via the queue into main with commit 406a65a May 5, 2025
18 of 23 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants