Skip to content

Commit 5c6624e

Browse files
committed
Merge branch 'main' into bdougie/con-2329-add-a-cookie-banner-site
2 parents f61b205 + 3bbf241 commit 5c6624e

File tree

262 files changed

+16730
-3013
lines changed

Some content is hidden

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

262 files changed

+16730
-3013
lines changed

.claude/lint-check.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
# Get file path from hook input
4+
FILE_PATH=$(cat | jq -r '.tool_input.file_path // .tool_input.edits[].file_path // empty' | head -n1)
5+
6+
# Function to run lint and typecheck
7+
run_checks() {
8+
local dir=$1
9+
cd "$dir"
10+
npm run lint >&2 && npm run tsc:check >&2
11+
}
12+
13+
# Run checks based on file location
14+
if [[ "$FILE_PATH" == *"/core/"* ]]; then
15+
run_checks core
16+
elif [[ "$FILE_PATH" == *"/gui/"* ]]; then
17+
run_checks gui
18+
elif [[ "$FILE_PATH" == *"/extensions/vscode/"* ]]; then
19+
run_checks extensions/vscode
20+
fi

.claude/settings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"hooks": {
3+
"PostToolUse": [
4+
{
5+
"matcher": "Write|Edit|MultiEdit",
6+
"hooks": [
7+
{
8+
"type": "command",
9+
"command": "$CLAUDE_PROJECT_DIR/.claude/lint-check.sh"
10+
}
11+
]
12+
}
13+
]
14+
}
15+
}

.continue/rules/documentation-standards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ alwaysApply: false
1212

1313
### Conversational and Direct
1414

15-
- Follow Docusaurus documentation standards
15+
- Follow Mintlify documentation standards
1616
- Use simple, conversational language that gets straight to the point
1717
- Avoid overly technical jargon when simpler terms work
1818
- Write as if speaking directly to the developer using the tool

.github/actions/build-vscode-extension/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ inputs:
1818
description: 'Commit SHA for version modification (optional, uses first 7 chars)'
1919
required: false
2020
default: ''
21+
github-token:
22+
description: 'GitHub token for downloading ripgrep'
23+
required: true
2124
outputs:
2225
target:
2326
description: 'The target string used for the build'
@@ -83,7 +86,7 @@ runs:
8386
npm ci
8487
env:
8588
# https://github.com/microsoft/vscode-ripgrep/issues/9#issuecomment-643965333
86-
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
89+
GITHUB_TOKEN: ${{ inputs.github-token }}
8790

8891
- name: Install gui dependencies
8992
shell: bash
@@ -98,6 +101,12 @@ runs:
98101
npm ci
99102
npm i vectordb
100103
104+
- name: Build GUI
105+
shell: bash
106+
run: |
107+
cd gui
108+
npm run build
109+
101110
- name: Prepackage the extension
102111
shell: bash
103112
run: |

.github/actions/run-jetbrains-tests/action.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
name: 'Run JetBrains Tests'
2-
description: 'Setup and run JetBrains IntelliJ tests with all dependencies'
1+
name: "Run JetBrains Tests"
2+
description: "Setup and run JetBrains IntelliJ tests with all dependencies"
3+
4+
inputs:
5+
github-token:
6+
description: "GitHub token for accessing repositories"
7+
required: true
8+
ci-github-token:
9+
description: "CI GitHub token for vscode extension build"
10+
required: true
311

412
runs:
5-
using: 'composite'
13+
using: "composite"
614
steps:
715
- uses: actions/setup-node@v4
816
with:
@@ -20,6 +28,13 @@ runs:
2028
cd core
2129
npm ci
2230
31+
- name: Install gui node_modules and build
32+
shell: bash
33+
run: |
34+
cd gui
35+
npm ci
36+
npm run build
37+
2338
- name: Setup Java
2439
uses: actions/[email protected]
2540
with:
@@ -29,7 +44,7 @@ runs:
2944
- name: Setup FFmpeg
3045
uses: AnimMouse/setup-ffmpeg@v1
3146
with:
32-
token: ${{ env.GITHUB_TOKEN }}
47+
token: ${{ inputs.github-token }}
3348

3449
- name: Setup Gradle
3550
uses: gradle/actions/setup-gradle@v3
@@ -70,7 +85,7 @@ runs:
7085
npm run prepackage
7186
env:
7287
# https://github.com/microsoft/vscode-ripgrep/issues/9#issuecomment-643965333
73-
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
88+
GITHUB_TOKEN: ${{ inputs.ci-github-token }}
7489

7590
- uses: actions/cache@v4
7691
id: binary-cache
@@ -128,4 +143,4 @@ runs:
128143
with:
129144
name: jb-failure-report
130145
path: |
131-
${{ github.workspace }}/extensions/intellij/build/reports
146+
${{ github.workspace }}/extensions/intellij/build/reports
Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: 'Setup Packages'
2-
description: 'Cache and build packages with npm caching'
1+
name: "Setup Packages"
2+
description: "Cache and build packages with npm caching"
33

44
runs:
5-
using: 'composite'
5+
using: "composite"
66
steps:
77
- uses: actions/setup-node@v4
88
with:
@@ -21,17 +21,3 @@ runs:
2121
- name: Build packages
2222
shell: bash
2323
run: node ./scripts/build-packages.js
24-
25-
- name: Install package dependencies
26-
shell: bash
27-
run: |
28-
for package_dir in packages/*/; do
29-
if [ -f "$package_dir/package.json" ] && [ ! -d "$package_dir/node_modules" ]; then
30-
echo "Installing dependencies for $package_dir"
31-
cd "$package_dir"
32-
npm ci
33-
cd - > /dev/null
34-
elif [ -d "$package_dir/node_modules" ]; then
35-
echo "Using cached dependencies for $package_dir"
36-
fi
37-
done

.github/workflows/auto-assign-issue.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: pozil/auto-assign-issue@v2
1515
with:
1616
repo-token: ${{ secrets.CI_GITHUB_TOKEN }}
17-
assignees: sestinj,Patrick-Erichsen,tomasz-stefaniak,RomneyDa
17+
assignees: Patrick-Erichsen,tomasz-stefaniak,RomneyDa,tingwai
1818
numOfAssignee: 1
1919
# - name: "Add default labels"
2020
# uses: actions-ecosystem/action-add-labels@v1

.github/workflows/compliance.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
fi
4141
4242
- name: Add PR title guidance comment
43-
if: steps.pr-title-check.outputs.valid == 'false'
43+
if: always() && steps.pr-title-check.outputs.valid == 'false'
4444
uses: actions/github-script@v7
4545
with:
4646
script: |
@@ -88,6 +88,9 @@ jobs:
8888
].join('\n')
8989
});
9090
}
91+
- name: Ensure job always succeeds
92+
if: always()
93+
run: echo "✅ Conventional commits check completed (warning only)"
9194

9295
security-audit:
9396
name: Security Audit

.github/workflows/main.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ jobs:
8080
arch: ${{ matrix.arch }}
8181
npm_config_arch: ${{ matrix.npm_config_arch }}
8282
pre-release: false
83-
env:
84-
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
83+
github-token: ${{ secrets.GITHUB_TOKEN }}
8584

8685
- name: Upload .vsix artifact
8786
uses: actions/upload-artifact@v4

.github/workflows/pr-build-upload-vsix.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
npm_config_arch: ${{ matrix.arch }}
3737
pre-release: false
3838
commit-sha: ${{ github.sha }}
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
39+
github-token: ${{ secrets.GITHUB_TOKEN }}
4140

4241
- name: Upload build artifact
4342
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)