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

Log when evaluator is leaving events #9487

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Conversation

berland
Copy link
Contributor

@berland berland commented Dec 9, 2024

The batching interval and size can maybe be tuned slightly, before that it will be quite interesting to know how often message processing is postponed.

This logging feature existed in the sync version of the ensemble evaluator, but was not carried over in 509c224.

Issue
Resolves https://github.com/equinor/komodo-releases/issues/6373

Approach
Reinstate.

  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure unit tests pass locally after every commit (git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"')

When applicable

  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Create Backport PR to latest release

@berland berland self-assigned this Dec 9, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.94%. Comparing base (82972b0) to head (493a3d2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9487      +/-   ##
==========================================
+ Coverage   91.92%   91.94%   +0.01%     
==========================================
  Files         433      433              
  Lines       26734    26740       +6     
==========================================
+ Hits        24575    24585      +10     
+ Misses       2159     2155       -4     
Flag Coverage Δ
cli-tests 39.39% <100.00%> (+0.01%) ⬆️
everest-models-test 34.70% <83.33%> (+0.01%) ⬆️
gui-tests 72.14% <100.00%> (+<0.01%) ⬆️
integration-test 36.96% <83.33%> (+0.01%) ⬆️
performance-tests 51.94% <83.33%> (+0.10%) ⬆️
test 40.62% <83.33%> (-0.02%) ⬇️
unit-tests 74.12% <83.33%> (+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

@andreas-el andreas-el left a comment

Choose a reason for hiding this comment

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

This can prove to be a nice metric too! 💯

@berland
Copy link
Contributor Author

berland commented Dec 10, 2024

On second thought, I don't think the time measurement in this PR makes sense, it it just timing putting a list into a queue, which is not interesting. Will have a second look.

The batching interval and size can maybe be tuned slightly, before that
it will be quite interesting to know how often message processing
is postponed.

This logging feature existed in the sync version of the ensemble
evaluator, but was not carried over in 509c224.
@berland
Copy link
Contributor Author

berland commented Dec 10, 2024

Trying again. Another review?

@berland berland merged commit 1ed8fc3 into equinor:main Dec 13, 2024
39 checks passed
@berland berland deleted the log_left_in_queue branch January 9, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants