Skip to content

Commit

Permalink
Merge pull request #456 from Almenon/439-rearchitecture
Browse files Browse the repository at this point in the history
restart every time
  • Loading branch information
Almenon authored Nov 16, 2024
2 parents 72df23b + 09d76a5 commit 497fbe5
Show file tree
Hide file tree
Showing 31 changed files with 2,663 additions and 1,024 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4.1.0
with:
node-version: 12.x
node-version: 20
- run: npm ci
- run: npm run vscode:prepublish
- run: npm run unitTests
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ myenv
coverage
.nyc_output
.idea
instrumentation_key.txt

################################
## Standard Python Gitignore
Expand Down
3 changes: 3 additions & 0 deletions .vscode-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const { defineConfig } = require('@vscode/test-cli');

module.exports = defineConfig({ files: 'out/test/suite/**/*.test.js' });
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v3.0.0 (11/12/2024) πŸ¦‹πŸ›
πŸ¦‹ [AREPL now restarts the python backend each run. This eliminates many bugs, although you may see more CPU utilization.](https://github.com/Almenon/AREPL-vscode/issues/439")
πŸ› As a consequence of above, AREPL will no longer crash when there is a infinite loop
πŸ› As a consequence of above, pandas now works better
πŸ› As a consequence of above, boto3 now works better

## v2.0.5 (3/5/2023) πŸ›πŸš€
πŸ› [Fixed inconsistent variable display in certain cases](https://github.com/Almenon/AREPL-vscode/issues/3716)

Expand Down
23 changes: 23 additions & 0 deletions copy_backend.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
setlocal

REM assumes "arepl-backend" is at ..\arepl-backend

set "source_dir=..\arepl-backend"
set "dest_dir=node_modules\arepl-backend"

if not exist "%dest_dir%" (
mkdir "%dest_dir%"
)

REM Create exclude file temporarily
echo node_modules\ > exclude.txt
echo personal\ >> exclude.txt
echo .mypy_cache\ >> exclude.txt
echo .pytest_cache\ >> exclude.txt

xcopy "%source_dir%" "%dest_dir%" /E /I /EXCLUDE:exclude.txt

del exclude.txt

echo Copy complete.
endlocal
1 change: 1 addition & 0 deletions media/connection_string.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
InstrumentationKey=84e1a8aa-bf7d-49d3-82ee-cec803dac0e7;IngestionEndpoint=https://westus2-2.in.applicationinsights.azure.com/;LiveEndpoint=https://westus2.livediagnostics.monitor.azure.com/;ApplicationId=66562322-f74e-478d-89ba-225591963aed
Loading

0 comments on commit 497fbe5

Please sign in to comment.