Watch
0
0
Fork
You've already forked hyperhive
0

module-eval: drop 18 redundant cases and merge assertion-only hosts

Refs #5379
This commit is contained in:
atlas 2026-10-16 19:58:10 +02:00 • committed by mara
commit 2ff253e520
15 changed files with 122 additions and 359 deletions

View file

@ -113,16 +113,6 @@ let
&& c.RuntimeDirectoryPreserve == "yes"
&& c.UMask == "0377";
}
{
# Rename in only on a change: a reader never sees half a token, and the
# avatar watcher does not fire on every timer tick.
name = "the fetch swaps the token in by rename, only when it changed";
ok =
let
s = (fetchUnit agentForgeBao).script;
in
lib.hasInfix "cmp -s" s && lib.hasInfix "mv -f" s;
}
{
# Every unit and the bash-task runner find the token through this. A
# path, never the value.
@ -212,10 +202,6 @@ let
&& !(lib.hasInfix "rm -f \"$sidecar\"" s)
&& !(lib.hasInfix "forge-*" s);
}
{
name = "the account fetch re-runs every two minutes";
ok = agentForgeBao.systemd.timers.hive-agent-forge-accounts.timerConfig.OnUnitInactiveSec == "2min";
}
];
in
runGroup "agent-forge-bao" cases