Skip to content

DOCS-3962: Tweak local module instructions #4330

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

Merged
merged 3 commits into from
May 23, 2025

Conversation

JessamyT
Copy link
Collaborator

Apply some fixes that arose from a recent convo w/Felix

Copy link

netlify bot commented May 20, 2025

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit b3465d2
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/682f6ecc6f95ac0008880f85
😎 Deploy Preview https://deploy-preview-4330--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 53 (🔴 down 3 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

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

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label May 20, 2025
```

Then restart it in your machine's **CONFIGURE** tab in the Viam app.
Restart the module in your machine's **CONFIGURE** tab in the Viam app.
Copy link
Collaborator

Choose a reason for hiding this comment

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

so for pyinstaller I need to run the CLI command but for venv I need to do it in the UI? What happens if I use the restart option in the UI for pyinstaller and the cli command for venv?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

So they're not actually the same--reload rebuilds AND restarts, whereas the UI just restarts. So, reload is unnecessarily time consuming if using run.sh as the entrypoint, because nothing needs to be built.

If you use the restart button for pyinstaller, you won't have a newly-built executable--you'll just be restarting the same executable you used previously.

Copy link
Collaborator Author

@JessamyT JessamyT May 21, 2025

Choose a reason for hiding this comment

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

Do you think I should make this more explicit? Didn't want to over-explain and make it too verbose, but rather just tell them what they need to do.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah I think it may just be a bit of a tripwire where people see viam module build local on the first tab and expect to be able to do the same on venv. I think a sentence about "Because you're using pyinstaller it is enough to rebuild the module with: ..." and soemthing similar on venv would avoid any stumbling

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Okay added something to the venv tab but I think the first tab is okay as-is now that the venv tab addresses why it's different.

Copy link
Collaborator

@npentrel npentrel left a comment

Choose a reason for hiding this comment

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

First comment is not a blocker for this PR but one I think it's probably worth getting fixed in the product. Second comment is confusing to me

@JessamyT JessamyT requested a review from npentrel May 21, 2025 18:45
@JessamyT JessamyT merged commit 8b0a139 into viamrobotics:main May 23, 2025
12 checks passed
@JessamyT JessamyT deleted the 3962buildrun branch May 23, 2025 16:52
Copy link

🔎💬 Inkeep AI search and chat service is syncing content for source 'Viam Docs'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to build This pull request is marked safe to build from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants