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

Memory improvements (2/3): Migrate core Covalent to new data access layer #1729

Merged
merged 52 commits into from
Oct 19, 2023

Conversation

cjao
Copy link
Contributor

@cjao cjao commented Jul 12, 2023

  • I have added the tests to cover my changes.
  • I have updated the documentation and CHANGELOG accordingly.
  • I have read the CONTRIBUTING document.

Closes https://github.com/AgnostiqHQ/covalent-staging/issues/708

@cjao
Copy link
Contributor Author

cjao commented Jul 12, 2023

Builds on #1728

This PR migrates the core Covalent server from the in-memory Result object to the DB-backed Result object (based on DispatchedObject) introduced in the preceding PR. Dispatches are imported and exported through the new data access layer. The dispatcher is also made aware of task groups; however, as task-packing is not yet compatible with executor plugins, it remains disabled by default in the SDK settings.

All functional tests now pass.

@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #1729 (bbfdd22) into develop (889bf3e) will increase coverage by 3.51%.
Report is 2 commits behind head on develop.
The diff coverage is 95.71%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1729      +/-   ##
===========================================
+ Coverage    80.17%   83.69%   +3.51%     
===========================================
  Files          232      285      +53     
  Lines        10239    13460    +3221     
  Branches       193      193              
===========================================
+ Hits          8209    11265    +3056     
- Misses        1897     2062     +165     
  Partials       133      133              
Flag Coverage Δ
Dispatcher 91.98% <96.74%> (+5.61%) ⬆️
Functional_Tests 53.54% <61.01%> (+1.71%) ⬆️
SDK 77.71% <94.06%> (+2.88%) ⬆️
UI_Backend 85.24% <71.18%> (-3.19%) ⬇️
UI_Frontend 73.43% <ø> (ø)

@cjao cjao force-pushed the memory-improvements-pr-2 branch 6 times, most recently from 66abf41 to 975f01a Compare July 14, 2023 13:34
@kessler-frost kessler-frost marked this pull request as ready for review October 18, 2023 15:00
@kessler-frost kessler-frost requested review from a team as code owners October 18, 2023 15:00
Copy link
Contributor Author

@cjao cjao left a comment

Choose a reason for hiding this comment

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

load.py is no longer needed and should be removed.

@wjcunningham7 wjcunningham7 merged commit 1995292 into develop Oct 19, 2023
15 checks passed
@wjcunningham7 wjcunningham7 deleted the memory-improvements-pr-2 branch October 19, 2023 16:49
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