Clone this repo:
  1. ef9d088 [maxwell_test] Clean up child processes. by Gabriel Schine · 5 days ago master
  2. 03d7a07 Ignore Dart Analysis Name Error by Alan Gardner · 8 days ago
  3. d50e115 Adding subscriptions to the dashboard by Ross Wang · 2 weeks ago
  4. c4693fa Log dummy actions every few seconds. by Alexandre Zani · 8 days ago
  5. 8108071 Make UserActionLog available to the mi_dashboard. by Alexandre Zani · 2 weeks ago

Fuchsia Maxwell

Services to expose ambient and task-related context, suggestions and infrastructure for leveraging MI.

Running

Before running, follow the instructions at the Fuchsia README.

Maxwell services are launched by Modular on startup with the default build module.

Fuchsia Intelligence Dashboard

Maxwell serves a diagnostic dashboard on port 4000. To access it on most Fuchsia development setups (including EdgeRouter and QEMU), watch the startup logs for the DHCP announcement. Point your browser to port 4000 of that IP after logging into Fuchsia.

At present, the dashboard includes a context dump. More features to follow.

Testing

To run the Maxwell integration tests in a running Fuchsia environment:

@ /system/test/maxwell/integration

A spurious error like

[ERROR:apps/modular/src/component_manager/resource_loader.cc(34)] Error from network service connection

may appear due to the tests not running with networking wired in; it is immaterial to the test.

Kronk

Kronk is the Assistant agent. It is built out-of-tree and deployed to a Google Cloud bucket. Normally, Maxwell launches the stable release version of this agent. For development, set the following in your fgen to use the HEAD unstable version:

fgen --args kronk_dev=true

(and then rebuild)

Other Docs