fix: increase background build test timeouts to reduce flakiness#1269
fix: increase background build test timeouts to reduce flakiness#1269mishushakov wants to merge 2 commits intomainfrom
Conversation
The 10s timeout was too tight for the 2+ API roundtrips (requestBuild + triggerBuild) that buildInBackground makes before returning, causing frequent timeouts in CI especially on Production environments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
PR SummaryLow Risk Overview In the JS SDK, the Vitest timeout for Reviewed by Cursor Bugbot for commit cd65c0c. Bugbot is set up for automated code reviews on this repo. Configure here. |
Package ArtifactsBuilt from c09c483. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-2.19.1-mishushakov-flaky-test-analysis.0.tgzCLI ( npm install ./e2b-cli-2.9.1-mishushakov-flaky-test-analysis.0.tgzPython SDK ( pip install ./e2b-2.20.0+mishushakov.flaky.test.analysis-py3-none-any.whl |
Use 180s like other template tests instead of a custom short timeout. Python tests now inherit the 180s default from conftest.py instead of overriding it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cd65c0c. Configure here.

Summary
buildInBackgroundtest timeouts from 10s to 30s across JS SDK, Python async, and Python sync testsrequestBuild+triggerBuild) that run before returning, causing frequent CI timeouts especially in Production environmentssdk_tests.ymlover the past weekTest plan
🤖 Generated with Claude Code