Skip to content

Conversation

exigow
Copy link
Collaborator

@exigow exigow commented Sep 5, 2025

Solves:

com.intellij.diagnostic.PluginException: Migrate com.github.continuedev.continueintellijextension.proxy.ProxyPoolingActivity to ProjectActivity [Plugin: com.github.continuedev.continueintellijextension]
	at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.kt:275)
	at com.intellij.ide.startup.impl.StartupManagerImpl.access$runPostStartupActivities(StartupManagerImpl.kt:68)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invokeSuspend(StartupManagerImpl.kt:191)

I fixed this because since bumping the platform version we were getting an exception on startup about a required migration.

Note: the new activity is asynchronous, so we don't need to create our own coroutine scope for polling the settings.

I tested this feature manually (change in settings is properly recognized & binary restarts on apply).


Summary by cubic

Migrated proxy polling from StartupActivity to ProjectActivity to fix the startup exception after the platform bump. Behavior is unchanged: settings changes are detected and the core restarts.

  • Bug Fixes
    • Switched to ProjectActivity and moved polling into suspend execute; removed custom CoroutineScope.
    • Resolved the PluginException requiring migration on startup.
    • Polls every 2s; settings changes trigger a restart as before.

@exigow exigow requested a review from a team as a code owner September 5, 2025 15:58
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 5, 2025
Copy link

github-actions bot commented Sep 5, 2025

⚠️ AI review completed but no review output was generated. Check the action logs for details.


💡 To request a new review, comment @continue-general-review

I fixed this because since bumping the platform version we were getting an exception on startup about a required migration.

Solves:
com.intellij.diagnostic.PluginException: Migrate com.github.continuedev.continueintellijextension.proxy.ProxyPoolingActivity to ProjectActivity [Plugin: com.github.continuedev.continueintellijextension]
	at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.kt:275)
	at com.intellij.ide.startup.impl.StartupManagerImpl.access$runPostStartupActivities(StartupManagerImpl.kt:68)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invokeSuspend(StartupManagerImpl.kt:191)

Note: the new activity is asynchronous, so we don't need to create our own coroutine scope for polling the settings.

I tested this feature manually (change in settings is properly recognized & binary restarts on apply).
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Sep 5, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 5, 2025
@RomneyDa
Copy link
Collaborator

RomneyDa commented Sep 9, 2025

@exigow looks like some failure is causing the jetbrains tests to be skipped

@exigow exigow marked this pull request as draft September 10, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants