Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-c0re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
müde 6f1b664c85 lifecycle: stream nixos-container stdout/stderr line-by-line
run() previously buffered the child's output via .output() and
only logged at exit — a multi-minute 'nixos-container update'
(typical on a fresh hyperhive bump) showed nothing in journald
until the very end. operator watching 'journalctl -u hive-c0re
-f' couldn't tell 'slow nix build' from 'wedged daemon'.

new shape: spawn with piped stdio, pump each line into tracing
as it arrives (stdout → INFO, stderr → WARN), keep a tail of
the last 32 stderr lines for the bail message so the eventual
'failed (status 2)' still carries the actual nix eval error.
target field 'nixos-container', argv-equivalent attached via
the 'cmdline' field so filtering by subcommand works.
2026-05-16 02:57:16 +02:00
..
actions.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +02:00
agent_server.rs ask_operator: any agent can call it, answer routes by asker 2026-05-16 01:48:10 +02:00
approvals.rs dashboard: diff against applied/proposal/<id>, prefer fetched_sha 2026-05-15 23:18:17 +02:00
auto_update.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +02:00
broker.rs agent page: inbox view of last 30 messages addressed to this agent 2026-05-15 20:32:19 +02:00
client.rs hive-c0re: admin socket server + client (stub dispatch) 2026-05-14 20:49:11 +02:00
coordinator.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +02:00
crash_watch.rs manager: needs_login / logged_in / needs_update events + update tool 2026-05-15 21:42:13 +02:00
dashboard.rs dashboard: terminal compose with @-mention sticky recipient 2026-05-16 01:55:00 +02:00
events_vacuum.rs events.sqlite vacuum moves host-side 2026-05-15 20:10:34 +02:00
lifecycle.rs lifecycle: stream nixos-container stdout/stderr line-by-line 2026-05-16 02:57:16 +02:00
main.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +02:00
manager_server.rs agent flake.nix: forward inputs as flakeInputs module arg 2026-05-16 02:23:43 +02:00
meta.rs meta: serialize all ops behind a tokio mutex + clear stale lock at startup 2026-05-16 02:44:39 +02:00
migrate.rs meta: serialize all ops behind a tokio mutex + clear stale lock at startup 2026-05-16 02:44:39 +02:00
operator_questions.rs ask_operator: any agent can call it, answer routes by asker 2026-05-16 01:48:10 +02:00
server.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +02:00