Skip to content

Core state polling and rewards API request time out in the app console #1235

@Al629176

Description

@Al629176

Summary

Core state polling and rewards API request time out in the app console.

Problem

The app console shows repeated core-state polling failures and a rewards API timeout.

Observed errors:

  • [core-state] poll failed (attempt 1/5)
  • [core-state] poll failed (attempt 2/5)
  • Failed to load resource: net::ERR_TIMED_OUT
  • api.tinyhumans.ai/rewards/me

Steps to reproduce:

  1. Open OpenHuman desktop app.
  2. Open DevTools console.
  3. Navigate through app startup / Rewards-related state.
  4. Observe repeated poll failures and timeout for /rewards/me.

Environment:

  • Desktop app
  • Platform/version unknown
  • Backend endpoint: api.tinyhumans.ai/rewards/me

Acceptance criteria

  • Repro gone - Console no longer shows repeated core-state poll failures or rewards API timeout.
  • Regression safety - Unit, integration, or E2E coverage added or updated.
  • Diff coverage >= 80% - Fix PR meets changed-lines coverage gate.
  • Graceful failure - If /rewards/me times out, UI shows recoverable state and does not spam retries.
  • Diagnostics - Logs include useful reason/status without noisy repetition.

Related

Screenshot provided showing DevTools errors for core-state poll failed and api.tinyhumans.ai/rewards/me timeout.

Metadata

Metadata

Assignees

Labels

config-workspaceConfig loading, env overrides, workspace storage, and app state.performancePerformance improvements or regressions.react-uiReact app work in app/src: pages, components, providers, store, and UX.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions