[Feature](tests): add SDK compatibility e2e suite#835
Open
tinklone wants to merge 4 commits into
Open
Conversation
lkml-likexu
reviewed
Jul 9, 2026
lkml-likexu
reviewed
Jul 9, 2026
| SDK_E2E_BACKENDS=e2b,cubesandbox pytest --run-e2e -m "p0 or p1" | ||
|
|
||
| # Broader regression | ||
| SDK_E2E_BACKENDS=e2b,cubesandbox pytest --run-e2e -m "p0 or p1 or p2" |
Collaborator
There was a problem hiding this comment.
-m "smoke,p0,p1,p2,p3" ? or -m "smoke AND p0 ..."
lkml-likexu
reviewed
Jul 9, 2026
|
|
||
| ```bash | ||
| export SSL_CERT_FILE=/root/.local/share/mkcert/rootCA.pem | ||
| export SDK_E2E_E2B_INSECURE_TLS=false |
added 3 commits
July 10, 2026 14:35
Add a backend-neutral pytest suite for validating CubeSandbox and E2B Python SDK compatibility across lifecycle, commands, filesystem, and code execution flows. Signed-off-by: maxlong <maxlong@tencent.com>
Default live SDK compatibility runs to the CubeSandbox backend, add preflight checks, and record per-test JSONL results for better PR gate diagnostics. Signed-off-by: maxlong <maxlong@tencent.com>
Reorganize the SDK compatibility E2E README around setup, execution scope, environment, preflight, reporting, and capability-domain layout. Signed-off-by: maxlong <maxlong@tencent.com>
Expand lifecycle scenarios for connect, pause/resume, timeout, auto-resume, auto-kill, and cleanup. Add bounded, redacted SDK operation traces so failures retain actionable request and response context without leaking secrets. Signed-off-by: maxlong <maxlong@tencent.com> Co-authored-by: Cursor <cursoragent@cursor.com>
f6b1cd3 to
1c67713
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SDK_E2E_BACKENDS=e2b,cubesandbox.SSL_CERT_FILE, and E2B TLS fallback behavior.Test plan
python3 -m pytest --collect-only -qcollected 18 default CubeSandbox backend cases.SDK_E2E_BACKENDS=e2b,cubesandbox python3 -m pytest --collect-only -qcollected 36 dual-backend cases.python3 -m pytest -qskipped all 18 default cases without--run-e2e.