Skip to content

Update machine status docs for the Network field in the status dropdown - #5569

Merged
Jeremy Rose (jeremyrose-viam) merged 2 commits into
mainfrom
claude/update-status-dropdown-network-connections
Nov 23, 2026
Merged

Jeremy Rose (jeremyrose-viam) merged 2 commits into
mainfrom
claude/update-status-dropdown-network-connections

Conversation

@shannonbradshaw

Copy link
Copy Markdown
Collaborator

Source changes

  • APP-18318 — viamrobotics/app#14472 (b442cc478): adds a Network field to each part in the machine status dropdown, listing the part's active network connections (primary first) from viam-agent's active network connections log line (viam-agent v1.2.1 or later, RSDK-14797). Not feature-flagged; app is continuously deployed. viam-agent v1.2.2 is the latest published release.

Documents: no DOCS ticket found (APP-18318 has no parent; the DOCS query over linked issues and children returned nothing). Docs gap: app-part-network-connections.

Docs changes

  • docs/monitor/monitor.md: "Inspect a specific machine" lists what the status dropdown shows per part. Added the Network field, with the details taken from the code:
    • labels from network-connections.ts (<SSID> (<interface>) for Wi-Fi, Ethernet (<interface>), Setup hotspot), and the primary marker shown only when there is more than one connection;
    • viam-agent reports every 5 minutes and on change (NETWORK_CONNECTIONS_LOGGER comment); last reported appears for a live part after 11 minutes (NETWORK_CONNECTIONS_STALE_AFTER_MS = 2 × 5 min + 60 s), not for offline parts;
    • parts with no report (older agent, non-Linux) show "–".

How I found these

  • Xref lookup: none for the machine status dropdown; monitor.md is where the dropdown's fields are listed (the Network health row was added there earlier).
  • Grep: network health, status dropdown, Last online, Network**, active network connections across the docs repo: only monitor.md describes the dropdown.

Checks: prettier 3.2.5, markdownlint, vale 3.12.0, make build-prod: clean.


Generated by daily docs change agent


Generated by Claude Code

app#14472 (APP-18318) adds a Network field to each part in the machine
status dropdown, listing the part's active connections from viam-agent's
active network connections log line (agent v1.2.1 or later).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nja2XnkouVDxo5aWtzgeF3
@netlify

netlify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 0b6ef77
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6b04bdba7d118be060b6a087
😎 Deploy Preview https://deploy-preview-5569--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: 34 (🟢 up 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 92 (no change from production)
PWA: 60 (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 Nov 21, 2026

Jeremy Rose (jeremyrose-viam) commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Docs review: Ready to merge

This PR documents the new Network field in the machine status dropdown. Every claim now matches the app and viam-agent source, the field is live in production, and the missing Bluetooth label was added in 0b6ef77.

CI: All required checks passing

Docs health: No regressions

Released: All documented changes are live: viamrobotics/app PR 14472 (b442cc478) is included in production deploy 8f809da12 (2026-11-23 15:13 UTC, status success).

Nits

  • docs/monitor/monitor.md:57: When the hotspot has a name, the app labels it Setup hotspot <name> rather than bare Setup hotspot, and the agent sets that name to the hotspot SSID. Fix: optional; "the provisioning Setup hotspot" is close enough for readers to recognize it.
Verified against source (10 claims)
  • Agent logs on viam-agent.networking (v1.2.1 or later) on change and every 5 minutes: viamrobotics/app ui/src/lib/logs/network-connections.ts:8; viamrobotics/agent subsystems/networking/networkmanager_linux.go:838 (added in 7672dd9, first tagged v1.2.1)
  • Stale after 2 × 5 min + 60 s (11 minutes): viamrobotics/app ui/src/lib/logs/network-connections.ts:13
  • Labels <SSID> (<interface>), Ethernet (<interface>), Bluetooth (<interface>), Setup hotspot: viamrobotics/app ui/src/routes/(auth-required)/machine/[machine_id]/network-connections/network-connections.ts:7
  • primary shown only with more than one connection; primary listed first: viamrobotics/app .../network-connections/network-connections-field.svelte:44, ui/src/lib/logs/network-connections.ts:71
  • "last reported" is shown only for online parts: viamrobotics/app .../network-connections-field.svelte:18
  • Parts with no report show an en dash: viamrobotics/app .../network-connections-field.svelte:57
  • The primary connection is the link internet traffic leaves on (NetworkManager's primary connection, beneath any VPN): viamrobotics/agent subsystems/networking/networkmanager_linux.go:840
  • Linux only: the log line is in networkmanager_linux.go; other OSes build subsystems/networking/networking_unsupported.go
  • Agent connection types are wifi, wired, hotspot, bluetooth: viamrobotics/agent subsystems/networking/definitions.go:8
  • Field is live in production: app deploy 8f809da12 contains b442cc478 (GitHub compare: ahead 3, behind 0)

Automated review by Claude. Rerunning the review updates this comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeremyrose-viam
Jeremy Rose (jeremyrose-viam) merged commit 6e0d469 into main Nov 23, 2026
14 checks passed
@jeremyrose-viam
Jeremy Rose (jeremyrose-viam) deleted the claude/update-status-dropdown-network-connections branch November 23, 2026 22:30
@github-actions

Copy link
Copy Markdown

🔎💬 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.

4 participants