Skip to content

Update liveness trigger docs: no cooldown for part online/offline#5195

Merged
btshrewsbury-viam merged 2 commits into
mainfrom
claude/update-liveness-trigger-no-cooldown
Jul 14, 2026
Merged

Update liveness trigger docs: no cooldown for part online/offline#5195
btshrewsbury-viam merged 2 commits into
mainfrom
claude/update-liveness-trigger-no-cooldown

Conversation

@shannonbradshaw

Copy link
Copy Markdown
Collaborator

Part online and part offline triggers now fire on every state transition with no cooldown interval. The ENABLE_LIVENESS_TRIGGER_STATE_TRANSITION_NOTIFICATIONS feature flag was removed in app#12683, making event-based liveness notifications the default behavior.

Source changes

  • viamrobotics/app#12683: Remove the ENABLE_LIVENESS_TRIGGER_STATE_TRANSITION_NOTIFICATIONS feature flag — liveness triggers are now always event-based with no cooldown

Docs changes

  • docs/reference/triggers.md: Removed seconds_between_notifications from the part status trigger template; added note that part status triggers fire on every state transition. Updated the attributes table to note the field is ignored for part_online and part_offline.
  • docs/monitor/alert.md: Removed seconds_between_notifications from part online and part offline JSON examples; removed "set the alert frequency" from builder mode instructions (the UI hides the cooldown field for liveness triggers); updated "Manage alert frequency" section to clarify it applies to data triggers, not liveness triggers.
  • docs/data/trigger-on-data.md: Updated the notification interval section to note seconds_between_notifications is ignored for liveness triggers.
  • docs/cli/reference.md: Added part_offline to the event type list; removed seconds_between_notifications from the part_online CLI example.

How I found these

  • Grep matches: searched for seconds_between_notifications, part_online, part_offline, liveness, cooldown, and state transition across the entire docs repo. Found references in 5 files; 4 required updates.

Generated by daily docs change agent


Generated by Claude Code

Part online and part offline triggers now fire on every state
transition with no cooldown interval. The ENABLE_LIVENESS_TRIGGER_-
STATE_TRANSITION_NOTIFICATIONS feature flag was removed (app#12683),
making event-based liveness notifications the default behavior.

Updated four pages to remove seconds_between_notifications from
liveness trigger examples and add notes explaining that these
triggers fire on every transition.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01PLP3YPPgRvxxiFZHrtWE1d
@netlify

netlify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 504a06d
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6a56b10b13a16e0008e79e21
😎 Deploy Preview https://deploy-preview-5195--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: 42 (🔴 down 4 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change 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 Jul 14, 2026
@btshrewsbury-viam

Copy link
Copy Markdown
Collaborator

Marvin (@enternal-L) Would you mind reviewing this please?

@btshrewsbury-viam
btshrewsbury-viam merged commit c81693b into main Jul 14, 2026
13 checks passed
@btshrewsbury-viam
btshrewsbury-viam deleted the claude/update-liveness-trigger-no-cooldown branch July 14, 2026 22:14
@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.

5 participants