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: Tensorboard broken on unified install [CM-578] #10080

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

varlogtim
Copy link
Member

I think this was just missed in: #8700

Description

  • Fix nil map.

Test Plan

  • Launch a Tensorboard on a unified install.

@varlogtim varlogtim requested a review from a team as a code owner October 18, 2024 14:20
@cla-bot cla-bot bot added the cla-signed label Oct 18, 2024
Copy link

netlify bot commented Oct 18, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit f7651bd
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/67126eacd5be71000872f26b

@stoksc stoksc removed the request for review from corban-beaird October 18, 2024 14:23
@@ -286,6 +286,10 @@ func (a *apiServer) LaunchTensorboard(
if err != nil {
return nil, err
}

if launchReq.Spec.Base.ExtraEnvVars == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

curse go for the zero value of slices being usable but the zero value for maps not, haha.

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 54.38%. Comparing base (34e4749) to head (f7651bd).

Files with missing lines Patch % Lines
master/internal/api_tensorboard.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10080      +/-   ##
==========================================
- Coverage   54.39%   54.38%   -0.02%     
==========================================
  Files        1268     1268              
  Lines      159317   159319       +2     
  Branches     3631     3631              
==========================================
- Hits        86668    86651      -17     
- Misses      72515    72534      +19     
  Partials      134      134              
Flag Coverage Δ
backend 45.53% <0.00%> (-0.04%) ⬇️
harness 72.55% <ø> (ø)
web 53.94% <ø> (ø)

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

Files with missing lines Coverage Δ
master/internal/api_tensorboard.go 29.37% <0.00%> (-0.20%) ⬇️

... and 6 files with indirect coverage changes

@varlogtim varlogtim merged commit 27a014b into main Oct 18, 2024
85 of 98 checks passed
@varlogtim varlogtim deleted the CM-578-Tensorboard-nil-map branch October 18, 2024 19:13
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