11 Commits
Author SHA1 Message Date
waozi 71a56a13e6 Run the Mesh CI workflow natively without Docker
Mesh CI and deploy / checks (push) Failing after 18m32s
Mesh CI and deploy / native (push) Successful in 30m56s
Mesh CI and deploy / scans (push) Successful in 33m38s
Mesh CI and deploy / deploy (push) Skipped
2026-11-24 18:31:55 -03:00
waozi e56d79dd52 Document Avahi Core as a native runtime requirement
Mesh CI and deploy / container (push) Skipped
Mesh CI and deploy / native (push) Successful in 12m37s
Mesh CI and deploy / scans (push) Successful in 16s
Mesh CI and deploy / checks (push) Successful in 16m17s
Mesh CI and deploy / deploy (push) Failing after 37s
Go advertised the node through its own mDNS; native loads
libavahi-core.so.7 at runtime and logs a single line when it is missing.
The origin lacked the library, so selecting native dropped LAN discovery.

State the package requirement beside the existing libmicrohttpd12t64 note
and why the deploy must not install it: deploy/install.sh is exercised by
tests on a rootless runner.
2026-11-23 09:38:54 -03:00
waozi 39cda79d13 Cut the per-push gate: parallel jobs, one Go test run, binaries built once
Mesh CI and deploy / container (push) Skipped
Mesh CI and deploy / checks (push) Successful in 47m51s
Mesh CI and deploy / native (push) Failing after 23m36s
Mesh CI and deploy / scans (push) Successful in 27m0s
Mesh CI and deploy / deploy (push) Skipped
Run 389 took 70 minutes in checks and 22 in deploy. Each job rebuilt Ziran
(about 10 minutes, the runner's cache server is unreachable), the Go
package ran twice (coverage 13 minutes, race 22), SQLite and libmicrohttpd
were rebuilt for the native suite, and the deploy regenerated everything
before the origin compiled both servers again.

Now checks, native and scans run side by side. Go tests run once per push;
coverage, the race detector and the container image (which nothing
deploys) move to the weekly run. Each runner keeps its Ziran build and the
SQLite and libmicrohttpd builds keyed by their pins, and scans skip inputs
that already passed on that runner. Build's slots and the origin run
Debian 13 with glibc 2.41, so checks and native build the Go and native
releases with their manifests and the deploy ships them; the origin
gateway checks each against its manifest and compiles nothing. A release
build fails if a binary needs a newer glibc than the origin's.
2026-11-23 06:02:52 -03:00
waozi 09cd516a75 Retire the GitHub deploy path and its origin key tooling
The GitHub mirror's deploy and origin-identity workflows logged in to the
production origin as root with an unrestricted key. That key is removed
from the origin and the workflows are disabled, so their files and the
bootstrap scripts only they used are deleted. Gitea's forced-command
deploy is the only path, and the workflow test now refuses a GitHub
deploy workflow. The deployment-input test checks the Gitea workflow.
2026-11-23 01:59:35 -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 fb4ab2949f Run the shared-slot Gitea gates in one checks job
Mesh CI and deploy / container (push) Failing after 35m8s
Mesh CI and deploy / deploy (push) Canceled after 0s
Mesh CI and deploy / checks (push) Canceled after 36m51s
Lint, test, race, vulnerability, gosec and license checks each set up
Ziran, regenerated the Go and rebuilt liboqs on the single shared Build
slot. One checks job now does that setup once, runs the plain tests and
coverage in one pass, and drops the repeated migration test. The
container job still runs in parallel on the Mesh runner.

The origin gate requires the checks and container jobs, and a workflow
test keeps it equal to the deploy needs.
2026-11-22 15:19:24 -03:00
waozi c1783c1201 Move Mesh CI and API deployment to Gitea 2026-11-22 14:55:41 -03:00
waozi 82940cd9f0 Native Linux Mesh server with WAL PRAGMAs, unlocked crypto/sync, and key-delete buffer wipe 2026-11-22 02:54:39 -03:00
waozi ed259e0334 Organize Mesh sources and finish the Ziran application port 2026-11-19 21:38:33 -03:00
waozi 35159302be Rename Daochi to Mesh with compatible state and deployment migrations 2026-11-17 14:57:07 -03:00
waozi 09fc5c702e Improve sync compression with bounded Zstandard reuse 2026-10-26 13:58:37 -03:00