Commit Graph

105 Commits

Author SHA1 Message Date
Jakub Novák 5c4d07536f Add filtering option for listing sandboxes (#532)
# Description

Allow users to filter out sandbox based on metadata

---------

Co-authored-by: Mish Ushakov <10400064+mishushakov@users.noreply.github.com>
2025-03-21 15:57:48 +01:00
0div d26ff435d6 Fix release test for multi-file write support (#615)
The previous [release
workflow]([Release](https://github.com/e2b-dev/E2B/commit/b3fe5e6777357a7d814c7dbe4525a18f3f83288f/checks))
errored after merging this [old
PR](https://github.com/e2b-dev/E2B/pull/451), here are the fixes:
- [x] use `WatchOpts` instead of `FilesystemOpts` to avoid TS errors in
js-sdk filesystem method
- [x] fix python-sdk watch test.
2025-03-19 16:07:37 -07:00
0div a8e88de846 fix merge conflict with main 2025-03-18 09:09:13 -07:00
Jakub Novák e045df9d50 Fix comments in tests (#613) 2025-03-18 08:47:16 -07:00
Jakub Novák 71415ed9e5 Fix flaky tests - Increase the timeout for pinging the server (#612)
Also changed the ports, so if you run locally there's no port collision
2025-03-18 08:26:25 -07:00
0div e905d9be34 Test sandbox closed port error (#597)
this PR adds tests in js and python SDKs for closed port errors
enhancement #265
2025-03-14 02:19:27 -07:00
Jakub Novák fe7ed15c61 Process time out returns incorrect exception in pythonsdk e2b 1476 (#550)
Handle the exception properly
2025-01-28 11:45:39 -08:00
Jakub Dobrý 6596eda139 Test for recursive folder creation, add newline after code to docs 2025-01-28 11:26:32 -08:00
Jakub Dobrý 76b4ac02ad Regenerated python stubs with version 5.28.3
- Removed code runtime version check to prevent issues until further investigation
2025-01-28 11:26:32 -08:00
Jakub Dobrý c8914c2114 Improve recursive watch tests and folders naming 2025-01-28 11:26:32 -08:00
Jakub Dobrý d92a166d8f Update watch test file formatting 2025-01-28 11:25:43 -08:00
Jakub Dobrý 25c4539de6 Add watch dir recursive option (missing python client regeneration) 2025-01-28 11:25:42 -08:00
Jakub Novak ae61d831d2 Add test 2025-01-23 21:22:35 -08:00
Jakub Novak 2e5398c4b6 Add python tests 2025-01-22 20:55:34 -08:00
Jakub Novak 238887b03d Add retry block to host and stdin tests 2025-01-17 14:24:01 -08:00
0div 4ca24147f6 fixed typing syntax and watch tests 2024-12-12 15:18:06 -08:00
0div 97d0cc1ef5 merge main 2024-12-12 14:54:24 -08:00
0div bff11dc02e add the same fixes to python async 2024-12-11 17:29:46 -08:00
0div 3c525220d9 make stdout and stderr decode handle errors by replacing with unicode replacement char; add tests 2024-12-11 17:07:36 -08:00
Tomas Valenta 497bdc95d9 Fix sandbox killing in tests 2024-10-28 14:11:42 -07:00
Tomas Valenta 95baca5d1b Update async Python docstrings 2024-10-16 00:52:13 -07:00
Jakub Novak bfc4bb51d8 Rename watch to watch dir 2024-10-14 14:01:34 -07:00
Jakub Novak bc42ba1e66 Refactor watch dir 2024-10-14 13:01:59 -07:00
Jakub Novak 5c31902cc4 Change close to stop for watch dir 2024-10-14 12:10:17 -07:00
0div 2956a6e7b9 better error messages in python-sdk 2024-10-10 12:04:42 +02:00
0div f5cd1c0767 add multifile upload to sanbox_async 2024-10-09 14:07:14 +02:00
0div 7767d8f2ee updated js-sdk tests to check empty path behavior 2024-10-09 13:37:05 +02:00
0div 365af432f1 add extra tests to sandbox_sync write 2024-10-09 12:29:59 +02:00
0div fbc4af4908 allow passing empty array of files in python-sdk 2024-10-08 18:23:46 +02:00
0div 68ac0383df merge beta 2024-10-08 16:00:56 +02:00
Jakub Novak f2bec0544f Fix empty file + add tests 2024-10-08 15:28:24 +02:00
Jakub Novak 506f70c7b8 Add docstrings to SDKs 2024-10-08 13:04:39 +02:00
0div 608ef45fa5 Use @overload 2024-10-08 12:32:33 +02:00
0div a379a587f0 Add multi-file write support for python-sdk sync 2024-10-07 21:10:28 +02:00
Jakub Novak fe78c0320d Simplify tests 2024-09-26 13:45:24 +02:00
Tomas Valenta ff368d1ba7 Explicitly configure keepalive pinging in Python SDK 2024-09-25 18:08:22 -07:00
Jakub Novak 53ee6bbbeb Add pty to Python 2024-09-13 15:45:26 +02:00
Jakub Novak 279b980c5c Add tests 2024-08-14 13:00:26 +02:00
Jakub Novak 772ccb7e81 Clean up 2024-08-06 17:31:58 +02:00
Jakub Novak 0976c10a21 Remove file info from remove method 2024-08-06 15:47:03 +02:00
Jakub Novak 08fc1e4c8a Get paths for filesystem operations from envd 2024-08-06 14:48:48 +02:00
Jakub Novak e0b2a4b305 Don't repeat the timeout test 2024-07-21 09:14:51 +02:00
Jakub Novak 2d37df4abb Clean up unused timeouts 2024-07-18 17:38:29 +02:00
Jakub Novak 2b3aa5d52b Uncomment is running tests 2024-07-18 17:30:19 +02:00
Tomas Valenta 6c84da9d53 Fix body parsing on error 2024-07-12 12:22:57 -07:00
Tomas Valenta 08f1fc6bac Improve tests setup 2024-07-11 12:15:36 -07:00
Tomas Valenta 33510566df Always kill sandboxes during tests; Skip is running tests 2024-07-10 17:58:33 -07:00
Tomas Valenta d78153ed38 Fix Python 3.8 compatibility; Change Python and Node versions in CI/CD 2024-07-10 17:33:35 -07:00
Tomas Valenta 8f43a4e490 Skip specific bug test 2024-07-09 19:02:15 -07:00
Tomas Valenta c4c888dcc8 Fix timeouts in tests 2024-07-09 00:31:14 -07:00