Commit Graph
4 Commits
Author SHA1 Message Date
waozi 938156c35a Run the native server in production and keep sync tokens out of the unit
Mesh CI and deploy / container (push) Successful in 22m21s
Mesh CI and deploy / checks (push) Successful in 51m58s
Mesh CI and deploy / deploy (push) Successful in 19m14s
deploy/runtime selects the native Ziran server. The Go binary stays at
/opt/mesh/mesh for its CLI commands and as the rollback, which removing
mesh.service.d/30-runtime.conf restores.

systemd shows Environment= values to local users, and the node sync
token in the 20-mesh-mesh.conf and 20-daochi-mesh.conf drop-ins was an
older value that /etc/mesh/mesh.env overrides. Installs now back up and
remove both drop-ins, rollback restores them, and a deploy that passes a
token is refused before any change, so the 0600 mesh.env is the only
place that holds it.
2026-11-22 22:49:18 -03:00
waozi f9fb1555ba Ship and install the native server beside the Go binary
The deploy job adds the native server's generated C and SQLite source to
the artifact. The origin gateway builds them with cc when present and
verifies their manifest, and install.sh installs /opt/mesh/mesh-native
beside the Go binary, whose CLI commands stay in use.

deploy/runtime selects the server through a mesh.service drop-in. It
stays go until the origin has built native once; a failed install
restores the previous binary and selection.
2026-11-22 18:17:12 -03:00
waozi 35159302be Rename Daochi to Mesh with compatible state and deployment migrations 2026-11-17 14:57:07 -03:00
waozi 64f75e90fc Validate published dependency graph and isolate deployment shell inputs 2026-10-30 21:21:24 -03:00