Conversation
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.0.31-pr.243.ce802aaPrefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.0.31-pr.243.ce802aa"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.0.31-pr.243.ce802aa"
}
}
Preview published to npm registry — try new features instantly! |
|
README check ran. 11 issue(s) found and applied: Added missing |
|
README check ran. 4 issue(s) found and applied: added missing |
Note
Description
This PR refactors HTTP request timeout configuration in the Base44 CLI by removing the global 3-minute timeout from the base HTTP client and adding operation-specific timeouts to individual API calls. This provides better control over timeout behavior for different operations - shorter timeouts for quick operations like entity and agent syncs (1 minute), longer timeouts for site deployments (3 minutes), and no timeout for function deployments which can take indefinite time.
Related Issue
None
Type of Change
Changes Made
timeout: 180_000(3 minutes) frombase44Clientinsrc/core/clients/base44-client.tstimeout: 60_000(1 minute) to entity sync API call insrc/core/resources/entity/api.tstimeout: 60_000(1 minute) to agent push API call insrc/core/resources/agent/api.ts120_000tofalse(no timeout) insrc/core/resources/function/api.tstimeout: 180_000(3 minutes) to site deployment API call insrc/core/site/api.tstests/core/agents.spec.tsto verify timeout parametersTesting
npm test)Checklist
Additional Notes
This change improves timeout handling by:
The function deployment timeout was changed to
false(unlimited) because backend function compilation and deployment can take variable amounts of time depending on complexity and dependencies.🤖 Generated by Claude | 2026-02-12 21:45 UTC