You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracking epic for a sweep of performance, resource-usage, correctness, and test-coverage improvements surfaced by a codebase audit (2026-06). Each child below is independently shippable and scoped for a single focused PR.
The audit prioritized changes that improve work on the critical paths everyone hits — the build (which runs inside the test suite, every CI run, and every publish), the live D1-backed API routes (recomputed on every edge-cache miss), and the entity/block/extrinsic handlers (recently bug-prone).
Themes
Build / CI resource — the artifact build does serial, per-subnet work on a path that runs many times per CI run.
API runtime performance — offset pagination on large tables, an OR-across-columns query plan, serial batch/RPC dispatch, and uncached heavy live routes.
Each child carries gittensor:bug for a uniform contributor lane.
Medium-confidence perf items (the query-plan and caching ones) are framed as audit + optimize — the first deliverable is a measurement (EXPLAIN QUERY PLAN / before-after timing), not a blind change.
Determinism guarantees on the build artifacts (reproducible generated_at, byte-identical output) must be preserved by any build-perf change.
Wave 2 — audit sweep (2026-06)
30 additional verified issues from a multi-agent codebase audit. ⭐ = gittensor:priority; 🔧 = not a good-first-issue (needs deeper context).
Tracking epic for a sweep of performance, resource-usage, correctness, and test-coverage improvements surfaced by a codebase audit (2026-06). Each child below is independently shippable and scoped for a single focused PR.
The audit prioritized changes that improve work on the critical paths everyone hits — the build (which runs inside the test suite, every CI run, and every publish), the live D1-backed API routes (recomputed on every edge-cache miss), and the entity/block/extrinsic handlers (recently bug-prone).
Themes
scripts/pipeline (~30k lines) is almost entirely unmeasured; branch-coverage gaps remain in a few hot runtime files.Children
Build / CI resource
API runtime performance
Correctness / robustness
Test coverage
Notes
gittensor:bugfor a uniform contributor lane.EXPLAIN QUERY PLAN/ before-after timing), not a blind change.generated_at, byte-identical output) must be preserved by any build-perf change.Wave 2 — audit sweep (2026-06)
30 additional verified issues from a multi-agent codebase audit. ⭐ =
gittensor:priority; 🔧 = not a good-first-issue (needs deeper context).Correctness bugs
Health/probe correctness
REST/MCP parity
Reliability / timeouts
Reliability / observability
CORS correctness
D1 / query perf
Caching correctness
Input validation
Security hardening
Worker runtime perf
Build/CI resource
Test coverage