Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(world-persist): log a designed load failure as telemetry instead of warning twice
nirholas30f03eeb8fed
diff --git a/src/game/coincommunities.js b/src/game/coincommunities.jsindex 60d4787a6..eb88c0ea6 100644--- a/src/game/coincommunities.js+++ b/src/game/coincommunities.js@@ -4200,7 +4200,10 @@ export class CoinCommunities {// The player may have left (or hopped coins) while the read was in flight.if (this._worldStore !== store || epoch !== this._enterEpoch) return;if (error) {- log.warn('[coincommunities] world build load failed:', error);+ // Designed degradation: the world opens without its persisted props+ // and the store keeps serving saves, so this is expected-path+ // telemetry rather than a warning, matching _loadCoins above.+ log.info('[coincommunities] world build load failed:', error);return;}this._restorePersistedBuild(doc);diff --git a/src/game/world-persist.js b/src/game/world-persist.jsindex bc2fcbaa3..5222f8813 100644--- a/src/game/world-persist.js+++ b/src/game/world-persist.js@@ -152,7 +152,11 @@ export class WorldBuildStore {} catch (err) {const message = err?.message || 'load failed';this.lastError = message;- log.warn('[world-persist] load failed', this.worldId, message);+ // The contract above is that a failed read resolves with an `error` for+ // the caller to render, so this line is telemetry for a designed return+ // value, not a fault report. Warning here also double-reported every+ // outage, once from this store and once from the caller that handled it.+ log.info('[world-persist] load failed', this.worldId, message);return { doc: null, etag: null, version: 0, error: message };}}