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

CSUB-387: Fix pallet discovery script #883

Merged
merged 7 commits into from
Jan 16, 2023

Conversation

atodorov
Copy link
Contributor

Description of proposed changes:

Practical tips for PR review & merge:

  • All GitHub Actions report PASS
  • Newly added code/functions have unit tests
    • Coverage tools report all newly added lines as covered
    • The positive scenario is exercised
    • Negative scenarios are exercised, e.g. assert on all possible errors
    • Assert on events triggered if applicable
    • Assert on changes made to storage if applicable
  • Modified behavior/functions - try to make sure above test items are covered
  • Integration tests are added if applicable/needed

@github-actions
Copy link

For full LLVM coverage report click here!

@atodorov atodorov force-pushed the CSUB-387-fix-pallet-discovery-script branch from 0819858 to b449e1f Compare January 13, 2023 12:41
@atodorov atodorov mentioned this pull request Jan 13, 2023
9 tasks
@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2023

Codecov Report

Merging #883 (1528a7a) into dev (fd1e262) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #883   +/-   ##
=======================================
  Coverage   78.24%   78.24%           
=======================================
  Files          68       68           
  Lines       10726    10726           
=======================================
  Hits         8393     8393           
  Misses       2333     2333           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@atodorov atodorov force-pushed the CSUB-387-fix-pallet-discovery-script branch from b449e1f to 4544156 Compare January 13, 2023 13:26
inside ci.yml we need to compare the list of pallets for which dummy
weights are being generated in the test job. This list comes from ci.yml
not from bench.yml!
this is the canonical list of pallets which we should compare against
everywhere else!

NOTE: only pallets which implement extrinsics are discovered by this
script. Pallets which don't expose extrinsics are ignored!
b/c it introduces new locations and the search needs to be more flexible
@atodorov atodorov force-pushed the CSUB-387-fix-pallet-discovery-script branch from 4544156 to 0eff8ca Compare January 13, 2023 14:05
@atodorov atodorov marked this pull request as ready for review January 13, 2023 14:05
sometimes downloading latest release fails and I want to know what
exactly happened when there is a failure
@atodorov atodorov force-pushed the CSUB-387-fix-pallet-discovery-script branch from 01d1902 to 1528a7a Compare January 13, 2023 20:33
@atodorov atodorov enabled auto-merge (rebase) January 16, 2023 13:49
@atodorov atodorov merged commit ef2fd65 into dev Jan 16, 2023
@atodorov atodorov deleted the CSUB-387-fix-pallet-discovery-script branch January 16, 2023 13: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.

3 participants