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

Make test-migrations-via-try-runtime CI job depend on live-sync-credi… #1377

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

atodorov
Copy link
Contributor

@atodorov atodorov commented Oct 6, 2023

…tcoin

this should reuse the database which is already on-disk and not cause a second sync, hopefully reducing the overall execution time for this CI pipeline.

Also specify missing --pruning archive option to deal with errors like:

Error = Call(Custom(ErrorObject { code: ServerError(-32000), message: "Client error: UnknownBlock: State already discarded for 0x7a6052272f51d086f3c0f89ced306b845ba93465591026107c6e236174d993d4", data: None }))

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

@atodorov atodorov force-pushed the testing/patch-try-runtime-migrations branch from 5824c80 to 70c3ae7 Compare November 8, 2023 09:20
@atodorov
Copy link
Contributor Author

atodorov commented Nov 8, 2023

Successfull test-migrations-via-try-runtime against Mainnet https://github.com/gluwa/creditcoin/actions/runs/6796162156/job/18478386218?pr=1377

@atodorov atodorov changed the base branch from main to dev November 8, 2023 11:10
…tcoin

this should reuse the database which is already on-disk and not cause a
second sync, hopefully reducing the overall execution time for this CI
job.

Also specify missing `--pruning archive` option to deal with errors
like:

Error = Call(Custom(ErrorObject { code: ServerError(-32000), message: "Client error: UnknownBlock: State already discarded for 0x7a6052272f51d086f3c0f89ced306b845ba93465591026107c6e236174d993d4", data: None }))
@atodorov atodorov force-pushed the testing/patch-try-runtime-migrations branch from 70c3ae7 to aa340a0 Compare November 8, 2023 11:11
@atodorov atodorov marked this pull request as ready for review November 8, 2023 11:11
Copy link

github-actions bot commented Nov 8, 2023

For full LLVM coverage report click here!

@codecov-commenter
Copy link

codecov-commenter commented Nov 8, 2023

Codecov Report

Merging #1377 (aa340a0) into dev (f517168) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #1377   +/-   ##
=======================================
  Coverage   71.86%   71.86%           
=======================================
  Files         111      111           
  Lines       12953    12953           
  Branches      128      128           
=======================================
  Hits         9309     9309           
  Misses       3634     3634           
  Partials       10       10           

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@atodorov atodorov merged commit e0e04e5 into dev Nov 9, 2023
38 of 39 checks passed
@atodorov atodorov deleted the testing/patch-try-runtime-migrations branch November 9, 2023 08:31
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