muster-server

command
v0.191.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 83 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation ΒΆ

Overview ΒΆ

Command muster-server is muster's HTTP service: the task board, the agent surfaces, the connectors and the machine API, over the Postgres database internal/db migrates.

πŸ”΄ IT EXISTS BECAUSE EVERYTHING BELOW IT DID NOT LINK INTO ANYTHING. Before this file, `go list -deps ./cmd/...` resolved four packages of this module β€” cmd/muster, cmd/muster-migrate, internal/db and internal/taskstatus β€” and internal/api appeared in ZERO of them. Sixteen of the module's twenty packages, including every HTTP handler and every view, were reachable only from _test.go files: they compiled, they were tested, and no process could ever execute them. The README said so in one place ("there is no server") and contradicted itself in another; a reader who saw a non-empty RegisterRoutes concluded a running service. TestTheHTTPLayerLinksIntoABinary and TestTheServerListensAndServesHealth are what stop that inference being available again β€” the first pins the link graph, the second drives a real listener.

Configuration is read from the environment, once, in config.go β€” which is the only place a MUSTER_* name is spelled in this binary.

πŸ”΄ EVERY api DEPENDENCY NOW HAS AN IMPLEMENTATION IN THIS MODULE, AND EACH IS STILL OFF BY DEFAULT. This paragraph read "THREE api DEPENDENCIES ARE DELIBERATELY LEFT NIL: Provisioner, PrivilegeApply and the ProfileReapplier a provisioner may also satisfy." internal/agentprovision now satisfies Provisioner AND ProfileReapplier and internal/agentgateway satisfies Gateway; PrivilegeApply was removed with the privilege subsystem. What survives is the SHAPE of the argument β€” a fake is worse than a nil β€” and the defaults: MUSTER_AGENT_PROVISIONER and MUSTER_AGENT_GATEWAY both ship off, so an unchanged deployment gets the same nils it always had. The full statement β€” what, why, the closing condition and who checks it β€” is in doc_seams.go, beside the code it affects, and the boot banner says which tiers are in force out loud on every start.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL