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

Name job after its executable when not specified #9438

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

cmrqs
Copy link
Contributor

@cmrqs cmrqs commented Dec 3, 2024

Issue
Resolves #9437

Approach
When the parameter name of driver.submit() is not set, replace it with the executable name.

  • 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

@cmrqs cmrqs changed the title Job name Name job after its executable when not specified Dec 3, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.87%. Comparing base (72babc5) to head (47a3559).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9438      +/-   ##
==========================================
+ Coverage   91.85%   91.87%   +0.02%     
==========================================
  Files         433      433              
  Lines       26767    26770       +3     
==========================================
+ Hits        24586    24595       +9     
+ Misses       2181     2175       -6     
Flag Coverage Δ
cli-tests 39.76% <0.00%> (-0.03%) ⬇️
everest-models-test 34.65% <0.00%> (-0.04%) ⬇️
gui-tests 72.11% <0.00%> (-0.04%) ⬇️
integration-test 37.19% <0.00%> (-0.05%) ⬇️
performance-tests 51.94% <0.00%> (-0.04%) ⬇️
test 40.47% <0.00%> (-0.02%) ⬇️
unit-tests 74.17% <100.00%> (+0.04%) ⬆️

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

codspeed-hq bot commented Dec 16, 2024

CodSpeed Performance Report

Merging #9438 will not alter performance

Comparing cmrqs:job-name (47a3559) with main (69535ab)

Summary

✅ 22 untouched benchmarks

runpath: Path | None = None,
num_cpu: int | None = 1,
realization_memory: int | None = 0,
) -> None:
if runpath is None:
runpath = Path.cwd()
if name is None:
name = Path(executable).name
Copy link
Contributor

Choose a reason for hiding this comment

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

This spurred this "bug": #9564 (but it does not have to be solved in this PR since the problem existed beforehand)

@berland berland added the release-notes:maintenance Automatically categorise as maintenance change in release notes label Dec 16, 2024
@berland
Copy link
Contributor

berland commented Dec 16, 2024

Thanks for your contribution. I think this looks very good.

Can you squash the commits into one?

@cmrqs
Copy link
Contributor Author

cmrqs commented Dec 16, 2024

Thanks for your contribution. I think this looks very good.

Can you squash the commits into one?

Done!

Copy link
Contributor

@berland berland left a comment

Choose a reason for hiding this comment

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

Thanks!

@berland berland merged commit 0e19012 into equinor:main Dec 16, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
christmas-review release-notes:maintenance Automatically categorise as maintenance change in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better naming for Everest server job
4 participants