[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add CI checks for prover directory #201

Merged
merged 19 commits into from
Oct 16, 2023
Merged

Conversation

ly0va
Copy link
Member
@ly0va ly0va commented Oct 11, 2023

What ❔

  • Fixes formatting and linting in the prover directory
  • Adds CI checks for format & lints in the prover directory
  • Makes prover/prover and prover/setup_key_generator_and_server compilable without a GPU.
  • Fixes ci_run script (before, prover unit tests weren't being run at all)
  • Updates the zk tool to include zk lint prover and zk test prover

Why ❔

Following good practices & reducing technical debt.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.

@codecov
Copy link
codecov bot commented Oct 11, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (9b43ecb) 32.75% compared to head (8c17c0d) 32.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #201      +/-   ##
==========================================
- Coverage   32.75%   32.70%   -0.06%     
==========================================
  Files         536      536              
  Lines       28133    28135       +2     
==========================================
- Hits         9216     9201      -15     
- Misses      18917    18934      +17     
Files Coverage Δ
prover/prover_fri/tests/basic_test.rs 0.00% <ø> (ø)
prover/prover_fri_gateway/src/api_data_fetcher.rs 0.00% <ø> (ø)
prover/witness_generator/tests/basic_test.rs 0.00% <ø> (ø)
...over/vk_setup_data_generator_server_fri/src/lib.rs 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.githooks/pre-commit Show resolved Hide resolved
.github/workflows/ci-prover-reusable.yml Show resolved Hide resolved
.github/workflows/ci-prover-reusable.yml Show resolved Hide resolved
@ly0va ly0va marked this pull request as ready for review October 12, 2023 22:58
@ly0va ly0va requested review from a team as code owners October 12, 2023 22:58
@EmilLuta
Copy link
Contributor

I thought we'd be renaming components as well between FRI and non-FRI. That said, it's not a blocker. I'd prefer if we "context"-ed all errors so we have a good trace. I know it's not part of this work, but would be great to be done alongside.

This said, I'm a big fan of the work done, thanks for the effort!

@ly0va ly0va added this pull request to the merge queue Oct 16, 2023
Merged via the queue into main with commit 39788b6 Oct 16, 2023
31 checks passed
@ly0va ly0va deleted the lyova-add-prover-to-ci-checks branch October 16, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants