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: use different modules for Trial and Cluster topology #9917

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

azhou-determined
Copy link
Contributor

@azhou-determined azhou-determined commented Sep 11, 2024

Ticket

https://hpe-aiatscale.atlassian.net/browse/CM-517

Description

when we introduced trial detail topology, we use the same module, but for cluster topology we want to preserve the individual slot data.

Test Plan

Checklist

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

@azhou-determined azhou-determined requested a review from a team as a code owner September 11, 2024 17:22
@cla-bot cla-bot bot added the cla-signed label Sep 11, 2024
Copy link

netlify bot commented Sep 11, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit bc711f6
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/66e8704450295100085d2a26
😎 Deploy Preview https://deploy-preview-9917--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

import Section from 'components/Section';
import { Agent, Resource, SlotsRecord } from 'types';

import css from './Topology.module.scss';
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to restore the previous css file, too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, thanks

Copy link
Contributor

@gt2345 gt2345 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix!
A note that this PR restores
webui/react/src/pages/ResourcePool/Topology.tsx and webui/react/src/pages/ResourcePool/Topology.module.scss
from this PR

Copy link

codecov bot commented Sep 16, 2024

Codecov Report

Attention: Patch coverage is 2.63158% with 74 lines in your changes missing coverage. Please review.

Project coverage is 54.08%. Comparing base (03961b5) to head (bc711f6).
Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
...i/react/src/pages/ResourcePool/ClusterTopology.tsx 0.00% 72 Missing and 1 partial ⚠️
...eact/src/pages/ResourcePool/ResourcepoolDetail.tsx 0.00% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (03961b5) and HEAD (bc711f6). Click for more details.

HEAD has 8 uploads less than BASE
Flag BASE (03961b5) HEAD (bc711f6)
harness 8 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9917      +/-   ##
==========================================
- Coverage   59.23%   54.08%   -5.16%     
==========================================
  Files         750      442     -308     
  Lines      104343    75821   -28522     
  Branches     3598     3598              
==========================================
- Hits        61812    41009   -20803     
+ Misses      42400    34680    -7720     
- Partials      131      132       +1     
Flag Coverage Δ
harness ?
web 54.34% <2.63%> (-0.06%) ⬇️

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

Files with missing lines Coverage Δ
...bui/react/src/pages/ResourcePool/TrialTopology.tsx 30.66% <100.00%> (ø)
...ebui/react/src/pages/TrialDetails/TrialInfoBox.tsx 89.25% <100.00%> (ø)
...eact/src/pages/ResourcePool/ResourcepoolDetail.tsx 0.00% <0.00%> (ø)
...i/react/src/pages/ResourcePool/ClusterTopology.tsx 0.00% <0.00%> (ø)

... and 309 files with indirect coverage changes

@azhou-determined azhou-determined merged commit 062cb52 into main Sep 16, 2024
86 of 98 checks passed
@azhou-determined azhou-determined deleted the fix-trial-cluster-topology branch September 16, 2024 18:17
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