From c68b8a2a5b663f4d50f99288a23f9e36230a90a4 Mon Sep 17 00:00:00 2001 From: Marc Lehner Date: Thu, 30 Oct 2025 16:47:24 +0100 Subject: [PATCH] AP-25496: AP-25264: add KNIME_WARSTART_APPLICATION AP-25264 (Create dedicated WARMSTART application that creates python envs during docker image build) AP-25496 (Python Extension updates from 5.8 LTS to next LTS show errors) --- org.knime.core/.settings/.api_filters | 8 ++++++++ .../src/eclipse/org/knime/core/util/EclipseUtil.java | 6 ++++++ .../src/eclipse/org/knime/core/util/IEarlyStartup.java | 3 ++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/org.knime.core/.settings/.api_filters b/org.knime.core/.settings/.api_filters index 6ab5e405a1..a09629c3f6 100644 --- a/org.knime.core/.settings/.api_filters +++ b/org.knime.core/.settings/.api_filters @@ -24,6 +24,14 @@ + + + + + + + + diff --git a/org.knime.core/src/eclipse/org/knime/core/util/EclipseUtil.java b/org.knime.core/src/eclipse/org/knime/core/util/EclipseUtil.java index 157430919b..74058a6a1d 100644 --- a/org.knime.core/src/eclipse/org/knime/core/util/EclipseUtil.java +++ b/org.knime.core/src/eclipse/org/knime/core/util/EclipseUtil.java @@ -167,6 +167,12 @@ public enum Application { */ TESTFLOW_RUNNER("org.knime.testing.NGTestflowRunner", false), + /** + * The warmstart application for pre-warming containers. + * @since 5.8.2 + */ + WARMSTART("org.knime.product.KNIME_WARMSTART_APPLICATION", true), + /** * If the application is not among the knowns ones above. */ diff --git a/org.knime.core/src/eclipse/org/knime/core/util/IEarlyStartup.java b/org.knime.core/src/eclipse/org/knime/core/util/IEarlyStartup.java index 82cf7501fd..40fa9773aa 100644 --- a/org.knime.core/src/eclipse/org/knime/core/util/IEarlyStartup.java +++ b/org.knime.core/src/eclipse/org/knime/core/util/IEarlyStartup.java @@ -187,7 +187,8 @@ final class EarlyStartupState { static final EnumSet PROFILE_AWARE_APPLICATIONS = EnumSet.of( // Application.AP, // Application.EXECUTOR, // - Application.TESTFLOW_RUNNER); + Application.TESTFLOW_RUNNER, // + Application.WARMSTART); private static final IExtensionPoint EXTENSION_POINT; static {