feat(fifa17): own FUT hub tile counts in Rust

Migrate GET /hub from the Python proxy to a Rust handler deriving counts from
authoritative state: clubPlayers = owned PLAYER cards in Core (consumables/staff
excluded via catalog kind; may be lower than Python's profile count by the
deferred Legend instances = DIFFERENT-BY-DESIGN), auction/tradePile counts from
the durable market store via the async bridge. Fail-closed 503 on Core error;
market read failure degrades cosmetic counts to 0. Adds classify arm, handler,
ownership + integration tests; reachability tool marks hub migrated.
This commit is contained in:
funman300
2026-08-15 17:18:06 +00:00
parent b30aa352f6
commit 70eb3fc13f
3 changed files with 81 additions and 3 deletions
+2 -2
View File
@@ -40,14 +40,14 @@ MIGRATED_NON_ECONOMY = {
"leaderboards/options",
"match/reset",
"phishing", # phishing/{trusteddevice,question,validate}
"hub",
}
# Documented residual Python-owned non-economy domains (expected > 0 until
# migrated). Keep in sync with docs/PRODUCTION_AUTHORITY_MATRIX.md.
RESIDUAL_PYTHON = {
"openfut/account/sync",
"hub",
"club/stats",
"club/stats", # year/consumables still Python; club/stats/staff is Rust
"clientdata/userHubData",
}