Problem / Opportunity
External API integrations (such as GitHub fetches or E2B sandbox state queries) can occasionally experience transient network blips. Right now, these network drops fail instantly, displaying an unpolished "Network Error" state to the console user.
Proposed Solution
Build a reliable, fault-tolerant networking wrapper inside lib/utils/httpClient.ts:
- Intercept all outgoing console data queries and hook a recursive retry wrapper around them.
- Implement an exponential backoff timing engine (
delay = initial * (2 ^ attempt)) that gracefully attempts to reconnect up to 3 times for 5xx server faults or socket hangs before throwing an error boundary block.
Problem / Opportunity
External API integrations (such as GitHub fetches or E2B sandbox state queries) can occasionally experience transient network blips. Right now, these network drops fail instantly, displaying an unpolished "Network Error" state to the console user.
Proposed Solution
Build a reliable, fault-tolerant networking wrapper inside
lib/utils/httpClient.ts:delay = initial * (2 ^ attempt)) that gracefully attempts to reconnect up to 3 times for5xxserver faults or socket hangs before throwing an error boundary block.