Skip to content

extend all requests timeouts to 3 minutes#242

Merged
kfirstri merged 2 commits intomainfrom
extend-timeouts
Feb 12, 2026
Merged

extend all requests timeouts to 3 minutes#242
kfirstri merged 2 commits intomainfrom
extend-timeouts

Conversation

@kfirstri
Copy link
Collaborator

@kfirstri kfirstri commented Feb 12, 2026

Note

Description

This PR extends the global HTTP timeout for all Base44 API requests from the default (10 seconds) to 3 minutes (180,000ms). This change addresses timeout issues encountered with long-running API operations such as project deployments, entity pushes, and other resource-intensive tasks that may take longer than the default timeout to complete.

Related Issue

None

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Other (please describe):

Changes Made

  • Added timeout: 180_000 configuration to the base44Client ky instance in src/core/clients/base44-client.ts
  • This applies the 3-minute timeout globally to all authenticated API requests made through base44Client and getAppClient()

Testing

  • I have tested these changes locally
  • I have added/updated tests as needed
  • All tests pass (npm test)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have updated AGENTS.md if I made architectural changes

Additional Notes

This timeout value (180,000ms = 3 minutes) was chosen to accommodate long-running operations while still providing a reasonable upper bound. The change is non-breaking as it only extends the timeout window rather than reducing it. Operations that previously succeeded will continue to succeed, and operations that previously timed out may now complete successfully.


🤖 Generated by Claude | 2026-02-12 16:45 UTC

@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2026

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/cli@0.0.31-pr.242.925608b

Prefer not to change any import paths? Install using npm alias so your code still imports base44:

npm i "base44@npm:@base44-preview/cli@0.0.31-pr.242.925608b"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "base44": "npm:@base44-preview/cli@0.0.31-pr.242.925608b"
  }
}

Preview published to npm registry — try new features instantly!

@claude
Copy link

claude bot commented Feb 12, 2026

README check ran. 6 issue(s) found and applied: Updated command descriptions to match code (create, deploy, logout, whoami, agents pull/push), added eject command, added connectors push command. README.md has been updated in this branch.

@claude
Copy link

claude bot commented Feb 12, 2026

README check ran. Multiple discrepancies found between README.md and codebase:

Commands updated:

  • create: description simplified
  • deploy: description expanded to list all resources
  • eject: uncommented (exists in code, not hidden)
  • link: description expanded with details
  • logout, whoami: descriptions matched to code
  • agents pull/push: descriptions expanded with behavior details
  • connectors push: added (was missing)
  • entities push: simplified description

Note: README.md changes were committed locally but cannot be pushed to this PR due to merge ref restrictions. A maintainer will need to manually apply these changes or re-run this check on the source branch.

@kfirstri kfirstri merged commit d5cf9a3 into main Feb 12, 2026
10 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in CLI Development Feb 12, 2026
@kfirstri kfirstri deleted the extend-timeouts branch February 12, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant