Watch
0
0
Fork
You've already forked hyperhive
0

deploy: drop the rename shims of controller.links, adminSync.ignoreUsers and otel.scrapeTargets

The three `swarm.*` options moved under their service's deploy namespace on
2026-11-01, so their `mkRenamedOptionModule` shims are past the four-week
window. The `core-toggle` eval case that sets the old names on purpose printed
`Obsolete option ... is used` in every `nix flake check` log, from the shim of
`swarm.otel.scrapeTargets`.

The shims go, and so do the case's settings, assertions and rename-warning
entries for these three. The case keeps the other nine renames. The
`swarm-otel-identity` checks read `scrapeTargets` through the old
`swarm.otel` path, which only the shim provided, so they now read
`deploy.swarm-otel.scrapeTargets`. No config, example or doc names the old
paths.

Closes #6929
This commit is contained in:
maia 2026-11-27 17:57:56 +01:00 • committed by mara
commit 26ac7acb25

View file

@ -535,18 +535,6 @@ in
[ "services" "hyperhive" "c0re" "nixpkgsFlake" ]
[ "services" "hyperhive" "deploy" "builder" "nixpkgsFlake" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "controller" "links" ]
[ "services" "hyperhive" "deploy" "swarm-controller" "links" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "matrix" "adminSync" "ignoreUsers" ]
[ "services" "hyperhive" "deploy" "swarm-controller" "matrixAdminSync" "ignoreUsers" ]
)
(lib.mkRenamedOptionModule
[ "services" "hyperhive" "swarm" "otel" "scrapeTargets" ]
[ "services" "hyperhive" "deploy" "swarm-otel" "scrapeTargets" ]
)
# The homeserver's port and its firewall switch, removed rather than
# renamed: tuwunel listens on a unix socket only the gateway reaches, so
# there is no host port to choose or open.