21 Commits
Author SHA1 Message Date
waozi 0f3496262c Rewrite the liboqs fetch to the Gitea vendor copy in CI generation
Mesh CI and deploy / native (push) Successful in 9m19s
Mesh CI and deploy / scans (push) Successful in 4m59s
Mesh CI and deploy / checks (push) Successful in 14m38s
Mesh CI and deploy / deploy (push) Successful in 1m43s
2026-11-24 20:44:01 -03:00
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
waoziandCommandCodeBot 6f5d618f64 Link the native release against the libmicrohttpd the suite built
Mesh CI and deploy / container (push) Skipped
Mesh CI and deploy / checks (push) Successful in 15m3s
Mesh CI and deploy / scans (push) Successful in 3m12s
Mesh CI and deploy / native (push) Successful in 12m30s
Mesh CI and deploy / deploy (push) Successful in 2m10s
Run 431's native job failed at the release link with
"cannot find -l:libmicrohttpd.so.12", so the deploy job was skipped and
production stayed on the run 358 binary. The native suite passes the library
path through MICROHTTPD_NATIVE_DIR, but build-native was the only native
target that ignored it, and the release step did not pass it either.

build-native now honours MICROHTTPD_NATIVE_DIR like every sibling target,
the release step passes the path the native-libraries action already built,
and the workflow test fails when that argument goes missing again.

Co-authored-by: CommandCodeBot <[email protected]>
2026-11-23 08:48:53 -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 e5644145a7 Pin the pushed native dependencies and restore the native CI steps
Mesh CI and deploy / container (push) Successful in 50m22s
Mesh CI and deploy / checks (push) Successful in 1h37m27s
Mesh CI and deploy / deploy (push) Successful in 24m35s
The toolchain moves to Ziran c450e3a3 for rooted child file handles and
multi-member gzip, compression to c42011e for the zstd streaming encoder
and SQLite to b15b524 for busy and progress handlers. The native server
now builds from the locked inputs, so the checks job runs the native
server suite again and the deploy job ships the generated native C.
2026-11-22 22:42:49 -03:00
waozi cd913bc2fd Skip CI for plan and Markdown pushes; close the Gitea delivery plan
Mesh CI and deploy / container (push) Successful in 14m53s
Mesh CI and deploy / checks (push) Successful in 30m23s
Mesh CI and deploy / deploy (push) Successful in 9m21s
Gitea run 313 deployed b4ea4c2 after every gate passed, and the public
node and the origin manifest report that revision. Pushes that change
only plans or Markdown no longer test or redeploy the server.
2026-11-22 21:26:39 -03:00
waozi b4ea4c2399 Accept Gitea's trailing-slash server URL in the deploy guard
Mesh CI and deploy / container (push) Successful in 14m13s
Mesh CI and deploy / checks (push) Successful in 32m6s
Mesh CI and deploy / deploy (push) Successful in 9m59s
Gitea evaluates job conditions with its ROOT_URL, https://git.waozi.xyz/,
so the exact comparison skipped the deploy job after every gate passed.
The runtime check in the deploy job strips the same trailing slash.
2026-11-22 20:42:46 -03:00
waozi 12226b595b Give the Gitea Go test runs a 30 minute timeout
Mesh CI and deploy / container (push) Successful in 15m10s
Mesh CI and deploy / checks (push) Successful in 28m24s
Mesh CI and deploy / deploy (push) Skipped
The Mesh package takes about 9 minutes under -race on the shared slot, and
on the overflow runner it passed go test's default 10 minute limit.
2026-11-22 20:12:46 -03:00
waozi e45576d881 Always write the gosec report in Gitea CI
Mesh CI and deploy / container (push) Successful in 15m12s
Mesh CI and deploy / checks (push) Failing after 30m44s
Mesh CI and deploy / deploy (push) Skipped
With -quiet, gosec writes no report when it finds nothing, so the clean
scan passed and the required report upload failed. The scan now always
writes its SARIF.
2026-11-22 19:40:08 -03:00
waozi 76fe8298ac Hold native CI steps until the native dependencies are pushed
Mesh CI and deploy / container (push) Successful in 14m24s
Mesh CI and deploy / checks (push) Failing after 27m14s
Mesh CI and deploy / deploy (push) Skipped
The native server compiles only with uncommitted Ziran standard library,
compression and SQLite work, so with the locked toolchain the checks job
and the native release in the deploy job failed and blocked every Go
deploy. The plan lists the missing symbols and how to restore both steps.
2026-11-22 19:10:32 -03:00
waozi 310fc4b53e Forward the native targets through the make shim
Mesh CI and deploy / container (push) Successful in 15m19s
Mesh CI and deploy / checks (push) Failing after 29m35s
Mesh CI and deploy / deploy (push) Skipped
make reads the lowercase makefile shim first, which forwards a fixed list
of targets, so CI could not run sqlite-native and the origin could not run
build-native. A workflow test checks that every target CI runs is
forwarded.
2026-11-22 18:35:55 -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 6888d84371 Report coverage in module mode and clear stale CI images
go tool cover lists the profiled packages in vendor mode, which the
liboqs vendor folder fails, so the checks job failed after every test
passed. A cancelled container job also leaves its image behind until the
Mesh runner refuses work below 2 GiB free; each build now removes earlier
job images first.
2026-11-22 18:08:59 -03:00
waozi a5efee723d Run the native server suite in Gitea CI
CI tested only the Go build. The checks job now builds SQLite from the
locked sqlite3 source outside its package checkout, extracts Debian's
pinned libmicrohttpd 1.0.1-4, the package the origin installs, and runs
the native server suite against both.
2026-11-22 17:42:02 -03:00
waozi 07eb5f780d Install Trivy from its pinned release in Gitea CI
Mesh CI and deploy / checks (push) Failing after 24m12s
Mesh CI and deploy / deploy (push) Canceled after 0s
Mesh CI and deploy / container (push) Canceled after 13m28s
trivy-action's setup checked Trivy out from GitHub with the Gitea job
token, which GitHub refuses, so the container job failed after the image
probe passed. The job installs the checksummed v0.70.0 release and the
action skips its own setup.
2026-11-22 17:37:18 -03:00
waozi e916579e4a Fix the Go root and container probe in Gitea CI
The shared runner exports the native SDK's Go 1.26.8 GOROOT, so lint read
that standard library with setup-go's 1.26.11 toolchain and failed. The
checks job now points GOROOT at the installed Go.

The CI slice denies private ranges, including Docker's bridge, so the
container's published port never answered. A pinned busybox probe now
reads readiness and the node revision from the container's own network
namespace.
2026-11-22 17:16:51 -03:00
waozi 7341e9f6b5 Fetch Ziran and Kryon packages from Gitea in Mesh jobs
Mesh CI and deploy / checks (push) Failing after 39m57s
Mesh CI and deploy / container (push) Failing after 58m24s
Mesh CI and deploy / deploy (push) Skipped
The Mesh runner fetched locked packages from the GitHub mirror, which
refused the renamed daochi-client checkout. The generate step now
rewrites the ziranlang and kryonlabs organizations to Gitea, the primary
host, as the shared runner already does. Gitea keeps the renamed
repository reachable and the recorded origin stays the locked URL.
2026-11-22 16:13:21 -03:00
waozi 4b22b79370 Keep fetched Ziran packages between Gitea jobs
Mesh CI and deploy / container (push) Failing after 13m29s
Mesh CI and deploy / deploy (push) Canceled after 0s
Mesh CI and deploy / checks (push) Canceled after 16m7s
The generate step pointed the Ziran cache at the job's temporary folder,
so every job cloned sqlite, curl, raylib, libwebp and both liboqs commits
from GitHub again, about 34 minutes on the Mesh slot. Host runners now
keep those checkouts in their own cache, outside the checkout.

setup-go no longer restores the job cache. The host runner keeps the Go
build and module caches, and the restore waited out a 4m40s timeout.
2026-11-22 15:57:16 -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