Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
29a7d54
Fix brand.patch: Correct context lines for all failing hunks
Nov 17, 2025
6c2e02d
Fix brand.patch: Correct gettingStartedContent.ts line number to 225
Nov 17, 2025
53163b5
Fix brand.patch: Update gettingStartedContent.ts line numbers after C…
Nov 17, 2025
400feb6
Fix brand.patch: Correct extensions description hunk line number to 280
Nov 17, 2025
e1ba4ca
Fix brand.patch: Correct extensionsWeb hunk line numbers to 321 and 324
Nov 17, 2025
2e9d931
fix: improve build process for VS Code 1.106 migration
Nov 17, 2025
3f499c4
fix: improve brand.patch application for VS Code 1.106
Nov 17, 2025
dc080c1
fix: handle shallow clones in patch application (CI compatibility)
Nov 17, 2025
b58573a
fix: correct hunk header in brand.patch (line 253)
Nov 17, 2025
d1555c6
fix: correct first hunk header in brand.patch (line 248)
Nov 17, 2025
41113d4
fix: correct patch format - context lines must use space not tab
Nov 17, 2025
5969b3e
fix: restore correct patch format with space+tab for context lines
Nov 17, 2025
15e7d4e
fix: add missing space prefix to context lines in brand.patch
Nov 17, 2025
4ae3db5
fix: use --reject directly for brand.patch to handle hunk mismatches
Nov 17, 2025
cde3255
Fix build failures for VS Code 1.106 migration
Nov 18, 2025
fdef06a
Fix terminal-suggest.patch for VS Code 1.106 compatibility
Nov 18, 2025
5cde968
Add more patches to non-critical list for VS Code 1.106
Nov 18, 2025
bab07a0
Add cli.patch to non-critical list
Nov 18, 2025
809025e
Fix cli.patch failure handling - check non-critical early
Nov 18, 2025
60ede49
Fix PATCH_FAILED variable initialization for early non-critical check
Nov 18, 2025
2a57366
Fix cli.patch early check - use explicit exit code
Nov 18, 2025
456099f
Fix cli.patch early check - use separate variable for function result
Nov 18, 2025
f5538ed
Simplify cli.patch early check condition
Nov 18, 2025
5349b30
fix: Add Rust toolchain setup to Windows build workflow
Nov 18, 2025
dd84cd6
fix: Update patches for VS Code 1.106 compatibility
Nov 18, 2025
f3e6a1a
fix: Correct terminal-suggest.patch format for VS Code 1.106
Nov 18, 2025
e8c781b
fix: Update patches for VS Code 1.106 - partial fixes
Nov 18, 2025
442fb09
fix: Update terminal-suggest.patch with correct context lines
Nov 18, 2025
29254cc
fix: Make OS-specific patches non-critical to prevent build failures
Nov 18, 2025
22508e1
fix: Update remaining non-critical patches for VS Code 1.106
Nov 18, 2025
595ea90
Fix patch failures for VS Code 1.106
Nov 18, 2025
638385d
Improve non-critical patch error handling
Nov 18, 2025
892cb1f
Fix all build failure points and improve error handling
Nov 18, 2025
5a1f96b
Fix build for VS Code 1.106
Nov 18, 2025
e9c52e0
Add additional safety checks for non-critical patches
Nov 18, 2025
044378b
CRITICAL FIX: Prevent OS patches from causing build exit
Nov 18, 2025
6010f5c
Fix missing cross-spawn dependency for buildreact
Nov 18, 2025
1ffbc13
Add dependency verification after npm install
Nov 18, 2025
2ad21e9
Fix missing ternary-stream dependency for gulp build
Nov 18, 2025
56993d3
Fix ERR_REQUIRE_ESM error for @electron/get in gulp-electron
Nov 18, 2025
eb93fa6
Fix argument index in electron-get patch script
Nov 18, 2025
0c375af
Fix ERR_REQUIRE_ESM for @octokit/rest in gulp-electron
Nov 18, 2025
d589df4
PERMANENT FIX: Comprehensive ESM compatibility for gulp-electron
Nov 18, 2025
ac276aa
Fix ensureESMModules() call logic in ESM patch
Nov 18, 2025
81eeeda
Install extension dependencies before building
Nov 18, 2025
cd05f4a
Improve error message for extension media compilation
Nov 18, 2025
8fcacd0
Fix extension webpack config loading for ES modules
Nov 18, 2025
dbd6088
Fix async/await syntax error in extension webpack loader patch
Nov 18, 2025
4201b4a
Fix async pattern matching in extension webpack loader patch
Nov 18, 2025
447cf57
Fix Promise.all closing bracket pattern in extension webpack loader
Nov 18, 2025
add7f8f
Fix .flat() compatibility issue in extension webpack loader
Nov 19, 2025
9fa2f4b
Add flattening step and update merge call for webpack streams
Nov 19, 2025
0901a07
Use file:// URL for dynamic import of ES module webpack configs
Nov 19, 2025
41f5484
Use pathToFileURL for proper ES module import URLs
Nov 19, 2025
a743b17
Fix webpack config patch pattern matching
Nov 19, 2025
8e562f7
Force webpack config patch application and add verification
Nov 19, 2025
bc9a809
Make webpack root config loading optional and silent on failure
Nov 19, 2025
56c926e
Add fallback for loading ES module webpack configs
Nov 19, 2025
8c7d7e7
Try .mjs extension first for ES module imports
Nov 19, 2025
228db8a
Simplify ES module import - root package.json has type: module
Nov 19, 2025
3dd7ebc
Fix syntax error: remove extra else block in webpack config patch
Nov 19, 2025
1b7b369
Improve webpack config patch pattern matching
Nov 19, 2025
90bce7e
Add line-by-line fallback for webpack config patch
Nov 19, 2025
c564432
Move webpack config patch to run AFTER TypeScript compilation
Nov 19, 2025
a27fb41
Remove duplicate webpack config patch from prepare_vscode.sh
Nov 19, 2025
7328c01
Fix webpackStreams patch pattern matching
Nov 19, 2025
d59088b
Fix webpackStreams patch condition logic
Nov 19, 2025
366b50e
Make webpackStreams patch more robust with better pattern matching
Nov 19, 2025
b037664
Fix closing bracket logic in webpackStreams patch
Nov 19, 2025
b8fa537
Add debug output to webpack patch to verify it's running
Nov 19, 2025
da6e4a6
Improve then() callback async pattern matching
Nov 19, 2025
33fb6d2
Fix then() callback pattern to match exact code structure
Nov 19, 2025
8f8ac29
Simplify then() callback pattern to match exact compiled code
Nov 19, 2025
c963625
Make webpack patch more aggressive - always run if file needs patching
Nov 19, 2025
f8ced83
Fix indentation and logic flow in webpack patch
Nov 19, 2025
f1753b4
Fix remaining indentation issues in webpack patch
Nov 19, 2025
624d731
Fix all indentation in webpack patch section
Nov 19, 2025
cda2970
Fix final indentation issues in webpack patch
Nov 19, 2025
e73262b
Fix indentation in webpack patch section - syntax error
Nov 19, 2025
dca7ee7
Fix missing else/fi blocks in webpack patch section
Nov 19, 2025
3ebfe66
Add extensive debugging to webpack patch
Nov 19, 2025
45a9c04
Add re-patch after compile-extensions-build and potential issues anal…
Nov 19, 2025
7cbdddf
Fix all issues identified in POTENTIAL_BUILD_ISSUES.md
Nov 19, 2025
41b4a1a
Complete fixes for all issues: extension dependency verification and …
Nov 19, 2025
1348615
Make JavaScript patch script debug output conditional on DEBUG
Nov 19, 2025
646f8ab
Fix DEBUG environment variable passing to node script
Nov 19, 2025
b2b3f52
Fix webpack patch pattern matching - make it more aggressive
Nov 19, 2025
9ad7e30
Make webpack patch ULTRA aggressive - replace ANY require(webpackConf…
Nov 19, 2025
88e65a5
Update re-patch logic to use same aggressive approach
Nov 19, 2025
57b9466
Make patch ALWAYS run if patterns exist - ignore pathToFileURL check
Nov 19, 2025
0c61346
Fix else clause message and commit file deletion
Nov 19, 2025
4383896
Try patching TypeScript source before compilation as alternative appr…
Nov 19, 2025
2bc5d21
Patch TypeScript source file instead of compiled JavaScript
Nov 19, 2025
e88b56e
Also patch webpackRootConfig require in TypeScript source
Nov 19, 2025
da08aa2
Fix syntax error in webpackRootConfig replacement
Nov 19, 2025
442f917
Fix build order: patch TypeScript BEFORE compilation, not after
Nov 19, 2025
fb492d1
Add comprehensive build process validation document
Nov 19, 2025
098a00a
Delete BUILD_VALIDATION.md as requested
Nov 19, 2025
50d881a
Patch extensions.js RIGHT BEFORE compile-extensions-build with direct…
Nov 19, 2025
c215ffc
Fix pre-build patch script - use proper file-based script instead of …
Nov 19, 2025
c897800
Verify and fix patch against actual codebase structure
Nov 19, 2025
affbb9c
Handle .js webpack configs by copying to .mjs before importing
Nov 19, 2025
44d0391
Ensure ES module patch runs even when require() already removed
Nov 19, 2025
eb9c528
Skip TS-level webpack patch and convert async streams back to real st…
Nov 19, 2025
7cd300e
Improve webpack patch handling and performance
Nov 19, 2025
bf72a87
Force webpack config imports to copy .js → .mjs even after initial patch
Nov 19, 2025
c4f62b9
Fix webpack config ES module loading: pre-convert .js to .mjs and alw…
Nov 19, 2025
9dc6129
Fix regex syntax error in webpack config patch script
Nov 19, 2025
be9717e
fix: handle empty glob patterns in REH build for darwin
Nov 19, 2025
2622afe
fix: use direct perl replacement for REH glob fix
Nov 19, 2025
72201f0
fix: use Node.js for reliable REH glob pattern fix
Nov 19, 2025
a7e2b36
fix: correctly handle multi-line gulp.src for REH glob fix
Nov 19, 2025
30fb3b5
fix: ensure dependenciesSrc is never empty instead of relying on allo…
Nov 19, 2025
0514ea6
fix: properly handle empty dependenciesSrc array in REH build
Nov 19, 2025
a7b9aef
fix: change const to let for dependenciesSrc to allow reassignment
Nov 19, 2025
9a99873
fix: use dynamic import for @electron/osx-sign in sign.js
Nov 19, 2025
345258c
fix: add REH empty glob fix to Linux, Windows, and Alpine builders
Nov 19, 2025
3d40c39
fix: skip AppX building when win32ContextMenu is missing in product.json
Nov 19, 2025
0636ddb
fix: add AppX skip fix to Windows CI package script
Nov 19, 2025
aafbb89
fix: patch setup-env.sh to respect --skip-sysroot flag for armhf/arm64
Nov 19, 2025
876faca
fix: make rcedit optional when wine is not available for Windows builds
Nov 19, 2025
8f004e1
fix: refine rcedit wine fix to wrap individual call
Nov 19, 2025
aa1a3e7
fix: add rcedit wine fix to main build.sh for local Windows builds
Nov 19, 2025
097319f
fix: set VSCODE_SKIP_NODE_VERSION_CHECK for Windows builds
Nov 20, 2025
7f3f9f5
fix: move VSCODE_SKIP_NODE_VERSION_CHECK before cd into vscode
Nov 20, 2025
071787d
fix: patch preinstall.js directly to skip Node.js version check
Nov 20, 2025
72b8d41
Update download URLs to use opencortexide/cortexide-binaries repository
Nov 20, 2025
5bc3721
fix: patch gulp-electron download.js to handle ESM @electron/get
Nov 20, 2025
c2c7817
fix: patch gulp-electron download.js for octokit ESM as well
Nov 20, 2025
ef2e735
fix: avoid sysroot download during --skip-sysroot builds
Nov 20, 2025
1fcb7d1
fix: patch gulp-electron download.js for got ESM import
Nov 20, 2025
fe5c757
fix: unset cross-compiler vars when skipping sysroot
Nov 20, 2025
99ba1e2
fix: two Linux build issues - sysroot checksum and electron version c…
Nov 20, 2025
229e317
fix: handle existing openssl directory in build_cli.sh
Nov 20, 2025
2003cef
fix: patch @vscode/vsce-sign postinstall to support ppc64
Nov 20, 2025
fef08d5
fix: patch @vscode/vsce-sign postinstall in package_reh.sh too
Nov 20, 2025
2f61b61
fix: comprehensive Linux build improvements
Nov 20, 2025
231b5da
fix: patch InnoSetup code.iss to handle missing AppX file
Nov 20, 2025
c913f42
fix: handle native-keymap rebuild failure and missing gulp in Linux b…
Nov 20, 2025
d42a00a
fix: move InnoSetup AppX patch to prepare_assets.sh
Nov 20, 2025
9b31a1e
fix: improve InnoSetup AppX patch to catch all references
Nov 20, 2025
9d252c8
fix: make InnoSetup AppX patch more aggressive
Nov 20, 2025
ad5d1ae
fix: make InnoSetup AppX patch even more aggressive with section trac…
Nov 20, 2025
13834e3
fix: comprehensive native-keymap rebuild prevention for Linux builds
Nov 20, 2025
fe682a9
fix: handle empty glob patterns in build/lib/extensions.js for Linux …
Nov 20, 2025
190e809
fix: handle #ifdef blocks properly in InnoSetup AppX patch
Nov 20, 2025
1347391
fix: improved empty glob pattern handling in extensions.js
Nov 20, 2025
3c74b85
fix: properly handle #ifdef blocks in InnoSetup AppX patch
Nov 20, 2025
0c13021
fix: more aggressive empty glob pattern fix for extensions.js
Nov 20, 2025
acb6f1b
fix: add gulp.src wrapper fallback for empty glob patterns
Nov 20, 2025
591997e
fix: target specific dependenciesSrc empty array issue in extensions.js
Nov 20, 2025
05375c5
fix: install extension dependencies before building in Linux package_…
Nov 20, 2025
f9fa09a
fix: improve extension dependency installation with verification
Nov 20, 2025
8fa1e6e
fix: improve microsoft-authentication dependency installation
Nov 20, 2025
17e86de
fix: Add verification and auto-patch for ppc64le gulp task
Nov 21, 2025
5fbeef9
fix: Add gulp task verification for all alternative architectures
Nov 21, 2025
59910b8
fix: Correct bash syntax error in gulp task verification
Nov 21, 2025
59bc82b
fix: patch REH gulp-electron for ESM modules
Nov 21, 2025
55f4d8a
fix: auto-apply arch patches for alt Linux builds
Nov 21, 2025
d319afb
fix: make riscv64 ripgrep replacement robust
Nov 21, 2025
aae76be
fix: ensure dependencies-generator.js has validation disabled
Nov 21, 2025
e0d5ee9
fix: make architecture patches non-critical and skip if already applied
Nov 21, 2025
0cfb01e
fix: ensure non-critical patches never exit and add extensions.js pat…
Nov 21, 2025
97b01cb
fix: ensure ALL exit paths check for non-critical patches
Nov 21, 2025
4b261c9
fix: install extension dependencies in REH build
Nov 21, 2025
947a97d
fix: increase Docker buffer size and fix loong64 ripgrep script
Nov 21, 2025
3615fbc
fix: add sysroot patch to REH, fix Docker ENOBUFS with file output, a…
Nov 21, 2025
c04fdc5
fix: add sysroot checksums and fix Node.js version/Docker extraction
Nov 21, 2025
469124a
fix: move checksum patch before setup-env, improve Node.js version an…
Nov 21, 2025
dc0edba
fix: add gcc-suffixed sysroot checksums and improve Node.js version p…
Nov 22, 2025
fd52da2
Fix s390x checksum lookup and Alpine Docker ENOBUFS errors
Nov 22, 2025
51e99b3
Add critical file verification to prevent blank screen issues
Nov 22, 2025
cf3eff7
Fix multiple REH build issues: remote sysroot fallback, Node.js versi…
Nov 22, 2025
e8a12bf
Fix critical build and installation issues across all platforms
Nov 22, 2025
e6a7063
Fix remote sysroot fallback scope, Node.js version override, and Alpi…
Nov 22, 2025
1d51d47
Fix remote sysroot fallback variable scope and improve Node.js/Alpine…
Nov 22, 2025
f60cc3a
Fix critical Windows MSI and product.json merge issues
Nov 22, 2025
66039e4
Fix macOS blank screen: Use correct app bundle name and auto-fix miss…
Nov 22, 2025
caae462
Add error handling for macOS app bundle verification
Nov 22, 2025
05fba36
Fix remote sysroot fallback pattern matching and improve Node.js/Alpi…
Nov 22, 2025
cadc916
Fix Windows MSI XSL pattern to match executable file correctly
Nov 22, 2025
68a34f7
Fix binary-name.patch handling to allow build to continue with conflicts
Nov 22, 2025
3c002f8
Add patch to fix TypeScript errors in cortexideCommandBarService
Nov 22, 2025
6b054ee
Fix patch format for cortexideCommandBarService TypeScript errors
Nov 22, 2025
24a098f
Fix patch format with more context lines for cortexideCommandBarService
Nov 22, 2025
40a8858
Add script-based fix for TypeScript errors in cortexideCommandBarService
Nov 22, 2025
40cf1e8
Make fix-cortexide-command-bar-types.patch non-critical
Nov 22, 2025
af6b245
Improve TypeScript fix script for cortexideCommandBarService
Nov 22, 2025
3a730b8
Improve TypeScript fix with better line-by-line processing
Nov 22, 2025
bb437f0
Fix TypeScript errors by updating assignment types at line 35
Nov 22, 2025
0cdb168
Improve TypeScript fix to handle type assertions at line 35
Nov 22, 2025
5512942
Fix heredoc syntax error in TypeScript fix script
Nov 22, 2025
ed23b17
Fix heredoc syntax error in TypeScript fix script
Nov 22, 2025
a441c2b
Improve TypeScript fix script to handle multi-line assignments and be…
Nov 22, 2025
4da07f7
Fix TypeScript fix script to handle multi-line property declarations
Nov 22, 2025
de2a70b
Add extensive debugging and improve regex for TypeScript fix script
Nov 22, 2025
f07a11b
Fix heredoc syntax and add fallback fixes for TypeScript errors
Nov 22, 2025
6a42a1d
Replace complex TypeScript fix script with simple direct perl fixes
Nov 22, 2025
817a62c
Refactor: Export check job outputs to GitHub Actions environment
cursoragent Nov 22, 2025
9a664d4
Refactor check_cron_or_pr.sh to use case statement
cursoragent Nov 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions .github/workflows/stable-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ env:
APP_NAME: CortexIDE
ASSETS_REPOSITORY: ${{ github.repository_owner }}/cortexide-binaries
BINARY_NAME: cortexide
GITHUB_BRANCH: ${{ github.ref }}
DISABLE_UPDATE: 'yes'
GH_REPO_PATH: ${{ github.repository_owner }}/cortexide-binaries
ORG_NAME: ${{ github.repository_owner }}
Expand All @@ -49,11 +50,11 @@ jobs:
check:
runs-on: ubuntu-latest
outputs:
MS_COMMIT: ${{ env.MS_COMMIT }}
MS_TAG: ${{ env.MS_TAG }}
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
SHOULD_BUILD: ${{ env.SHOULD_BUILD }}
SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}
MS_COMMIT: ${{ steps.export-check-env.outputs.ms_commit }}
MS_TAG: ${{ steps.export-check-env.outputs.ms_tag }}
RELEASE_VERSION: ${{ steps.export-check-env.outputs.release_version }}
SHOULD_BUILD: ${{ steps.export-check-env.outputs.should_build }}
SHOULD_DEPLOY: ${{ steps.export-check-env.outputs.should_deploy }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -83,6 +84,17 @@ jobs:
CHECK_ALL: 'yes'
run: ./check_tags.sh

- name: Export check results
id: export-check-env
run: |
{
echo "ms_commit=${MS_COMMIT:-}";
echo "ms_tag=${MS_TAG:-}";
echo "release_version=${RELEASE_VERSION:-}";
echo "should_build=${SHOULD_BUILD:-}";
echo "should_deploy=${SHOULD_DEPLOY:-}";
} >> "$GITHUB_OUTPUT"

compile:
needs:
- check
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stable-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ env:

ASSETS_REPOSITORY: ${{ github.repository_owner }}/cortexide-binaries
BINARY_NAME: cortexide
GITHUB_BRANCH: ${{ github.ref }}
GH_REPO_PATH: ${{ github.repository_owner }}/cortexide-binaries
ORG_NAME: ${{ github.repository_owner }}
OS_NAME: osx
Expand Down
28 changes: 23 additions & 5 deletions .github/workflows/stable-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ env:
APP_NAME: CortexIDE
ASSETS_REPOSITORY: ${{ github.repository_owner }}/cortexide-binaries
BINARY_NAME: cortexide
GITHUB_BRANCH: ${{ github.ref }}
GH_REPO_PATH: ${{ github.repository_owner }}/cortexide-binaries
ORG_NAME: ${{ github.repository_owner }}
OS_NAME: windows
Expand All @@ -47,11 +48,11 @@ jobs:
check:
runs-on: ubuntu-latest
outputs:
MS_COMMIT: ${{ env.MS_COMMIT }}
MS_TAG: ${{ env.MS_TAG }}
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
SHOULD_BUILD: ${{ env.SHOULD_BUILD }}
SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}
MS_COMMIT: ${{ steps.export-check-env.outputs.ms_commit }}
MS_TAG: ${{ steps.export-check-env.outputs.ms_tag }}
RELEASE_VERSION: ${{ steps.export-check-env.outputs.release_version }}
SHOULD_BUILD: ${{ steps.export-check-env.outputs.should_build }}
SHOULD_DEPLOY: ${{ steps.export-check-env.outputs.should_deploy }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -81,6 +82,17 @@ jobs:
CHECK_ALL: 'yes'
run: ./check_tags.sh

- name: Export check results
id: export-check-env
run: |
{
echo "ms_commit=${MS_COMMIT:-}";
echo "ms_tag=${MS_TAG:-}";
echo "release_version=${RELEASE_VERSION:-}";
echo "should_build=${SHOULD_BUILD:-}";
echo "should_deploy=${SHOULD_DEPLOY:-}";
} >> "$GITHUB_OUTPUT"

compile:
needs:
- check
Expand Down Expand Up @@ -209,6 +221,12 @@ jobs:
python-version: '3.11'
if: env.SHOULD_BUILD == 'yes'

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.vscode_arch == 'x64' && 'x86_64-pc-windows-msvc' || 'aarch64-pc-windows-msvc' }}
if: env.SHOULD_BUILD == 'yes'

- name: Check existing VSCodium tags/releases
env:
DISABLE_MSI: ${{ vars.DISABLE_STABLE_MSI }}
Expand Down
Loading