Repository navigation
test: isolate pricing and hosting E2E assumptions - #357
Merged
Merged
Conversation
ThreatCrush Security Scan17 finding(s) HIGH/CRITICAL: 1 | MEDIUM: 12 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
ralyodio
added a commit
that referenced
this pull request
Nov 12, 2026
* feat(chat): model router behind model "auto" (DIP 0035) `model: "auto"` (or absent, or auto:fast|standard|high|max) now routes each request: classify the task, score every live model for it (size/family priors, house specialists, learned per-category quality, price, speed, health), pick single / cascade / critique / fuse by expected quality, cost and latency for the effort, run it with deterministic checks, escalation, fallbacks and hedged requests, learn from the outcome, and return a receipt. - lib/router: framework-free classify, registry, stats, planner, verify, engine; 20 tests - lib/chat/routed.ts: Infernet calls billed per user, live pool + price cache, router_stats in SQLite Cloud, JSON/SSE responses, streamed pass-through that still learns; 6 tests - /v1/chat/completions and resumable runs route; any router error falls back to the direct path; C0MPUTE_ROUTER=off disables - POST /api/v1/route explains a plan for free; /v1/models lists auto entries; /chat picker offers auto:fast/high/max Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(container): set an explicit job price cap * test(e2e): test workers keep a zero price floor after #355 #355 made PricingConfig::default() carry a $0.001 minimum; the e2e workers built with it stopped bidding on the buyers' zero caps (inference_e2e: 'no bids received within 2s'). Same fix shape as #357 for container_run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
This PR repairs buyer-budget and LAN-isolation assumptions in loopback E2E tests exposed by the $0.001 node floor and dev2 test runs:
C0MPUTE_DISABLE_MDNS=1for the full Rust workspace test job so loopback tests cannot discover live LAN workers.Verified locally:
C0MPUTE_REQUIRE_FUSE=1 cargo test --locked -p c0mpute-core --test container_run_e2e -- --nocapture— passed.env -u C0MPUTE_INFERENCE_LIVE_URL cargo test --locked -p c0mpute-core --test inference_e2e -- --nocapture— passed.cargo test --locked -p c0mpute-core --test hosting_e2e -- --nocapture— passed twice with mDNS disabled and the explicit mesh.