Commit graph

59 commits

Author SHA1 Message Date
Dallin Romney
36ef3cb15c fix: update has context provider 2025-08-18 13:11:09 -07:00
Patrick Erichsen
85994118e8
feat: implement Sentry error tracking with privacy-first anonymization (#6881)
* feat: add sentry to core

* feat: implement comprehensive Sentry error tracking with privacy-first anonymization

- Add Sentry ErrorBoundary components following React best practices
- Implement shared anonymization logic between core and GUI environments
- Create organized sentry directory structure with clean exports
- Add Continue team member access control (@continue.dev email check)
- Preserve node_modules package names for debugging while anonymizing user paths
- Include comprehensive test coverage for all anonymization scenarios
- Set up source maps for readable production error stack traces
- Add browser-compatible hashing without crypto module dependency

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

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

* feat: complete Sentry integration with GUI components and tests

- Add GUI TelemetryProviders with Sentry ErrorBoundary
- Create shared isContinueTeamMember utilities for both core and GUI
- Update all imports and dependencies for new sentry structure
- Add comprehensive test coverage and fix all TypeScript issues

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

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

* prettier

* fix: resolve GUI build errors by removing sentry index.ts and using specific imports

- Remove problematic index.ts that was pulling Node.js-specific Sentry code into browser bundle
- Update GUI to import specifically from anonymization.ts and constants.ts files
- Update core imports to use specific SentryLogger.ts import path
- GUI build now succeeds with proper source map upload to Sentry

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

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

* fix: move TelemetryProviders inside AuthProvider to fix test failures

- Move TelemetryProviders from main.tsx to Layout.tsx inside AuthProvider
- Fixes "useAuth must be used within an AuthProvider" error in tests
- TelemetryProviders now has access to auth context for Continue team member check
- GUI build and functionality remain working correctly

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

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

* prettier

* merge main

* Update package.json

* fix tests

* fix errors

* Update extension.ts

* disable sentry in tests/local dev

* add additional error handling

* Update SentryLogger.ts

* remove global try/catch

* remove test code

* linting

* Update SentryLogger.ts

* more logs

* Update core.ts

* lower sampling rate

* fix tests

* feat: use `Logger`

* Update logger.ts

* Update logger.ts

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

* lint fixes

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

* fix: rename logger.ts to Logger.ts for case sensitivity

This fixes TypeScript compilation errors in CI where the file
was tracked as lowercase logger.ts but referenced as Logger.ts
in imports.

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

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

* address ting-wai's feedback

* Update core.ts

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-14 16:54:21 -07:00
uinstinct
cec4f0f4a3 abort controller should not be undefined 2025-08-12 13:05:42 +05:30
uinstinct
5b9feccc69 fix: abort controller before clearing 2025-08-08 12:42:08 +05:30
Shawn Smith
7d9786606f
fix: 🐛 Fix CodebaseIndexer Bugs (#6890)
* fix: 🐛 Fix CodebaseIndexer Bugs

* fix: 🎨 Prettier

* fix: ✅ Fixed by reoganizing dependent tests

* build: 💚 New CI Build
2025-07-30 21:51:17 -07:00
Josh Holmer
deb9faacee
fix: refresh codebase index on config change 2025-07-14 10:17:56 -04:00
uinstinct
a020a49f4b add timestamp calculation 2025-07-10 20:47:44 +05:30
uinstinct
69f035d263 fix eslint 2025-07-10 19:28:18 +05:30
uinstinct
a472461478 introduce indexing lock 2025-07-10 19:27:00 +05:30
Ting-Wai To
057809b242 Prevent entire indexing process from stopping on error and surface messages to Indexing menu 2025-07-02 10:13:00 -07:00
Dallin Romney
69ea88ccc5 reduce codebase indexer file batch size 2025-06-17 15:52:17 -07:00
Patrick Erichsen
7140451aa3
Merge pull request #6032 from owl-app/fix-codebase-indexing
fix: 🐛 Codebase Indexing still not work
2025-06-09 14:48:43 -07:00
Paweł Kęska
955ab93efc fix: 🐛 Codebase Indexing still not work 2025-06-08 15:16:35 +02:00
chezsmithy
0c7cecd53d Updates to use codebase indexer 2025-06-04 22:02:59 -07:00
chezsmithy
f1a44194fb more cleanup 2025-06-04 20:54:28 -07:00
chezsmithy
2a719dea88 mak'in it prettier 2025-06-03 12:56:54 -07:00
chezsmithy
a5db30dab3 refactor: ♻️ Refactor CodeBaseIndexer out of core 2025-06-03 12:52:48 -07:00
Dallin Romney
98d065ac30 fix codebase indexer config logic 2025-05-26 11:55:16 -07:00
Fred Bricon
1dc58c63ab fix: allow downloading missing embedder on Ollama, in VS Code
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-04-17 18:17:37 +02:00
Dallin Romney
9e0c5f64bb fix merge conflicts 2025-03-13 17:08:37 -07:00
Dallin Romney
bf9cc74ace walk dir logging 2025-03-10 21:21:50 -07:00
Nate
cfc99b7e57 remove legacy server cache logic 2025-03-10 20:41:40 -07:00
Patrick Erichsen
963713d356 Merge branch 'main' into index-fixes 2025-03-03 18:44:56 -08:00
Patrick Erichsen
82a328ca15 feat: merge conflicts 2025-03-03 16:18:51 -08:00
Patrick Erichsen
9a318737df Merge branch 'main' into pe/unsupported-cpu-check-pt-2 2025-03-03 16:18:30 -08:00
jubilantjerry
7264c9d12b Fix tag catalog inconsistency bugs 2025-02-25 15:15:42 +08:00
Dallin Romney
a0a152e603 fix embed and reranking logic 2025-02-19 12:24:17 -08:00
Patrick Erichsen
90c663146e feat: more dynamic imports for LanceDB 2025-02-06 12:44:48 -08:00
Nate
9edd5e3e24 Use ConfigResult everywhere 2024-12-24 14:03:23 -05:00
Nate
26a847cd12 file stats method 2024-12-24 10:54:40 -05:00
Dallin Romney
a3b5dd9e0c fix config yaml conflicts 2024-12-13 15:41:12 -08:00
Dallin Romney
b6b3cceb78 (BROKEN COMMI) path -> uri vscode utils and prompt files cont 2024-12-10 17:28:56 -08:00
Nate
9658449c03 remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Dallin Romney
f7f64ff341 pause fix, cancelled status 2024-11-27 23:42:15 -07:00
Dallin Romney
77aa657d8b index files - cleanup 2024-11-14 17:14:07 -08:00
Dallin Romney
2bb2e65575 refresh index for files 2024-11-14 16:33:05 -08:00
Test
b5cab4609b chore: apply eslint to vscode and core 2024-11-11 07:38:52 -08:00
Nate
72e5216633 extract EXTENSION_NAME 2024-09-24 14:49:49 -07:00
Shigma
7f214adcbd
fix: fix 100% indexing progress 2024-09-23 18:02:31 +08:00
Nate Sesti
1a4ffd17a8 reduce batch size for indexing to avoid API limits 2024-08-21 14:34:16 -07:00
Nate Sesti
77b4b67282 improved indexing error handling 2024-08-19 13:31:18 -07:00
Patrick Erichsen
5406d0e1a2 test: colocate tests in core 2024-08-16 10:35:40 -07:00
Nate Sesti
3c4f4dea31 extract functions responsible for errors 2024-08-13 18:13:36 -07:00
Patrick Erichsen
b6fedb54b3 merge dev 2024-08-13 11:29:07 -07:00
Patrick Erichsen
c978d7c871 feat: create "rebuild index" dialog 2024-08-12 18:04:13 -07:00
Patrick Erichsen
994c9c4dcf remove extra arg 2024-08-12 15:47:17 -07:00
Patrick Erichsen
93b0b04baa merge dev 2024-08-12 14:40:07 -07:00
Rob Leidle
2272aa121a Change the indexing batch size to a static value of 100
This appears to have a positive impact on indexing throughput on my M1 mac
2024-08-09 16:46:52 -07:00
Rob Leidle
d9efc11193 Turn of chunking for files with more than 1m characters and files lacking extensions
This should help with some of the unnecessary work being done in indexing
2024-08-09 13:41:15 -07:00
Patrick Erichsen
9f39e12d44 break down computeRows 2024-08-09 13:32:31 -07:00