This is an automated email from the ASF dual-hosted git repository.
casionone pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/master by this push:
new dd8d34242f #AI COMMIT# Add Dependabot ignore rules for Flink shims
modules (#5441)
dd8d34242f is described below
commit dd8d34242f05d4128adcaadcacfad8d67af12da8
Author: aiceflower <[email protected]>
AuthorDate: Thu Jun 11 16:20:01 2026 +0800
#AI COMMIT# Add Dependabot ignore rules for Flink shims modules (#5441)
Dependabot has raised PRs (#5426, #5427) that upgrade Flink dependencies
from 1.16.2 to 1.20.4 inside flink-shims-1.16.2. This is incorrect
because shims modules are version-specific compatibility layers — the
module name must match the supported engine version. Upgrading the
dependency in-place would break the shims contract and likely cause
compilation or runtime failures across 4 major Flink versions.
The correct approach to support a newer Flink version is to create a
new shims module (e.g. flink-shims-1.20.4) following the existing
pattern, rather than modifying the existing flink-shims-1.16.2 module.
Co-authored-by: Claude Opus 4.7 <[email protected]>
---
.github/dependabot.yml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000..ceefd4f4af
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,28 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+version: 2
+updates:
+ - package-ecosystem: "maven"
+ directory: "/linkis-engineconn-plugins/flink/flink-shims-1.16.2"
+ ignore:
+ # Flink shims modules are version-specific compatibility layers.
+ # Upgrading the Flink dependency in-place breaks the shims contract
+ # (module name must match the supported Flink version).
+ # If a new Flink version needs to be supported, create a new shims module
+ # (e.g. flink-shims-1.20.4) instead of modifying existing ones.
+ - dependency-name: "org.apache.flink:*"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]