This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-graalvm-distro.git
The following commit(s) were added to refs/heads/main by this push:
new db75f1f Register ZabbixConfig classes for reflection, disable E2E
fail-fast
db75f1f is described below
commit db75f1f51418d93f95a37e27f6ff631e74cb35fb
Author: Wu Sheng <[email protected]>
AuthorDate: Fri Feb 27 21:17:53 2026 +0800
Register ZabbixConfig classes for reflection, disable E2E fail-fast
ZabbixConfigs.loadConfigs() deserializes zabbix-rules/*.yaml via
SnakeYAML into ZabbixConfig POJOs. The class and its inner classes
(Entities, EntityLabel, Metric) were not registered for reflection,
causing "Class not found" at runtime in the native image.
Also set fail-fast: false on the E2E matrix so one test failure does
not cancel all other running tests.
---
.github/workflows/ci.yml | 1 +
.../skywalking/oap/server/buildtools/precompiler/Precompiler.java | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 11ddbb8..a85af01 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -212,6 +212,7 @@ jobs:
SW_AGENT_JDK_VERSION: 17
ISTIO_VERSION: 1.24.0
strategy:
+ fail-fast: false
matrix:
test:
- name: Simple Java Agent
diff --git
a/build-tools/precompiler/src/main/java/org/apache/skywalking/oap/server/buildtools/precompiler/Precompiler.java
b/build-tools/precompiler/src/main/java/org/apache/skywalking/oap/server/buildtools/precompiler/Precompiler.java
index 2741038..d152493 100644
---
a/build-tools/precompiler/src/main/java/org/apache/skywalking/oap/server/buildtools/precompiler/Precompiler.java
+++
b/build-tools/precompiler/src/main/java/org/apache/skywalking/oap/server/buildtools/precompiler/Precompiler.java
@@ -1229,7 +1229,11 @@ public class Precompiler {
"org.apache.skywalking.oap.meter.analyzer.prometheus.rule.MetricsRule",
"org.apache.skywalking.oap.server.core.management.ui.menu.UIMenuInitializer$MenuData",
"org.apache.skywalking.oap.server.core.management.ui.menu.UIMenuItemSetting",
-
"org.apache.skywalking.oap.server.receiver.telegraf.provider.handler.pojo.TelegrafData"
+
"org.apache.skywalking.oap.server.receiver.telegraf.provider.handler.pojo.TelegrafData",
+
"org.apache.skywalking.oap.server.receiver.zabbix.provider.config.ZabbixConfig",
+
"org.apache.skywalking.oap.server.receiver.zabbix.provider.config.ZabbixConfig$Entities",
+
"org.apache.skywalking.oap.server.receiver.zabbix.provider.config.ZabbixConfig$EntityLabel",
+
"org.apache.skywalking.oap.server.receiver.zabbix.provider.config.ZabbixConfig$Metric"
};
for (String className : configPojos) {
entries.add(fullAccessEntry(className));