Commit graph

180 commits

Author SHA1 Message Date
Patrick Erichsen
291f8f5dd2
fix: ensure cross-target LanceDB binaries are correctly copied (#9100)
* fix: install lancedb binary for cross-target builds

* chore: add temporary darwin build workflow

* chore: remove temporary darwin workflow

* fix: prettier formatting in prepackage.js

Co-authored-by: nate <nate@continue.dev>

* fix: ensure cross-target LanceDB binaries copied

* fix: retain target lancedb binary in vsix

* Update prepackage.js

* fix: install LanceDB packages sequentially in binary build

The previous code ran installAndCopyNodeModules in parallel for all
targets, but they all write to node_modules/@lancedb. This caused
race conditions where files could be partially written or empty.

Changed to sequential installation to prevent file corruption.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* chore: add diagnostic logging for lancedb copy

* chore: add detailed diagnostics to install-copy-nodemodule

* fix: remove cached lancedb before fresh copy

ncp's clobber option doesn't reliably overwrite cached files.
Delete destination directory before copying to ensure fresh install.

* chore: clean up diagnostic code, keep fix for cached lancedb

Root cause: ncp doesn't reliably overwrite cached files.
Fix: Remove destination directory before copying fresh lancedb binaries.

---------

Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com>
Co-authored-by: nate <nate@continue.dev>
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-10 10:39:42 -08:00
Patrick Erichsen
9e65f82131
Fix/lancedb cross target (#9033)
* fix: install lancedb binary for cross-target builds

* chore: add temporary darwin build workflow

* chore: remove temporary darwin workflow

* fix: prettier formatting in prepackage.js

Co-authored-by: nate <nate@continue.dev>

* fix: ensure cross-target LanceDB binaries copied

* fix: retain target lancedb binary in vsix

* Update prepackage.js

---------

Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com>
Co-authored-by: nate <nate@continue.dev>
2025-12-08 10:42:08 -08:00
joffeoja
ff5b62da87 chore(vscode): remove stray statement in downloadRipgrepBinary 2025-09-29 22:47:19 +02:00
joffeoja
86c2c17c2d chore(vscode): remove unused copyTreeSitterTagQryFiles helper 2025-09-29 15:18:38 +02:00
joffeoja
77547ab8af chore(vscode): rename download-copy-sqlite-esbuild.js to download-copy-sqlite.js and update imports 2025-09-29 15:14:19 +02:00
joffeoja
fb1c29e146 build(vscode): stop bundling esbuild; remove @esbuild binary staging and checks 2025-09-29 15:11:43 +02:00
Shawn Smith
42ea4b2d7e
fix: 💚 Fix Builds (#6933)
* fix: 💚 Remove clean on build

* fix: 💚 The dist directory was not getting created

* fix: 💚 Install Vite

* fix: 💚 move gui build after core

* fix: ✅ Fix the PromptFile test to be more robust

* fix: 💚 Use the proper github secret

* fix: 💚 Pass github secret correctly to composite workflow

* fix: 💚 More token fixes

* fix: 💚 More secrets fixes

* fix: 💚 Add rimfrafSync cleanup to vscode dist like JetBrains

* build: ⚗️ See what happens if we remove the GUI build step from prepackage.js

* Revert prepackage changes

* Remove pre-package dependencies

* Put back the chdir and build from root gui

* build: 💚 Final cleanup from refactoring

* Remove deprecated isInGitHubActions check

* feat: 🏗️ VsCode Task Improvements

* fix: 🎨 Prettier

* fix: 🎨 Prettier
2025-08-04 10:53:35 -07:00
Patrick Erichsen
fb324f1f8d Update prepackage.js 2025-07-28 21:12:48 -07:00
Patrick Erichsen
bbb1cda07c add timer logs to prepackage 2025-07-28 21:11:40 -07:00
Patrick Erichsen
094c8bb6bf Update package.js 2025-07-28 20:57:23 -07:00
Tomasz Stefaniak
fe4ab26a9b
Merge pull request #6472 from dipfocus/improvement/modernize-download-with-proxy
Modernize downloadFile function with fetch API and proxy support
2025-07-28 10:23:31 -07:00
uinstinct
60cd8fd033 chore: fix import problems in package-all script 2025-07-07 12:28:46 +05:30
dipfocus
1320ff828e Refactor downloadFile function to use fetch API and support proxy configuration. 2025-07-05 18:54:27 +08:00
Nate
a6dbe946ea address feedback from recurse 2025-06-26 20:54:15 -07:00
uinstinct
01930c926d skip installations and downloads on extension run 2025-06-19 16:41:16 +05:30
uinstinct
1414aec53b rename install nodemodules to npm-install 2025-06-06 23:17:58 +05:30
uinstinct
1d4a31af22 rename install-copy-sqlite-esbuild to download-copy-sqlite-esbuild 2025-06-06 22:59:39 +05:30
uinstinct
e8e8821134 move install-copy-nodemodule to vscode scripts 2025-06-06 22:58:45 +05:30
uinstinct
3722b8c4f8 refactor download node-sqlite to common 2025-06-06 22:51:55 +05:30
uinstinct
9fae1a2f05 refactor utils to child process files 2025-06-06 22:30:40 +05:30
uinstinct
8d48cefc2e correct to copy-nodemodule.js 2025-06-06 21:20:16 +05:30
uinstinct
e98307aafa download using node https over curl 2025-06-06 21:08:33 +05:30
uinstinct
37139c9e11 parallel node sqlite and esbuild downloads 2025-06-06 20:39:03 +05:30
uinstinct
c0700e1634 parallel config yaml generation copying and installing node modules 2025-06-06 19:08:53 +05:30
uinstinct
8194ec700c parallel npm installation of vscode and gui 2025-06-06 18:46:21 +05:30
Nate
02e4fa6e45 Merge branch 'main' into nate/prettier-ci 2025-06-02 13:03:36 -07:00
Tomasz Stefaniak
9946a5c05f fix: mac build issues 2025-05-30 18:38:18 -07:00
Nate
d66bdd9989 npx prettier --check "extensions/vscode/**/*.{js,jsx,ts,tsx,json,css,md
}" --ignore-path .gitignore --ignore-path .prettierignore --write
2025-05-25 18:38:44 -07:00
uinstinct
15aa2d4fb9 Merge branch 'main' into vscode-vsce 2025-05-13 09:47:26 +05:30
uinstinct
6c6e0ad33c replace vsce with @vscode/vsce 2025-05-06 17:49:58 +05:30
uinstinct
0d800fb5e0 remove generic esbuild binary from build 2025-05-06 09:03:55 +05:30
Nate
7f70f17552 generate, include in build, and set in settings.json the schema 2025-04-11 23:15:04 -07:00
Patrick Erichsen
6071ffa79a
Merge pull request #4162 from owtaylor/trigger-esbuild-with-file
Reliably trigger VSCode extension rebuild
2025-04-10 09:36:42 -07:00
uinstinct
2a8cb6d524 improve(package.js): show the version when vsce packages 2025-04-04 12:47:23 +05:30
Patrick Erichsen
ed2f49551e chore: remove docs suggestions 2025-03-12 21:18:35 -07:00
Owen W. Taylor
3667346476 pr_checks: write build timestamp before running tsc 2025-02-24 18:26:35 -05:00
Owen W. Taylor
2483abdc7b Reliably trigger VSCode extension rebuild
The code to trigger a rebuild on missing extension.js added in
https://github.com/continuedev/continue/pull/3276
turns out not to be entirely reliable because esbuild sometimes
falls back to full-contents comparison rather than using the modtime.
To fix this, include a buildTimestamp file in the input, and
rewrite that when we want to trigger a rebuild.
2025-02-24 18:10:15 -05:00
Nate Sesti
602a0d256a
Merge pull request #4112 from fbricon/main
Fix cross-platform prepackaging failing to copy start_ollama.sh
2025-02-21 10:15:11 -08:00
Nate Sesti
f82518312d
Merge pull request #4173 from continuedev/dallin/fix-transformers.js
Revert esbuild upgrade to fix transformers.js
2025-02-15 10:09:12 -08:00
Dallin Romney
03ce9d2911 revert esbuild upgrade 2025-02-14 20:39:08 -08:00
Dallin Romney
b5c07654df remove onigasm 2025-02-14 19:42:57 -08:00
tomasz-io
e8387228f4 Revert "Update prepackage.js"
This reverts commit a96de28eb0.
2025-02-12 13:45:57 -08:00
tomasz-io
6e71d92283 Reapply "improv: upgrade esbuild"
This reverts commit 0e7ea0fdb0.
2025-02-12 13:44:04 -08:00
tomasz-io
a96de28eb0 Update prepackage.js 2025-02-12 13:40:37 -08:00
tomasz-io
0e7ea0fdb0 Revert "improv: upgrade esbuild"
This reverts commit 0ef4d66016.
2025-02-12 13:39:04 -08:00
tomasz-io
0ef4d66016 improv: upgrade esbuild 2025-02-12 13:32:16 -08:00
Fred Bricon
f358d0a273 Fix cross-platform prepackaging failing to copy start_ollama.sh
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-02-12 14:43:28 +01:00
Patrick Erichsen
f4a11e7603 use correct .tar.gz 2025-02-10 18:26:48 -08:00
Patrick Erichsen
20c5c4713c Update prepackage.js 2025-02-09 19:46:13 -08:00
Patrick Erichsen
f3161c1cb8 Update prepackage.js 2025-02-08 19:27:59 -08:00