* fix: 💚 Remove clean on build
* fix: 💚 The dist directory was not getting created
* fix: 💚 Install Vite
* fix: 💚 move gui build after core
* fix: ✅ Fix the PromptFile test to be more robust
* fix: 💚 Use the proper github secret
* fix: 💚 Pass github secret correctly to composite workflow
* fix: 💚 More token fixes
* fix: 💚 More secrets fixes
* fix: 💚 Add rimfrafSync cleanup to vscode dist like JetBrains
* build: ⚗️ See what happens if we remove the GUI build step from prepackage.js
* Revert prepackage changes
* Remove pre-package dependencies
* Put back the chdir and build from root gui
* build: 💚 Final cleanup from refactoring
* Remove deprecated isInGitHubActions check
* feat: 🏗️ VsCode Task Improvements
* fix: 🎨 Prettier
* fix: 🎨 Prettier
* use secrets not env for gh token
* fix: dont block debugger on packages build
* Revert "use secrets not env for gh token"
This reverts commit 4174e1e64b8f5c3376733c0ee389b8b4e0185b61.
* update jb test inputs
* Update action.yml
* ci fix
* fix: apply Sentry and PostHog telemetry settings correctly
Now we are very strict about telemetry config. If anything fails (plugin service is null, no/invalid config response, etc.), the flag falls back to false.
More details:
* Because we need to poll settings ourselves (via getSerializedProfileInfo), I created a new service that holds that setting.
* This service implements an interface to allow separation that enables us to write unit tests. Unit tests only cover PostHog telemetry behavior. I tried to write tests for Sentry, but it’s problematic because the initialization is static and I couldn’t mock it (mockkStatic doesn’t work). I decided not to spend more time on it, especially since the telemetry checks are identical to PostHog (it's just `if`). I think that should be enough.
* Status polling is lazy, so as long as no one asks for allowAnonymousTelemetry (so if no error occurs), polling is inactive. This is a side effect of having it as a service, but I think it’s a nice feature in this context.
* If telemetry is disabled but the user submits an error via the Report to Continue dialog, will be sent anyway (because this is an explicit decision). This action is one-time and does not change the global telemetry settings.
To summarize, we now have three services:
* ContinueTelemetryStatusService - holds state in a non-blocking way and handles polling itself
* ContinuePostHogService - previously TelemetryService
* ContinueSentryService - previously ContinueErrorService
* fix: retrieve telemetry status service from the first project