Skip to content

Fix broken artifact string in launch init config#3582

Merged
raubitsj merged 11 commits intomasterfrom
launch/fix-artifact-strings
Apr 29, 2022
Merged

Fix broken artifact string in launch init config#3582
raubitsj merged 11 commits intomasterfrom
launch/fix-artifact-strings

Conversation

@KyleGoyette
Copy link
Copy Markdown
Contributor

@KyleGoyette KyleGoyette commented Apr 27, 2022

Fixes WB-9452
Fixes #NNNN

Description

Fixes an issue where in the launch context, passing in an artifact string would break the run.

Testing

How was this PR tested?

Checklist

  • Name PR "[WB-NNNN][WB-MMMM] Add support for..." similar to entries in CHANGELOG.md
  • Include reference to internal ticket "Fixes WB-NNNN" (and github issue "Fixes #NNNN" if applicable)

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2022

Codecov Report

Merging #3582 (b5bfc9a) into master (da1d6ff) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3582      +/-   ##
==========================================
+ Coverage   81.58%   81.59%   +0.01%     
==========================================
  Files         240      240              
  Lines       29523    29525       +2     
==========================================
+ Hits        24086    24091       +5     
+ Misses       5437     5434       -3     
Flag Coverage Δ
functest 57.73% <100.00%> (+<0.01%) ⬆️
unittest 71.81% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
wandb/sdk/wandb_init.py 85.48% <100.00%> (+0.02%) ⬆️
wandb/sdk/wandb_run.py 89.60% <100.00%> (-0.25%) ⬇️
wandb/__init__.py 91.26% <0.00%> (-0.98%) ⬇️
wandb/sdk/lib/git.py 76.19% <0.00%> (ø)
wandb/filesync/dir_watcher.py 85.52% <0.00%> (+1.35%) ⬆️
wandb/sdk/internal/meta.py 90.68% <0.00%> (+3.10%) ⬆️

@KyleGoyette KyleGoyette changed the title fix [WB-9452] Fix broken artifact string in launch init config Apr 27, 2022
@KyleGoyette KyleGoyette marked this pull request as ready for review April 27, 2022 17:47
@KyleGoyette KyleGoyette requested review from a team and hu-po April 27, 2022 17:47
@kptkin kptkin added this to the sdk-2022-05.1 milestone Apr 28, 2022
Copy link
Copy Markdown
Member

@dmitryduev dmitryduev left a comment

Choose a reason for hiding this comment

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

Looks correct to me! Thanks @KyleGoyette :)

@raubitsj raubitsj merged commit 6bc40bd into master Apr 29, 2022
@raubitsj raubitsj deleted the launch/fix-artifact-strings branch April 29, 2022 19:44
@raubitsj raubitsj changed the title [WB-9452] Fix broken artifact string in launch init config Fix broken artifact string in launch init config May 2, 2022
KyleGoyette added a commit that referenced this pull request Jun 1, 2022
KyleGoyette added a commit that referenced this pull request Jun 15, 2022
…ig during upsert run (#3734)

* Revert "[WB-9452] Fix broken artifact string in launch init config (#3582)"

This reverts commit 6bc40bd.

* ini commit

* re add tests

* fix

* fix

* make _handle_launch_config a function rather than an _WandbInit method

* fix final tests

* remove unused code

* fix settings source

* make more readable

Co-authored-by: Dmitry Duev <dmitryduev@users.noreply.github.com>
Co-authored-by: Hugo <8493427+hu-po@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants