hyperhive/hive-c0re/src/lifecycle
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 9396918ffb simplify(#2363): drop remap, shrink modulus to exclude DHCP pool
No need to preserve agent IPs across this deploy — nothing outside a
container depends on a specific agent IP.  Simpler approach: subtract
DHCP_POOL_SIZE from the usable count before hashing so agents only ever
land in [2, usable - DHCP_POOL_SIZE + 1], never in the DHCP pool.

Removes the secondary-hash remap block (~10 lines).  Returns None for
subnets too small to hold both agent slots and the pool (edge case;
practical subnets are /24).
2026-07-13 11:57:14 +02:00
..
git.rs refactor(hive-c0re): split lifecycle into submodules 2026-07-06 21:05:52 +02:00
host_config.rs refactor(#2285): repoint all hive-c0re host-path consumers to paths.rs 2026-07-10 20:32:03 +02:00
mod.rs simplify(#2363): drop remap, shrink modulus to exclude DHCP pool 2026-07-13 11:57:14 +02:00
setup.rs refactor(#2285): repoint all hive-c0re host-path consumers to paths.rs 2026-07-10 20:32:03 +02:00
tests.rs simplify(#2363): drop remap, shrink modulus to exclude DHCP pool 2026-07-13 11:57:14 +02:00