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

Fix <= .to3 migrations causing .to7 gendata migration failure #9048

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

yngve-sk
Copy link
Contributor

@yngve-sk yngve-sk commented Oct 25, 2024

.to3 migrations are currently dumping responses.json based on the ResponseConfig, so then it is already migrated. Code in .to7 assumes it is not migrated. This was also not being caught by the storage migration test as it checked only for summary data.

Checking for it in the test makes it fail: https://github.com/equinor/ert/actions/runs/11514769298/job/32054192381

@yngve-sk yngve-sk force-pushed the bugfix-subtle-migration-silenterr branch from bd9a931 to b683743 Compare October 25, 2024 08:34
@yngve-sk yngve-sk force-pushed the bugfix-subtle-migration-silenterr branch from b683743 to 7ef9667 Compare October 25, 2024 08:34
@yngve-sk yngve-sk changed the title Fix <= .to3 migrations not migrating gendata Fix <= .to3 migrations causing .to7 gendata migration failure Oct 25, 2024
@yngve-sk yngve-sk self-assigned this Oct 25, 2024
@yngve-sk yngve-sk added the release-notes:bug-fix Automatically categorise as bug fix in release notes label Oct 25, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.85%. Comparing base (2cb3ea0) to head (7079028).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9048      +/-   ##
==========================================
- Coverage   90.85%   90.85%   -0.01%     
==========================================
  Files         352      352              
  Lines       21757    21759       +2     
==========================================
+ Hits        19768    19769       +1     
- Misses       1989     1990       +1     
Flag Coverage Δ
cli-tests 39.00% <0.00%> (+<0.01%) ⬆️
gui-tests 72.59% <0.00%> (+0.03%) ⬆️
performance-tests 49.51% <0.00%> (-0.01%) ⬇️
unit-tests 79.61% <100.00%> (+<0.01%) ⬆️

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.

Copy link
Contributor

@eivindjahren eivindjahren left a comment

Choose a reason for hiding this comment

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

🧹

@yngve-sk yngve-sk merged commit d24eb13 into equinor:main Oct 25, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:bug-fix Automatically categorise as bug fix in release notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants