Repository navigation
Conversation
|
The It is unrelated to this PR: the diff touches only Locally at this head (macOS, zig 0.17.0): |
|
Thanks @plotarmordev. We reviewed this as a first review and have nothing to change in the code.
The one red job at this head is
|
|
[Joshua's agent] Closing the loop the 08:38Z review left open ("we will re-run it ourselves"): the |
|
Thanks @plotarmordev. Closing the loop on our 08:38Z review: the re-run you noted finished green at this head, every job including the zig job that had hit the bringup clock flake, and Zig format is green too. The gauge reads the admitted-connection count, both metrics routes share one handler, and the route test drives the production dispatch. It applies cleanly to today's main. Everything is resolved; nothing is needed from you.
|
(cherry picked from commit 8c07b5c)
(cherry picked from commit 1f5a2cb)
…ute in every idle-manager state I add three route-level tests that GET /metrics through the production dispatch with no idle manager, a healthy manager, and a parked manager; each asserts exactly one tensorfold:open_connections sample line, the exact TYPE line, and the admitted count, and the parked body keeps its request-and-process-only family split. (cherry picked from commit 3806056)
metrics.zig crossed the 600-line lean rule, so the gauge renderer and its unit test move to load_metrics.zig (engine_parked, lanes); the route calls it from there. The help and docs now count Unix-socket clients too, the docs line wraps with the surrounding prose, the smoke script is named in zig/tests/server/README.md, and the lone test block in root.zig folds into the previous one.
9342e7d to
4cd43e9
Compare
|
Thank you @plotarmordev. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
How to check
e3fb56cb09061a979cb02080601fc6f7870d3362(yourmain;git merge-baseof this head andmain).9342e7d1ed01dc9f5c542111824a4239d2b060d2.9342e7d1, on that machine:zig build test test-golden: 897/900 steps; 15107 tests passed, 120 skipped, 1 failed. The failure isstage net: an unknown host is refused(zig/src/fabric/stage/net.zig:195): this machine's resolver answers.invalidnames with a fake address, so it getsAddressInUseinstead ofAddressUnresolved. Untouchedmainate3fb56cbfails the same test on the same machine; this branch does not touchzig/src/fabric/. Golden comparison: 0 unexpected differences.zig/tests/server/README.md):tensorfold:open_connectionswent 1 → 4 → 1 as clients connected and closed.zig build test-cluster-membership-hostpassed 6 times on this head and once one3fb56cb; the CI failure atbringup_test.zig:97is the clock-dependent bring-up flake tracked in tests: the drafter-auto benchmark test and two cluster bring-up tests stop flaking #3750, outsidezig/src/server/.9342e7d1on the same machine, 19 Nov:zig build test-server-cpu --summary all: 5/5 steps, 1580/1589 tests passed, 9 skipped, 0 failed.zig build server-cpu, thenpython3 zig/tests/server/open_connections_smoke.py zig-out/server/fake_serve zig/tests/server/fixtures: exit 0;tensorfold:open_connectionsread 1, 4, 1.zig build test test-golden --summary all: 897/900 steps, 13522/13634 tests passed, 111 skipped, 1 failed: the samenet.zig:195resolver test. Golden comparison: 0 unexpected differences. Fewer tests than the run above because the server tests were already cached from the step before.No visible change: nothing this PR changes shows on screen.
How to check
e3fb56cb09061a979cb02080601fc6f7870d33629342e7d1ed01dc9f5c542111824a4239d2b060d2Test results:
zig build test test-golden --summary allat9342e7d1ed01: 15155 passed, 1 failed, 120 skipped