Skip to content

Commit 0974bb9

Browse files
chore: remove Code Interpreter SDK sources migrated to the E2B monorepo (#332)
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 313b1d9 commit 0974bb9

142 files changed

Lines changed: 16 additions & 11795 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.cjs

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/scripts/build_release_itinerary.cjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const path = require('path')
88
// Packages are listed in this order; anything not named here still shows up,
99
// under its workspace name, after the ones that are.
1010
const labels = {
11-
'@e2b/code-interpreter': 'JS SDK (@e2b/code-interpreter)',
12-
'@e2b/code-interpreter-python': 'Python SDK (e2b-code-interpreter)',
1311
'@e2b/data-extractor': 'Charts (e2b-charts)',
1412
'@e2b/code-interpreter-template': 'Sandbox template (code-interpreter)',
1513
}

.github/workflows/js_tests.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
installer-parallel: true
5555

5656
- name: Install Python dependencies
57-
working-directory: python
57+
working-directory: chart_data_extractor
5858
run: |
5959
poetry install --with dev
6060
pip install ruff=="0.11.12"

.github/workflows/performance_tests.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/pull_request.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,9 @@ jobs:
2020
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
2121
with:
2222
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
23-
js-sdk:
24-
uses: ./.github/workflows/js_tests.yml
25-
needs: build-template
26-
secrets:
27-
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
28-
with:
29-
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
30-
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
31-
python-sdk:
32-
uses: ./.github/workflows/python_tests.yml
33-
needs: build-template
34-
secrets:
35-
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
36-
with:
37-
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
38-
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
39-
performance-tests:
40-
uses: ./.github/workflows/performance_tests.yml
41-
needs: build-template
42-
secrets:
43-
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
44-
with:
45-
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
46-
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
4723
cleanup-build-template:
4824
uses: ./.github/workflows/cleanup_build_template.yml
49-
needs: [build-template, js-sdk, python-sdk, performance-tests]
25+
needs: [build-template]
5026
if: always() && !contains(needs.build-template.result, 'failure') && !contains(needs.build-template.result, 'cancelled')
5127
secrets:
5228
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}

.github/workflows/python_tests.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 4 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ jobs:
1919
runs-on: ubuntu-latest
2020
outputs:
2121
release: ${{ steps.version.outputs.release }}
22-
js: ${{ steps.js.outputs.release }}
23-
python: ${{ steps.python.outputs.release }}
2422
charts: ${{ steps.charts.outputs.release }}
2523
template: ${{ steps.template.outputs.release }}
2624
itinerary: ${{ steps.itinerary.outputs.itinerary }}
@@ -74,20 +72,6 @@ jobs:
7472
IS_RELEASE=$(./.github/scripts/is_release.sh)
7573
echo "release=$IS_RELEASE" >> "$GITHUB_OUTPUT"
7674
77-
- name: Check JavaScript SDK Release
78-
id: js
79-
if: steps.version.outputs.release == 'true'
80-
run: |
81-
IS_RELEASE=$(./.github/scripts/is_release_for_package.sh "@e2b/code-interpreter")
82-
echo "release=$IS_RELEASE" >> "$GITHUB_OUTPUT"
83-
84-
- name: Check Python SDK Release
85-
id: python
86-
if: steps.version.outputs.release == 'true'
87-
run: |
88-
IS_RELEASE=$(./.github/scripts/is_release_for_package.sh "@e2b/code-interpreter-python")
89-
echo "release=$IS_RELEASE" >> "$GITHUB_OUTPUT"
90-
9175
- name: Check Charts SDK Release
9276
id: charts
9377
if: steps.version.outputs.release == 'true'
@@ -274,29 +258,11 @@ jobs:
274258
E2B_API_KEY: ${{ secrets.E2B_PROD_API_KEY }}
275259
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
276260

277-
python-tests:
278-
name: Python Tests
279-
needs: [preflight, build-template]
280-
if: (!cancelled()) &&
281-
!contains(needs.*.result, 'failure') &&
282-
needs.preflight.outputs.template == 'true'
283-
uses: ./.github/workflows/python_tests.yml
284-
secrets: inherit
285-
286-
js-tests:
287-
name: JS Tests
288-
needs: [preflight, build-template]
289-
if: (!cancelled()) &&
290-
!contains(needs.*.result, 'failure') &&
291-
needs.preflight.outputs.template == 'true'
292-
uses: ./.github/workflows/js_tests.yml
293-
secrets: inherit
294-
295261
release:
296-
# Every upstream job is listed, not just the tests: a job that fails makes its
297-
# dependents *skip*, and a skipped test job is not a failure — so gating on
262+
# Every upstream job is listed, not just the last one: a job that fails makes
263+
# its dependents *skip*, and a skipped job is not a failure — so gating on
298264
# `needs.*.result` only works for the jobs this one depends on directly.
299-
needs: [preflight, charts-release, build-docker-image, build-template, python-tests, js-tests]
265+
needs: [preflight, charts-release, build-docker-image, build-template]
300266
if: (!cancelled()) &&
301267
!contains(needs.*.result, 'failure') &&
302268
needs.preflight.outputs.release == 'true'
@@ -438,7 +404,7 @@ jobs:
438404
report-failure:
439405
# `preflight` included so a failure there is reported too, whether or not
440406
# `failure()` looks past this job's direct dependencies.
441-
needs: [preflight, charts-release, build-docker-image, build-template, python-tests, js-tests, release]
407+
needs: [preflight, charts-release, build-docker-image, build-template, release]
442408
if: failure()
443409
name: Code Interpreter Release Failed - Slack Notification
444410
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)