feat(graph): add production graph metric lifecycle and queries - #503
Draft
ajroetker wants to merge 127 commits into
Draft
feat(graph): add production graph metric lifecycle and queries#503ajroetker wants to merge 127 commits into
ajroetker wants to merge 127 commits into
Conversation
added 24 commits
August 20, 2026 15:10
…-core # Conflicts: # go/pkg/sdk/oapi/client.gen.go # zig/build.zig
…-core # Conflicts: # go/pkg/sdk/oapi/client.gen.go # go/pkg/sdk/types.go # py/packages/sdk/tests/test_client.py # ts/packages/sdk/test/types.test.ts # zig/pkg/antfly/src/api/indexes.zig
… reads Persist current-only packed graph ordinals, adapt projection sharing to budgets, and deduplicate immutable query aliases before admission. Unify durable snapshot score reads with sorted physical keys and reusable batch slabs. Add ownership, integrity, allocation, budget regressions and reproducible benchmarks for both paths.
…-core # Conflicts: # zig/pkg/antfly/src/runtime_error_abi.zig
Bound row, routing, and range planning before allocation; preserve row ordering with shared prefix-key sorting and block spans. Fold validated borrowed topology using checkpoint-local vector and target scratch. Add allocation-failure coverage, equivalence tests, and scoped benchmarks.
Elide later stateful adjacency producers; preserve sealed publication barriers. Use adaptive sparse ordinal projections, single-flight decoded page fills, and authenticated headroom-sized warm-start windows. Add recovery, saturation, memory-budget regressions and sparse projection benchmarks.
Seal generation/filter/partition-scoped topology outside numerical job lifetimes, atomically pin adopters, and reclaim obsolete owners and packing attempts in bounded maintenance pages. Cover reopen, concurrent producers, filter removal, idle pools, and reuse benchmarks.
Separate bounded fair topology preparation from numerical admission, canonicalize paired HITS failures, preserve terminal diagnostics, and account live serverless transport memory. Replace iterative string cursors with sealed ordinal coverage, expand recovery regressions, fix the TestDirectory CI migration, and record cursor benchmarks.
…-core # Conflicts: # go/pkg/sdk/oapi/client.gen.go
…-core # Conflicts: # zig/build.zig # zig/build_test_filters.zig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
std.Ioand the database backend runtime, with durable owner leases, page leases, attempt fencing, retries, publish verification, cleanup, and restart recoveryArchitecture and UX
backend_runtime.io_impl,std.Iofutures, mutexes, conditions, and bounded runtime laneshttpxcomposition as productionlib/jsonassertions rather than serialization-order substringsValidation
zig build graph-metric-unit-test -fincremental --summary all— 74/74 passed, no leakszig build graph-metric-integration-test -fincremental --summary all— 94/94 passed, no leakszig build graph-metric-process-test -fincremental --summary all— 25/25 build steps; all promotion/failover proof floors metzig build antfly-main-test -fincremental --summary all— 8/8 passed, no leaksmake zig-generated-check— OpenAPI/MCP, Snowball, SQL grammar, C ABI header, and TLS checks passedgit diff --checkNotes
mainand regenerated all affected clients; the PR is conflict-free at the pushed head