github.com held commits this host lacked, which refuses the mirror push
("fetch first") and stops github receiving anything at all. Merging rather
than overwriting, so the mirror is a fast-forward again and neither side's
work is dropped.
Adds .hanzo/workflows/cicd.yml calling the canonical pipeline and drops the
GitHub-hosted workflows it replaces. Lands here because this is where the repo
is written — git.hanzo.ai is upstream and github.com is its push mirror, so the
same change made on github.com never reaches the runner fleet.
Two defects, both in server.go, both fatal:
TCPKeepalive is fasthttp own on/off flag (bool); the interval field is
TCPKeepalivePeriod. Assigning 3*time.Minute to the flag is a type error, so
the package failed to build for every consumer — luxfi/adx among them.
HandleRequest computed `duration := time.Since(start)` under a comment
reading "Increment counters atomically" and then did nothing with it. An
unused local is also a compile error, so even fixing the first defect left
this one.
The three metrics fields (requestsInFlight, requestsTotal, requestDuration) were
declared and never written anywhere. Rather than delete `duration` to silence
the compiler, this wires the counters the comment described and adds Stats() to
read them — write-only counters would be no better than not keeping any.
Builds clean, go vet clean.
Co-authored-by: Hanzo Dev <[email protected]>