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: load trial data for single run searches in search view #9742

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

ashtonG
Copy link
Contributor

@ashtonG ashtonG commented Jul 26, 2024

Ticket

ET-647

Description

This loads trial data for single run searches in the search view. this prevents issues with the continue trial where the trial information was missing in the experiment config.

Test Plan

when visiting the search page of a single-run search, both options on the "Continue Run" menu button should open a modal.

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

@ashtonG ashtonG added the to-cherry-pick Pull requests that need to be cherry-picked into the current release label Jul 26, 2024
@ashtonG ashtonG requested a review from a team as a code owner July 26, 2024 20:29
@ashtonG ashtonG requested a review from EmilyBonar July 26, 2024 20:29
@cla-bot cla-bot bot added the cla-signed label Jul 26, 2024
@ashtonG ashtonG requested review from johnkim-det and removed request for EmilyBonar July 26, 2024 20:29
Copy link

netlify bot commented Jul 26, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit bb15007
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/66a7ee819339cd0008f7fb5f
😎 Deploy Preview https://deploy-preview-9742--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.

Copy link

codecov bot commented Jul 26, 2024

Codecov Report

Attention: Patch coverage is 3.03030% with 32 lines in your changes missing coverage. Please review.

Project coverage is 49.78%. Comparing base (20ed126) to head (bb15007).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9742      +/-   ##
==========================================
- Coverage   54.12%   49.78%   -4.34%     
==========================================
  Files        1257      934     -323     
  Lines      154820   125516   -29304     
  Branches     3486     3486              
==========================================
- Hits        83796    62494   -21302     
+ Misses      70878    62876    -8002     
  Partials      146      146              
Flag Coverage Δ
harness ?
web 53.38% <3.03%> (-0.03%) ⬇️

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

Files Coverage Δ
...es/ExperimentDetails/ExperimentSingleTrialTabs.tsx 85.37% <100.00%> (ø)
webui/react/src/pages/SearchDetails.tsx 0.00% <0.00%> (ø)

... and 323 files with indirect coverage changes

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

}
try {
const trialsResponse = await getExpTrials(
{ id: experiment.id, limit: 2 },
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: limit 2 seems a bit arbitrary

This loads trial data for single run searches in the search view. this
prevents issues with the continue trial where the trial information was
missing in the experiment config.
@ashtonG ashtonG force-pushed the bug/ET-647/load-single-trial-search-trial-data branch from 7c93753 to bb15007 Compare July 29, 2024 19:33
@ashtonG ashtonG merged commit 875cb48 into main Jul 29, 2024
82 of 95 checks passed
@ashtonG ashtonG deleted the bug/ET-647/load-single-trial-search-trial-data branch July 29, 2024 19:56
github-actions bot pushed a commit that referenced this pull request Jul 29, 2024
@dannysauer dannysauer restored the bug/ET-647/load-single-trial-search-trial-data branch July 29, 2024 20:39
dannysauer added a commit that referenced this pull request Jul 29, 2024
)

Co-authored-by: Ashton Galloway <ashton.galloway@hpe.com>
@dannysauer dannysauer deleted the bug/ET-647/load-single-trial-search-trial-data branch July 29, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed to-cherry-pick Pull requests that need to be cherry-picked into the current release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants