Skip to content

fix(demo): show outbound heartbeats read-only instead of hiding them - #130

Merged
btouchard merged 1 commit into
mainfrom
fix/demo-outbound-heartbeats
Oct 1, 2026
Merged

btouchard merged 1 commit into
mainfrom
fix/demo-outbound-heartbeats

Conversation

@btouchard

Copy link
Copy Markdown
Contributor

In demo mode, outbound heartbeats were the only feature removed from the product: routes unregistered, nav entry hidden, page replaced by an "Unavailable in demo mode" state. Every other feature, such as agent enrollment, stays visible and is simply refused on write.

This aligns outbound heartbeats with that behaviour:

  • The outbound heartbeat routes are registered in demo mode too. DemoModeGuard refuses every write with 403 DEMO_MODE, which the UI already turns into the demo toast.
  • The scheduler still does not start in demo mode, so no ping is ever sent.
  • The nav entry and the page are shown as in a normal build. The hideInDemo nav flag had no other user and is removed.
  • The API reference and the heartbeats page of the docs are updated accordingly.

Register the outbound heartbeat routes in demo mode and keep the page and
its nav entry, like agent enrollment: DemoModeGuard refuses every write and
the scheduler stays off, so no ping is ever sent. Drop the now unused
hideInDemo nav flag.
@btouchard
btouchard merged commit df1e3ac into main Oct 1, 2026
22 checks passed
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.

1 participant