towerops/lib/towerops/profiles
Graham McIntire 8729e36aff fix: use runtime env config in YamlProfiles init (broken in releases)
Mix isn't loaded in mix releases, so Mix.env() raised
UndefinedFunctionError inside YamlProfiles.init/1, crashing the
GenServer at boot. That made Supervisor.start_link return {:error, ...}
in production, which the application-start callback then masked by
exiting on the unrelated Task.Supervisor.start_child noproc — leaving
the pod in CrashLoopBackoff with no clear log of the real failure.

Switch to Application.get_env(:towerops, :env), which is set in all
three environments (dev/test/runtime).

Also harden the post-startup callback so a transient TaskSupervisor
noproc cannot mask a real Supervisor.start_link error in the future.
2026-05-01 16:40:10 -05:00
..
device_oid.ex add universoal import 2026-01-18 16:59:34 -06:00
device_profile.ex add universoal import 2026-01-18 16:59:34 -06:00
mib_cache.ex complete overhaul of snmp engine 2026-01-30 10:41:07 -06:00
profile_watcher.ex tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
sensor_oid.ex add universoal import 2026-01-18 16:59:34 -06:00
yaml_profiles.ex fix: use runtime env config in YamlProfiles init (broken in releases) 2026-05-01 16:40:10 -05:00