chore(jetbrains): disable feedback surveys and enable internal mode in dev runs - #13755
Merged
Conversation
…n dev runs IntelliJ feedback surveys (e.g. the remote-dev "Share Your Experience" popup) were interrupting local plugin dev sessions. Disable the platform.feedback framework and its per-survey keys unconditionally for every runIde* Gradle task. Also set idea.is.internal=true unconditionally so the Split Mode latency widget and Internal Actions menu are always available in dev runs, instead of requiring a manual -D flag. Property names verified against the local intellij-community checkout (ApplicationManagerEx.IS_INTERNAL_PROPERTY, platform/feedback/resources/intellij.platform.feedback.xml).
pandemicsyn
approved these changes
Sep 3, 2026
This was referenced Sep 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Fixes #
No tracked issue. This was raised ad hoc: IntelliJ's built-in remote-dev "Share Your Experience" / "Take Survey" feedback popup was interrupting local plugin dev sessions (
runIdeSplitMode/runIdeBackend/runIdeFrontend).Context
IntelliJ Platform's
platform/feedbackframework periodically shows feedback surveys (CSAT, Editor UX, remote-dev satisfaction, etc.) inside the sandbox IDE. These are gated by registry keys that default to enabled and persist "Don't Suggest Again" state in the sandbox config, so they resurface whenever the sandbox is reset. This PR disables the whole survey framework unconditionally for local dev runs so it never interrupts plugin development.While in there, also turned on IntelliJ Internal Mode (
idea.is.internal=true) unconditionally for the same dev-run tasks, since the docs previously told developers to pass-Didea.is.internal=truemanually to use the Split Mode latency-emulation widget.Implementation
Both changes live in the existing
tasks.withType<RunIdeTask>block inpackages/kilo-jetbrains/build.gradle.kts, which already applies torunIde,runIdeBackend,runIdeFrontend, andrunIdeSplitMode— no new task wiring needed.platform.feedback=false— master switch for theplatform/feedbackextension point framework (disables every registeredfeedback.idleFeedbackSurvey, including the remote-dev one).csat.survey.enabled=falseandeditor.ux.survey.enabled=false— per-survey keys that exist independently of the master switch.idea.is.internal=true— maps toApplicationManagerEx.IS_INTERNAL_PROPERTY.All four are IntelliJ Platform Registry keys.
RegistryValue.resolveRequiredValuefalls back toSystem.getProperty(key)when no stored value exists, so Gradle'ssystemProperty(...)on the forked JVM is sufficient — no plugin-side code changes.Property names were verified against a local
intellij-communitycheckout rather than guessed:platform.feedback,csat.survey.enabled,editor.ux.survey.enabled— declared inplatform/feedback/resources/intellij.platform.feedback.xml.idea.is.internal—ApplicationManagerEx.IS_INTERNAL_PROPERTYinplatform/core-impl/.../ApplicationManagerEx.java; also how JetBrains' own IDEA run configs and the DevKit plugin set it.Caveat documented in
AGENTS.md: in split mode, the JetBrains Client frontend process is spawned by the backend, andEmbeddedClientLauncher.passPropertiesonly forwards a fixed allowlist of properties to it.idea.is.internalis on that allowlist, but the feedback/survey keys are not — so a survey could in theory still surface in the split-mode client window specifically, requiring a Registry override inside that client.Screenshots / Video
N/A — no UI change; this only affects local Gradle dev-run JVM args.
How to Test
Manual/local verification
./gradlew --no-configuration-cache runIdeSplitMode --dry-runandrunIdeBackend --dry-run— task graph realizes successfully with the newsystemPropertycalls in theRunIdeTaskconfiguration block (agent-executed).bun turbo typecheck --filter=@kilocode/kilo-jetbrains(via the repo's pre-push hook) —./gradlew typecheckpasses, confirming the Gradle script change doesn't break configuration or compilation (agent-executed).bun run script/check-md-table-padding.ts— passes on theAGENTS.mdedit (agent-executed).Reviewer test steps
packages/kilo-jetbrains/, run./gradlew --no-configuration-cache runIdeSplitMode(orrunIdeBackend).idea.is.internalreadstrue, or trigger the Split Mode latency widget (only available in internal mode) and confirm it's present.Blocked checks and substitute verification
runIdeSplitModesession end-to-end (requires downloading/booting a full sandboxed IDE and manually watching for the popup over time); substituted with the--dry-runtask-graph check plus source-level confirmation thatsystemPropertyonRunIdeTaskreaches the forked JVM and that the Registry API readsSystem.getPropertyas a fallback.Checklist
Get in Touch