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

chore: multirm unique resource pool config changes [RM-74] #8974

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

NicholasBlaskey
Copy link
Contributor

Description

Require unique resource pool names in config.

Test Plan

unit tests

Commentary (optional)

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

Ticket

Copy link

netlify bot commented Mar 7, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 86dee09
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/65eb2169a3b7150008eaee80

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.47%. Comparing base (b06c923) to head (86dee09).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8974      +/-   ##
==========================================
- Coverage   47.47%   47.47%   -0.01%     
==========================================
  Files        1168     1168              
  Lines      176294   176297       +3     
  Branches     2352     2350       -2     
==========================================
+ Hits        83701    83702       +1     
- Misses      92435    92437       +2     
  Partials      158      158              
Flag Coverage Δ
backend 42.51% <100.00%> (-0.01%) ⬇️
harness 64.01% <ø> (ø)
web 42.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
master/internal/config/resource_config.go 94.91% <100.00%> (+0.27%) ⬆️

... and 1 file with indirect coverage changes

Copy link
Contributor

@carolinaecalderon carolinaecalderon left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -87,45 +87,51 @@ func (r *ResourceConfig) ResolveResource() error {
r.RootManagerInternal.setName(DefaultRMName)
}

// Add a default resource pool for all non resource managers.
// Add a default resource pool for nonslurm default resource managers.
Copy link
Contributor

Choose a reason for hiding this comment

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

note: maybe add a TODO (multirm slurm) note here, just as a reminder to bradley/whoever works on this project next?

@NicholasBlaskey NicholasBlaskey enabled auto-merge (squash) March 8, 2024 14:33
@NicholasBlaskey NicholasBlaskey merged commit 6e1acf4 into main Mar 8, 2024
67 of 80 checks passed
@NicholasBlaskey NicholasBlaskey deleted the unique_config_changes branch March 8, 2024 14:47
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.

2 participants