vivarium: no negative control for the verdict, no leak check, the offline guarantee is printed, and pure logic lacks unit tests · Issue #1491 · nixidae/nixidae · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vivarium: no negative control for the verdict, no leak check, the offline guarantee is printed, and pure logic lacks unit tests #1491
Landed in main 1e1ba0f. Two things stay as they are:
passed({}) is still True. phases defaults to {}, so a run with no phases is legal, and making it red is a behaviour change. Recommendation: refuse an empty phases in modules/run.nix with an assertion, which is clearer than a red verdict. Not done without a decision.
Activity
vivarium: unit tests for logic only guest tests reached
uml-passt-bridge: parse the command line in a function, and test it
vivarium: the offline check asserts, and CI runs it offline
Lillecarl commentedon Nov 18, 2026
Landed in main 1e1ba0f. Two things stay as they are:
passed({})is stillTrue.phasesdefaults to{}, so a run with no phases is legal, and making it red is a behaviour change. Recommendation: refuse an emptyphasesinmodules/run.nixwith an assertion, which is clearer than a red verdict. Not done without a decision.test-uplink-offlineproves IPv4 and DNS on a runner. GitHub runners have no public IPv6 (IPv6 on GitHub-hosted runners actions/runner-images#668), so the IPv6 half of vivarium: --offline leaks IPv6 to the internet, and differs from a sandboxed build #1094 stays a by-hand run on a host with IPv6 (measured on dynhetz, in the comment oninternal.uplink).Assisted-By: Claude Opus 5.5
vivarium: fail the red pytest case through pytest.fail
vivarium: refuse a run with no phases