feat(status): a status page, for the phone of whoever looks after the box
Is the box up, and speech, and the brain; how many conversations, turns, IR presses, and looks, today and all time. Counts and times only: no transcripts. - status/status.js: what the events and checks add up to, and the page - status/status-server.js: the page, the box's events and heartbeat, and a TCP check of each part every 30 s; events kept in a file - status/pdtv26-status.service and Makefile: sudo make install on the home server, answering only the private network - checks: status (its tests) Generated-by: Claude Opus 5.5
This commit is contained in:
1 parent
84d2816f24
commit
469d642902
8 files changed
+489
No files matched your search
@@ -43,6 +43,7 @@
|
||||
earcons = pkgs.callPackage ./box/earcons.nix { };
|
||||
brain = pkgs.callPackage ./brain/brain.nix { src = self; };
|
||||
brain-js = pkgs.callPackage ./brain/default.nix { };
|
||||
status = pkgs.callPackage ./status/default.nix { };
|
||||
});
|
||||
|
||||
# nix develop --command make test
|
||||
@@ -63,6 +64,7 @@
|
||||
brain-js = self.packages.${pkgs.stdenv.hostPlatform.system}.brain-js;
|
||||
# The channel, its unit, and its instructions, put together.
|
||||
brain = self.packages.${pkgs.stdenv.hostPlatform.system}.brain;
|
||||
status = self.packages.${pkgs.stdenv.hostPlatform.system}.status;
|
||||
# Doctests, and pyflakes for the names doctests don't reach.
|
||||
box-py = pkgs.runCommand "box-py-doctests" { nativeBuildInputs = [ (python pkgs) ]; } ''
|
||||
cd ${./box/body}
|
||||
|
||||
Reference in new issue
Block a user