diff --git a/.continue/rules/typescript-enum-usage.md b/.continue/rules/typescript-enum-usage.md new file mode 100644 index 00000000000..34728c1d5af --- /dev/null +++ b/.continue/rules/typescript-enum-usage.md @@ -0,0 +1,6 @@ +--- +globs: "**/*.{ts,tsx}" +alwaysApply: false +--- + +Use enums instead of simple string unions when possible in TypeScript code diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 2497e28dc9c..348566cd889 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -8,9 +8,9 @@ - [] The relevant docs, if any, have been updated or created - [] The relevant tests, if any, have been updated or created -## Screenshots +## Screen recording or screenshot -[ For visual changes, include screenshots. Screen recordings are particularly helpful, and appreciated! ] +[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See [this PR](https://github.com/continuedev/continue/pull/6455) as a good example. ] ## Tests diff --git a/.github/workflows/jetbrains-release.yaml b/.github/workflows/jetbrains-release.yaml index 956d249c4c0..531129c790b 100644 --- a/.github/workflows/jetbrains-release.yaml +++ b/.github/workflows/jetbrains-release.yaml @@ -63,7 +63,6 @@ jobs: - name: Bump version in gradle.properties run: | - cd extensions/intellij awk '/pluginVersion=/{split($0,a,"="); split(a[2],b,"."); b[3]+=1; printf "%s=%s.%s.%s\n",a[1],b[1],b[2],b[3];next}1' gradle.properties > tmp && mv tmp gradle.properties rm -rf tmp NEW_VERSION=$(grep 'pluginVersion=' gradle.properties | cut -d'=' -f2) @@ -224,10 +223,6 @@ jobs: # apple-product-id: dev.continue.continue-binary # options: --options runtime --entitlements entitlements.xml - # Build plugin - - name: Build plugin - run: ./gradlew buildPlugin - # Publish the plugin to JetBrains Marketplace - name: Publish EAP Plugin if: github.event_name == 'release' || github.event.inputs.publish_build == 'true' @@ -237,7 +232,7 @@ jobs: PRIVATE_KEY: ${{ secrets.JETBRAINS_PRIVATE_KEY }} PRIVATE_KEY_PASSWORD: ${{ secrets.JETBRAINS_PRIVATE_KEY_PASSWORD }} RELEASE_CHANNEL: eap - run: ./gradlew publishPlugin + run: ./gradlew publishPlugin --info --stacktrace - name: Publish Stable Plugin if: github.event_name == 'release' || github.event.inputs.publish_build == 'true' @@ -247,7 +242,7 @@ jobs: PRIVATE_KEY: ${{ secrets.JETBRAINS_PRIVATE_KEY }} PRIVATE_KEY_PASSWORD: ${{ secrets.JETBRAINS_PRIVATE_KEY_PASSWORD }} RELEASE_CHANNEL: default - run: ./gradlew publishPlugin + run: ./gradlew publishPlugin --info --stacktrace # Prepare plugin archive content for creating artifact - name: Prepare Plugin Artifact diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 2deffe08fb9..e3d8be5e4b8 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -53,7 +53,10 @@ jobs: install-config-yaml: needs: install-root - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v4 @@ -80,7 +83,10 @@ jobs: install-openai-adapters: needs: install-root - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v4 @@ -136,7 +142,10 @@ jobs: install-core: needs: install-root - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v4 @@ -384,7 +393,10 @@ jobs: install-vscode: needs: [install-root, install-core, install-config-yaml, install-openai-adapters] - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v4 @@ -666,7 +678,10 @@ jobs: echo "Test files: ${{ steps.vscode-get-test-file-matrix.outputs.test_file_matrix }}" vscode-package-extension: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] needs: [ install-vscode, @@ -723,7 +738,7 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v4 with: - name: vscode-extension-build + name: vscode-extension-build-${{ runner.os }} path: extensions/vscode/build vscode-download-e2e-dependencies: @@ -820,7 +835,7 @@ jobs: - name: Download build artifact uses: actions/download-artifact@v4 with: - name: vscode-extension-build + name: vscode-extension-build-Linux path: extensions/vscode/build - name: Download e2e dependencies diff --git a/.idea/gradle.xml b/.idea/gradle.xml index c277e816e3b..324ac997a1b 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -5,7 +5,7 @@