DockerSocketLocator.locate and InitCommand.runningJarPath (56 each),
readHostname and stateHome (42) read the host directly. Their rules move
into candidate, jarPathOf, hostnameOf and StateHome.of, reached through
seams; the state-directory rule written out three times is one. Nightly
gate 57 -> 47.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi
changed title from What Werkator asks the host is decided by rules with tests (v1.34.4) to Unit tests for detecting the Docker socket, the running jar, the hostname and the state directory (v1.34.4)2026-10-04 12:23:28 +02:00
mi
merged commit fadbcd305f into main2026-10-04 12:23:50 +02:00
mi
deleted branch mihoe/environment-probes2026-10-04 12:23:50 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Third Mutation-CRAP refactoring: the environment probes.
DockerSocketLocator: seams for env, path existence, socket group;candidateholds the rule order (56 -> 5.1).InitCommand.jarPathOf(runningJarPath 56 -> 6),HostingEnvironments.hostnameOf(readHostname 42 -> 2).StateHome.of: the one XDG_STATE_HOME rule, used by metrics, nginx default, artifact store.maxMutationCrap57 -> 47 (highest left: BuildExecutor.runBuildCommands 46.55).PR-doc:
docs/prs/2026-10-04-PR#107-environment-probes.md🤖 Generated with Claude Code
What Werkator asks the host is decided by rules with tests (v1.34.4)to Unit tests for detecting the Docker socket, the running jar, the hostname and the state directory (v1.34.4)