| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: avoid java sdk native grpc preload crash Use the stripped Java JNI library as the SDK native jar input so the SDK and service packaging paths share the same upstream artifact. When loading native libraries from the SDK jar fallback path, extract the dependency set and create compatibility symlinks first, then load only libruntime_lib_jni.so. This lets the dynamic linker resolve gRPC and absl dependencies from the SDK native directory instead of preloading them through System.load, which can abort in grpc_core::GetContext during Java runtime init. Validation: - Reproduced the original master SDK self-extract path crash with TaskTest#test_java_task_invoke_successfully: Surefire fork exit 134, context.h:118 grpc_core::GetContext. - Rebuilt a validation SDK jar with the patched LoadUtil class and reran the same test with -DjniPath=: get val: 1, tests=1 errors=0 failures=0. Signed-off-by: mhsong2 <songminhui2@huawei.com> | 14 天前 | |
fix: support custom runtime metrics Add custom metric APIs across Go, Java, Python, and C++ runtime layers, including counter and gauge registration paths and platform label propagation. Wire runtime metrics metadata through FaaS invocation paths, add secure exporter configuration handling, and cover the behavior with runtime and SDK tests. Signed-off-by: neatline <fuyipeng3@huawei.com> | 2 个月前 |