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

Test Tensorboard functionality in Python extension #14548

Closed
3 of 6 tasks
DonJayamanne opened this issue Oct 22, 2023 · 1 comment
Closed
3 of 6 tasks

Test Tensorboard functionality in Python extension #14548

DonJayamanne opened this issue Oct 22, 2023 · 1 comment

Comments

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Oct 22, 2023

Refs: #14472

Complexity: 4

Create Issue


Test 1

  • Install latest version of VS Code Insiders
  • Install latest pre-release version of Python Extension
  • Install Python and setup a virtual environment in your workspace (required for installation of tensorboad)
  • Open a Python file
  • Select the command Python: Launch Tensorboard
  • Verify you are prompted to install the Tensorboard extension
  • Opon installing the tensorboard extension, verify selecting the command Python: Launch Tensorboard will now work
    • What does it mean by will now work?
    • You will be prompted to install tensorboard
    • Tensoboard UI will be launched (if tensorboard has already been installed)

Test 2

  • Install latest version of VS Code Insiders
  • Install latest pre-release version of Python Extension
  • Install Python and setup a virtual environment in your workspace (required for installation of tensorboad)
  • Open a Python file
  • Write the following code in the file
import tensorboard
  • Verify the code lense Launch Tensorboard Session is displayed
  • Click this code lense
  • Verify you are prompted to install the Tensorboard extension
@luabud
Copy link
Member

luabud commented Oct 24, 2023

You might need to set "python.experiments.optInto": ["pythonRecommendTensorboardExt"], to the User settings.json in case you're unlucky like me and fell in the 10% pre-release bucket that is in the control group

I got the notification as expected:
image

However clicking on the install button didn't do anything (#14557)

once I manually installed it, I still saw a notification coming from the Python extension (I was expecting it to be coming from the Tensorboard extension, but looking at the logs this seems to be expected)
image

image

Tensorboard was launched as expected:
image

Code lenses also showed up successfully (and it prompted to install the extension when I didn't have the Tensorboard ext installed):
image

@luabud luabud removed their assignment Oct 24, 2023
@rebornix rebornix removed their assignment Oct 24, 2023
@karrtikr karrtikr removed their assignment Oct 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants