diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml
index a04591c89..4276bd9d8 100644
--- a/.github/workflows/preview.yaml
+++ b/.github/workflows/preview.yaml
@@ -185,6 +185,36 @@ jobs:
repository: continuedev/continue
prerelease: true
+ release-branch:
+ runs-on: ubuntu-latest
+ needs:
+ - build
+ permissions:
+ contents: write
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Create release branch
+ run: |
+ # Set up Git
+ git config --local user.email "action@github.com"
+ git config --local user.name "GitHub Action"
+
+ # Get the current version
+ current_version=$(grep -o '"version": "[^"]*' extensions/vscode/package.json | cut -d'"' -f4)
+
+ # Create a new branch name
+ new_branch="release-${current_version}"
+
+ # Create and checkout the new branch
+ git checkout -b $new_branch
+
+ # Push the new branch to the remote repository
+ git push origin $new_branch
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
publish:
runs-on: ubuntu-latest
needs:
diff --git a/core/core.ts b/core/core.ts
index d340b300f..512250cf1 100644
--- a/core/core.ts
+++ b/core/core.ts
@@ -171,6 +171,9 @@ export class Core {
this.messenger.onError((err) => {
console.error(err);
+ Telemetry.capture("core_messenger_error", {
+ message: err.message,
+ });
this.messenger.request("errorPopup", { message: err.message });
});
diff --git a/extensions/vscode/src/webviewProtocol.ts b/extensions/vscode/src/webviewProtocol.ts
index 6c20f7dcb..f515995b8 100644
--- a/extensions/vscode/src/webviewProtocol.ts
+++ b/extensions/vscode/src/webviewProtocol.ts
@@ -1,5 +1,6 @@
import { FromWebviewProtocol, ToWebviewProtocol } from "core/protocol";
import { Message } from "core/util/messenger";
+import { Telemetry } from "core/util/posthog";
import fs from "node:fs";
import path from "path";
import { v4 as uuidv4 } from "uuid";
@@ -153,6 +154,14 @@ export class VsCodeWebviewProtocol
}
});
} else {
+ Telemetry.capture(
+ "webview_protocol_error",
+ {
+ messageType: msg.messageType,
+ errorMsg: message.split("\n\n")[0],
+ },
+ false,
+ );
vscode.window
.showErrorMessage(
message.split("\n\n")[0],
diff --git a/gui/src/components/loaders/IndexingProgressBar.tsx b/gui/src/components/loaders/IndexingProgressBar.tsx
index 270b55284..6fcb38e48 100644
--- a/gui/src/components/loaders/IndexingProgressBar.tsx
+++ b/gui/src/components/loaders/IndexingProgressBar.tsx
@@ -138,7 +138,7 @@ const IndexingProgressBar = ({