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
atlas fb5eb9edc1 agents: read every MemoryMax= size systemd enforces
`parse_bytes` knew only K/M/G/T, in either case. A size with the bare
`B` unit (`1048576B`), which `validate_memory_max` stores and systemd
enforces, became `infinity` in the agent's cap file: the cgroup was
capped while the agent was told there was no cap. It now takes exactly
the single-term forms systemd's `parse_size` does: no suffix, `B`, or
K/M/G/T/P/E, case-sensitive. Lowercase units and `4GB`, which systemd
refuses and so leaves the unit uncapped, read as `infinity` too.

A test runs every suffix form the validator accepts through it and
checks the stored value parses to the right byte count.

Part of #5081 (slice S0-2).
2026-10-12 10:59:12 +02:00
..
agent_config agents: read every MemoryMax= size systemd enforces 2026-10-12 10:59:12 +02:00
dashboard agents: remove send(operator) and the operator inbox; alert on turn failures 2026-10-12 08:50:06 +02:00
forge hive-c0re: a refused rev is an error log + Grafana alert, not a PR comment 2026-10-09 22:25:39 +02:00
job_queue docs: the agent config meta-flake input is the local applied mirror, not forge git+http 2026-10-10 14:06:43 +02:00
lifecycle agents: read every MemoryMax= size systemd enforces 2026-10-12 10:59:12 +02:00
socket_server agents: the send(operator) refusal also covers agents without matrix 2026-10-12 08:50:06 +02:00
stats hive-c0re/swarm-*: drop clippy allows and dedupe unix_now + KV open_or_create 2026-10-09 10:25:48 +02:00
stores agents: remove send(operator) and the operator inbox; alert on turn failures 2026-10-12 08:50:06 +02:00
workers hive-c0re: bound the read-only container listing and systemctl status calls 2026-10-09 15:46:55 +02:00
actions.rs hive-c0re: a deploy request for a rev applied/main already contains is a no-op 2026-10-09 22:25:39 +02:00
container_view.rs agents: remove the hive-level /model control; the swarm editor sets the model 2026-10-10 23:11:53 +02:00
coordinator.rs hive-c0re: close build-log rows a dead process left in flight 2026-10-11 02:37:08 +02:00
dashboard_events.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
gateway_nginx.rs hive-c0re, hivectl: make the htpasswd and wg key tests fail on the in-place write 2026-10-09 17:22:25 +02:00
loose_ends.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
main.rs hive-c0re: validate forge env at startup; char-safe short revs 2026-10-09 10:51:39 +02:00
matrix.rs hive-c0re: stop silently dropping errors on credential/marker writes 2026-10-09 10:24:15 +02:00
meta.rs agents: read the memory cap at boot, not from the build 2026-10-12 10:59:11 +02:00
migrate.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
paths.rs hive-c0re: stop silently dropping errors on credential/marker writes 2026-10-09 10:24:15 +02:00
priv_client.rs agents: read the hive's name and domain at runtime, not from the build 2026-10-12 10:52:21 +02:00
secret_file.rs hive-c0re: stop silently dropping errors on credential/marker writes 2026-10-09 10:24:15 +02:00
server.rs agents: read the memory cap at boot, not from the build 2026-10-12 10:59:11 +02:00
snapshot_push.rs hive-c0re: clear O_NONBLOCK on the snapshot-store socket before btrfs send gets it 2026-10-11 02:42:45 +02:00
swarm_agent_status.rs hive status publishing: read the hive's OIDC secret from the store, retry until it is there 2026-10-10 01:05:33 +02:00
swarm_notices.rs swarm: present tense + no-queue-coordinates wording 2026-09-13 12:01:58 +02:00
swarm_queue.rs hive status publishing: read the hive's OIDC secret from the store, retry until it is there 2026-10-10 01:05:33 +02:00
swarm_status.rs hive status publishing: read the hive's OIDC secret from the store, retry until it is there 2026-10-10 01:05:33 +02:00
test_env.rs test(hive-c0re): one crate-wide lock for env-mutating tests 2026-08-19 01:38:54 +02:00