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

Avoid redundant dataset loading #9016

Conversation

yngve-sk
Copy link
Contributor

No description provided.

@yngve-sk yngve-sk marked this pull request as draft October 22, 2024 09:35
@yngve-sk yngve-sk force-pushed the 24.10.22-darkstorage-small-refactor-data-for-key branch from 3239656 to 08a0866 Compare October 22, 2024 11:49
@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 83.87097% with 15 lines in your changes missing coverage. Please review.

Project coverage is 90.76%. Comparing base (3fec61f) to head (4ff8cfe).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/ert/dark_storage/common.py 73.46% 13 Missing ⚠️
src/ert/storage/local_experiment.py 92.85% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9016      +/-   ##
==========================================
+ Coverage   90.74%   90.76%   +0.02%     
==========================================
  Files         352      352              
  Lines       21937    21978      +41     
==========================================
+ Hits        19907    19949      +42     
+ Misses       2030     2029       -1     
Flag Coverage Δ
cli-tests 39.31% <38.70%> (+0.08%) ⬆️
gui-tests 71.76% <38.70%> (+0.01%) ⬆️
performance-tests 49.42% <78.49%> (+0.06%) ⬆️
unit-tests 79.69% <83.87%> (+0.03%) ⬆️

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.

@yngve-sk yngve-sk marked this pull request as ready for review October 23, 2024 06:01
@yngve-sk yngve-sk force-pushed the 24.10.22-darkstorage-small-refactor-data-for-key branch 2 times, most recently from ce1203e to 3d54e06 Compare October 23, 2024 06:13
@yngve-sk yngve-sk self-assigned this Oct 23, 2024
Copy link
Collaborator

@oyvindeide oyvindeide left a comment

Choose a reason for hiding this comment

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

Looks like a good change, I have some comments though, but a lot of them are nitpicks. Is: (squash) Add mutation of response keys to stateful storage test meant to be squashed into the first commit? If not I think that commit deserves a test. Suggest adding commits as --fixup so it is easier to tell which commit they are intended to be merged with.

src/ert/dark_storage/common.py Outdated Show resolved Hide resolved
src/ert/dark_storage/common.py Show resolved Hide resolved
src/ert/dark_storage/common.py Show resolved Hide resolved
src/ert/dark_storage/common.py Show resolved Hide resolved
src/ert/dark_storage/common.py Show resolved Hide resolved
src/ert/storage/local_experiment.py Outdated Show resolved Hide resolved
src/ert/storage/local_experiment.py Outdated Show resolved Hide resolved
src/ert/storage/local_experiment.py Outdated Show resolved Hide resolved
@yngve-sk yngve-sk force-pushed the 24.10.22-darkstorage-small-refactor-data-for-key branch 5 times, most recently from 458b278 to 35858cc Compare October 23, 2024 10:57
@yngve-sk yngve-sk requested a review from oyvindeide October 23, 2024 11:22
@yngve-sk yngve-sk force-pushed the 24.10.22-darkstorage-small-refactor-data-for-key branch from 564a7b0 to 9423fbe Compare October 23, 2024 13:31
@yngve-sk yngve-sk force-pushed the 24.10.22-darkstorage-small-refactor-data-for-key branch 14 times, most recently from f0452e2 to 02ccc26 Compare November 4, 2024 08:29
@yngve-sk yngve-sk force-pushed the 24.10.22-darkstorage-small-refactor-data-for-key branch 5 times, most recently from 076373b to 4ff8cfe Compare November 12, 2024 08:14
@yngve-sk yngve-sk requested a review from oyvindeide November 12, 2024 08:54
Copy link
Collaborator

@oyvindeide oyvindeide left a comment

Choose a reason for hiding this comment

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

Looks good, I just have some minor comments

Copy link
Collaborator

@oyvindeide oyvindeide left a comment

Choose a reason for hiding this comment

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

LGTM!

@yngve-sk yngve-sk force-pushed the 24.10.22-darkstorage-small-refactor-data-for-key branch from 4ff8cfe to 3814647 Compare November 13, 2024 12:00
@yngve-sk yngve-sk enabled auto-merge (rebase) November 13, 2024 12:21
@yngve-sk yngve-sk merged commit d32d419 into equinor:main Nov 13, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants