-
Notifications
You must be signed in to change notification settings - Fork 1
fix(infra): TensorZero ClickHouse and GPU Orchestrator startup fixes #451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
| # Testing Evidence for PR #451 | ||
|
|
||
| **Date:** 2026-01-03 | ||
| **Branch:** `infra-fix-tensorzero-gpu` | ||
| **Base:** `PMOVES.AI-Edition-Hardened` | ||
|
|
||
| --- | ||
|
|
||
| ## Summary | ||
|
|
||
| All core infrastructure fixes from PR #451 have been validated successfully. Services are running and responding to health checks. | ||
|
|
||
| --- | ||
|
|
||
| ## Services Validated | ||
|
|
||
| ### Service Count | ||
| - **Running:** 36 containers | ||
| - **Target:** 35+ ✓ | ||
|
|
||
| ### Health Check Results | ||
|
|
||
| | Service | Port | Status | Notes | | ||
| |---------|------|--------|-------| | ||
| | TensorZero Gateway | 3030 | ✓ | ClickHouse+Postgres OK | | ||
| | TensorZero ClickHouse | 8123 | ✓ | Responding to /ping | | ||
| | GPU Orchestrator | 8100 | ✓ | RTX 5090 detected (40% VRAM) | | ||
| | Ollama | 11434 | ✓ | 9 models available | | ||
| | Archon | 8091 | ✓ | Supabase connection fixed | | ||
| | Agent Zero | 8080 | ✓ | NATS connected | | ||
| | Hi-RAG v2 | 8086 | ✓ | HTTP responding | | ||
| | Flute-Gateway | 8055 | ✓ | Healthy | | ||
| | SupaSerch | 8099 | ✓ | Metrics endpoint OK | | ||
| | Postgres | 5432 | ✓ | pgvector enabled | | ||
| | Qdrant | 6333 | ✓ | Vector DB responding | | ||
| | Neo4j | 7474 | ✓ | Knowledge graph OK | | ||
| | Meilisearch | 7700 | ✓ | Full-text search OK | | ||
| | PostgREST | 3010 | ✓ | API gateway OK | | ||
| | Grafana | 3002 | ✓ | Dashboards accessible | | ||
| | Prometheus | 9090 | ✓ | API responding | | ||
|
|
||
| ### Additional Services Running | ||
| - NATS (4222), DeepResearch, Publisher-Discord, Render-Webhook, PDF-Ingest, LangExtract, Extract-Worker, Media-Video, Media-Audio, Jellyfin-Bridge, PMOVES.YT, Evo-Controller, Mesh-Agent, Session-Context-Worker, Retrieval-Eval, and more. | ||
|
|
||
| --- | ||
|
|
||
| ## Infrastructure Fixes Validated | ||
|
|
||
| ### 1. Archon Supabase Connection ✓ | ||
| - **Fixed:** Changed `supabase_kong_PMOVES.AI:8000` → `postgrest:3000` | ||
| - **Result:** Health endpoint returns `{"status":"ok", "supabase":{"http":200}}` | ||
|
|
||
| ### 2. Ollama Image ✓ | ||
| - **Fixed:** Changed `pmoves/ollama:0.12.6` → `ollama/ollama:latest` | ||
| - **Result:** Container running, API responding on port 11434 | ||
|
|
||
| ### 3. ClickHouse IPv6 (WSL2) ✓ | ||
| - **Fixed:** Added `listen.xml` for IPv4-only binding | ||
| - **Result:** ClickHouse listening on 0.0.0.0:8123, TensorZero connecting successfully | ||
|
|
||
| ### 4. GPU Orchestrator ✓ | ||
| - **Fixed:** Using `--runtime=nvidia` with proper GPU access | ||
| - **Result:** RTX 5090 detected, health endpoint responding | ||
|
|
||
| --- | ||
|
|
||
| ## Test Infrastructure Findings | ||
|
|
||
| ### Issues Identified | ||
|
|
||
| 1. **Missing Smoke Test Source Files** | ||
| - The pytest smoke tests (`test_health_endpoints.py`, etc.) don't exist as source files in either main or worktree | ||
| - Only `.pyc` cache files were found | ||
| - **Action:** Smoke test source files need to be created/committed | ||
|
|
||
| 2. **NATS Smoke Test Bug** | ||
| - `tools/supaserch_smoke.py` has incorrect API call: `nc.unsubscribe()` should be `nc.unsubscribe(subject, sid)` | ||
| - **Action:** Bug fix needed for NATS smoke tests | ||
|
Comment on lines
+76
to
+78
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Track the NATS smoke test bug as an issue. The bug in Do you want me to create a tracking issue for this bug fix with the correct API signature? 🤖 Prompt for AI Agents |
||
|
|
||
| ### Workarounds Applied | ||
|
|
||
| - Used manual curl-based health checks instead of pytest smoke tests | ||
| - Validated NATS connectivity via service logs (all NATS-using services running) | ||
|
|
||
| --- | ||
|
|
||
| ## Monitoring Dashboards | ||
|
|
||
| | Dashboard | URL | Status | | ||
| |-----------|-----|--------| | ||
| | Grafana | http://localhost:3002 | ✓ Accessible | | ||
| | Prometheus | http://localhost:9090 | ✓ API responding | | ||
| | TensorZero UI | http://localhost:4000 | Not started | | ||
|
|
||
| --- | ||
|
|
||
| ## Test Commands Used | ||
|
|
||
| ```bash | ||
| # Service count | ||
| docker ps --format "table {{.Names}}\t{{.Status}}" | grep pmoves | wc -l | ||
|
|
||
| # Health checks | ||
| curl -sf http://localhost:3030/health # TensorZero | ||
| curl -sf http://localhost:8091/healthz # Archon | ||
| curl -sf http://localhost:8080/healthz # Agent Zero | ||
| curl -sf http://localhost:8100/healthz # GPU Orchestrator | ||
| curl -sf http://localhost:8086/ # Hi-RAG v2 | ||
| curl -sf http://localhost:8123/ping # ClickHouse | ||
| curl -sf http://localhost:11434/api/tags # Ollama | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## Conclusion | ||
|
|
||
| All infrastructure fixes from PR #451 are validated and working. The hardened branch is ready for review with all core services operational. | ||
|
|
||
| **Test Execution Date:** 2026-01-03 | ||
| **Total Services:** 36 containers running | ||
| **Health Check Pass Rate:** 100% (for manually tested services) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Track the missing smoke test source files as an issue.
The absence of smoke test source files (
test_health_endpoints.py, etc.) with only.pyccache files present is a significant test infrastructure gap that should be tracked and resolved.Do you want me to create a tracking issue for recreating the missing smoke test source files? I can draft an issue description with the expected file structure and smoke test patterns based on the test commands shown in this document.
🤖 Prompt for AI Agents