Migrate AutomaticUpdateScheduler from IStartup to OSGi EventHandler#400
Migrate AutomaticUpdateScheduler from IStartup to OSGi EventHandler#400HannesWell wants to merge 1 commit into
Conversation
|
|
||
| @Override | ||
| public void earlyStartup() { | ||
| public void handleEvent(Event event) { |
There was a problem hiding this comment.
Shouldn't we check if automated updates are disabled before starting the job?
|
With "Early startup" one could disable updates job. Now it is always started even if updates are not enabled. I think this is a regression. |
52b2783 to
613cd77
Compare
613cd77 to
b3215ef
Compare
|
@HannesWell @iloveeclipse should we further work on this or should we close this? |
bfe3d8e to
f5213b9
Compare
I would still be in favor of having this and was waiting for the response of @iloveeclipse on my previous response:
|
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
b426237 to
4a67dd8
Compare
I would avoid starting job if possible, because compared with a single preference check extra job adds extra complexity for the overall IDE startup, uses shared resources (worker pool), adds async execution effects. |
|
@HannesWell could you move the preference check before starting the job? Would be nice to have this finished. |
|
@HannesWell my suggestion would be to either finish this for 2026-03 M1 or we close the PR as it is celebrating its second anniversary soon. |
Lets try 2026-09 M1 |
8e319bf to
cca7da1
Compare
|
API errors showing up in the full CI build are unrelated to this change, ,they come from other bundles. |
... for the UIEvents.UILifeCycle.APP_STARTUP_COMPLETE event. This is a less Eclipse specific approach and also prevents the user from disabling the start-up task. The automatic search for updates can still be disabled.
cca7da1 to
39aee07
Compare

... for the
UIEvents.UILifeCycle.APP_STARTUP_COMPLETEevent.This is a less Eclipse specific approach and also prevents the user from disabling the start-up task.
The automatic search for updates can still be disabled.
Based on the work in eclipse-platform/eclipse.platform.ui#1362.