Skip to content

test: split Template suites into mocked unit and e2e tiers (4/4) - #1745

Open
devin-ai-integration[bot] wants to merge 1 commit into
devin/1787315092-test-tiers-volumefrom
devin/1787315092-test-tiers-template
Open

test: split Template suites into mocked unit and e2e tiers (4/4)#1745
devin-ai-integration[bot] wants to merge 1 commit into
devin/1787315092-test-tiers-volumefrom
devin/1787315092-test-tiers-template

test: split Template suites into mocked unit and e2e tiers

328c3e3
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Aug 21, 2026 in 8m 13s

Code review found 1 potential issue

Found 2 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 0
🟡 Nit 1
🟣 Pre-existing 0
Severity File:Line Issue
🟡 Nit packages/js-sdk/tests/template/exists.test.ts:1-14 Missing E2B_DEBUG skip on control-plane/build e2e tests

Annotations

Check warning on line 14 in packages/js-sdk/tests/template/exists.test.ts

See this annotation in the file changed.

@claude claude / Claude Code Review

Missing E2B_DEBUG skip on control-plane/build e2e tests

Use `hostedTest` instead of `e2eTest` for tests that hit control-plane/build-only APIs, so `E2B_DEBUG` still skips them -- sweep:`e2eTest\(` (seen in backgroundBuild.test.ts and exists.test.ts). `hostedTest = e2eTest.skipIf(isDebug)` is the variant meant for exactly this case; a local envd cannot service `Template.buildInBackground` or `Template.exists`, so under `E2B_E2E=1` + `E2B_DEBUG` these tests would hit the wrong server and fail/hang instead of skipping, unlike their Python mirrors which