Repository navigation
[UPDATE][vramarket][0.1.45] production audit: real metering, lease expiry, invoices, provider account, drain, reputation, GPU telemetry — E2E 30/30 - #3313
Open
jeffreyturov-dev wants to merge 1 commit into
Conversation
…ion + invoices + provider account/payouts + reputation feed + CRD GC + GPU util + drain — E2E 30/30
Collaborator
|
Chart invalid. Error message: [categories [AI] invalid: add at least one Admin V2 category; available Admin V2 categories: [agents developer homelab models recommended workspace]] |
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.
Production audit — 9 correctifs majeurs, E2E 30/30 sur cluster réel
Audit préventif complet du cycle de vie d'une location (matching → financement → metering → règlement → reversement). Chaque point a été implémenté puis vérifié par un test E2E dédié sur cluster Olares réel (RTX 5090, rail PayPal réel).
Correctifs
metering : spent > 0.durationSse clôt automatiquement (SETTLING,settleReason=duration_elapsed). Avant : un locataire qui ne clique jamais « clôturer » bloquait la VRAM et l'escrow indéfiniment.InvoiceHistory). Test :facture persistée (providerDue > 0).GET /v1/account(solde comptable double-entrée), carte « Solde à reverser » dans le dashboard Fournisseur, etdocs/REVERSEMENTS.md: procédure de batch payout PayPal hebdomadaire (le MCP PayPal n'expose aucun payout — 4 outils seulement), avec point d'extension isolé vers l'API Payouts.réputation alimentée (score != 0.5).gpuUtilPct/vramUsedMibdans le status du nœud à chaque heartbeat ; exposé dansGET /v1/leases/{id}, le WS live et une colonne « GPU réel » des dashboards. Anti-fraude : la carte mesure, le provider ne déclare pas. Test E2E :nodeUtil={'gpuUtilPct': 0, 'vramUsedMib': 741, 'model': 'NVIDIA GeForce RTX 5090 Laptop GPU'}.POST /v1/nodes/mine/drain: un provider en maintenance n'accepte plus AUCUN nouveau match (gardes dans la création d'offre, le matchmaker et la liveness) tandis que les baux en cours sont honorés. Bouton « Maintenance (drain) » dans le dashboard. Tests : cycle DRAINING → offre refusée (409) → undrain → ACTIVE.Fix structurel découvert en test
Pruning CRD : les schémas structuralSchema éliminaient silencieusement les champs non déclarés du status (
invoice,fundedAt,gpuModel,reputationScore,latencyMs,nodeUtil…). Les données étaient écrites puis jetées par l'API server. Schémas CRD corrigés — attention, Helm ne met pas à jourcrds/sur upgrade :kubectl apply -f vramarket/crds/vramarket-crds.yamlnécessaire pour les installs existantes.score()division par zéro quandmaxLatencyMs=0.Vérification
ghcr.io/jeffreyturov-dev/vramarket-control:0.1.36,ghcr.io/jeffreyturov-dev/vramarket-agent:0.1.27(publiques, poussées).Note : en date du 28/07, GHCR renvoie par intermittence un 403 sur les pulls anonymes des packages du compte (pulls authentifiés OK, packages bien
publiccôté API — comportement côté GitHub, signalé dans le corps de PR pour transparence si le check d'install échoue sur la résolution d'image).