Skip to content

Commit 3f22f9c

Browse files
committed
Release 1.5.1 patch version
1 parent 0365f29 commit 3f22f9c

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

recipe/build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -exuo pipefail
55
# This code includes code from https://github.com/conda-forge/openvscode-server-feedstock
66
# which is licensed under the BSD-3-Clause License.
77

8-
pushd sagemaker-code-editor
8+
pushd code-editor1.5.1
99
pushd src
1010

1111
# Fix error 'Check failed: current == end_slot_index.' while running 'yarn list --prod --json'
@@ -14,6 +14,10 @@ pushd src
1414

1515
export DISABLE_V8_COMPILE_CACHE=1
1616

17+
# Limit Node.js memory usage to prevent OOM kills
18+
export NODE_OPTIONS="--max-old-space-size=4096"
19+
export UV_THREADPOOL_SIZE=4
20+
1721
# Install node-gyp globally as a fix for NodeJS 18.18.2 https://github.com/microsoft/vscode/issues/194665
1822
npm i -g node-gyp
1923

@@ -22,7 +26,7 @@ VSCODE_RIPGREP_VERSION=$(jq -r '.dependencies."@vscode/ripgrep"' package.json)
2226
mv package.json package.json.orig
2327
jq 'del(.dependencies."@vscode/ripgrep")' package.json.orig > package.json
2428

25-
yarn install
29+
yarn install --network-concurrency 1
2630

2731
# Install @vscode/ripgrep without downloading the pre-built ripgrep.
2832
# This often runs into Github API ratelimits and we won't use the binary in this package anyways.

recipe/meta.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
{% set name = "sagemaker-code-editor" %}
2-
{% set version = "1.6.1" %}
2+
{% set version = "1.5.1" %}
33

44
package:
55
name: {{ name|lower }}
66
version: {{ version|replace("-", "_") }}
77

88
source:
9-
url: https://github.com/aws/sagemaker-code-editor/releases/download/v1.6.1/code-editorv1.6.1.tar.gz
10-
sha256: 2fa5e00a9a1247b334e4584b93ac64dfc51dd6cf62055953a73831b4faff1bc2
11-
folder: sagemaker-code-editor
9+
url: https://github.com/aws/sagemaker-code-editor/releases/download/v1.5.1/code-editor1.5.1.tar.gz
10+
sha256: c22897805d7a779d340819e94d5f585c35b977002a12d01d78262e4678d62d62
11+
folder: code-editor1.5.1
1212

1313
build:
1414
number: 0
1515
skip: true # [not linux]
16+
# Request more build resources
17+
script_env:
18+
- NODE_OPTIONS=--max-old-space-size=4096
19+
- UV_THREADPOOL_SIZE=4
1620

1721
requirements:
1822
build:

0 commit comments

Comments
 (0)