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

Optimize deployment migration #5470

Merged

Conversation

turbolent
Copy link
Member

Work towards onflow/cadence#3096

Test the deployment migration, on filtered, instead of full payloads.

Ideally we can filter all payloads in NewTransactionBasedMigration to just the once needed for the transaction / deployment, and do not have to build a full snapshot (map) of all payloads, which might be intractable.

@turbolent turbolent requested review from a team February 28, 2024 01:02
@codecov-commenter
Copy link

codecov-commenter commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.63%. Comparing base (ffb80c9) to head (76bd405).

Additional details and impacted files
@@                    Coverage Diff                     @@
##           feature/stable-cadence    #5470      +/-   ##
==========================================================
- Coverage                   56.37%   52.63%   -3.74%     
==========================================================
  Files                        1032      302     -730     
  Lines                      100648    23473   -77175     
==========================================================
- Hits                        56738    12356   -44382     
+ Misses                      39602    10278   -29324     
+ Partials                     4308      839    -3469     
Flag Coverage Δ
unittests 52.63% <ø> (-3.74%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@turbolent turbolent changed the base branch from feature/stable-cadence to bastian/improve-migration-2 March 4, 2024 17:39
@turbolent turbolent marked this pull request as ready for review March 4, 2024 17:53
@turbolent turbolent merged commit 2e9bbef into bastian/improve-migration-2 Mar 4, 2024
@turbolent turbolent deleted the bastian/optimize-deployment-migration branch March 4, 2024 17:53
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.

2 participants