Skip to content

Commit 8ad4b82

Browse files
committed
fix(fault-lib): correct MAX_PATH_LENGTH, macro, and dependency issues
- Fix MAX_PATH_LENGTH constant (256 → 128) to match LongString capacity - Fix fault_descriptor! macro: optional fields now produce None when omitted, name/summary properly convert to ShortString/LongString - Replace thread::park() with park_timeout(5s) to prevent infinite hang if IPC worker panics before unpark - Remove unused async-trait dependency - Move clap and env_logger to dev-dependencies (only used in examples) - Remove env_logger and async-trait from Bazel rust_library deps - Hide test_utils from public API with #[doc(hidden)] - Fix typo: publsh_success → publish_success - Remove unnecessary #[allow(dead_code)] and commented-out code - Update copyright headers from 2025 to 2026 (all files created in 2026)
1 parent d1927a6 commit 8ad4b82

49 files changed

Lines changed: 92 additions & 97 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13+
1314
load("@score_cr_checker//:cr_checker.bzl", "copyright_checker")
1415
load("@score_dash_license_checker//:dash.bzl", "dash_license_checker")
1516
load("@score_docs_as_code//:docs.bzl", "docs")

Cargo.lock

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/examples/hvac_component_design_reference.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2025 The Contributors to Eclipse OpenSOVD (see CONTRIBUTORS)
2+
* Copyright (c) 2026 The Contributors to Eclipse OpenSOVD (see CONTRIBUTORS)
33
*
44
* See the NOTICE file(s) distributed with this work for additional
55
* information regarding copyright ownership.

src/common/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14-
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library", "rust_test")
14+
load("@rules_rust//rust:defs.bzl", "rust_library", "rust_test")
1515

1616
filegroup(
1717
name = "common_srcs",

src/common/src/catalog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2025 Contributors to the Eclipse Foundation
1+
// Copyright (c) 2026 Contributors to the Eclipse Foundation
22
//
33
// See the NOTICE file(s) distributed with this work for additional
44
// information regarding copyright ownership.

src/common/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2025 Contributors to the Eclipse Foundation
1+
// Copyright (c) 2026 Contributors to the Eclipse Foundation
22
//
33
// See the NOTICE file(s) distributed with this work for additional
44
// information regarding copyright ownership.

src/common/src/debounce.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2025 Contributors to the Eclipse Foundation
1+
// Copyright (c) 2026 Contributors to the Eclipse Foundation
22
//
33
// See the NOTICE file(s) distributed with this work for additional
44
// information regarding copyright ownership.

src/common/src/enabling_condition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2025 Contributors to the Eclipse Foundation
1+
// Copyright (c) 2026 Contributors to the Eclipse Foundation
22
//
33
// See the NOTICE file(s) distributed with this work for additional
44
// information regarding copyright ownership.

src/common/src/fault.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2025 Contributors to the Eclipse Foundation
1+
// Copyright (c) 2026 Contributors to the Eclipse Foundation
22
//
33
// See the NOTICE file(s) distributed with this work for additional
44
// information regarding copyright ownership.

src/common/src/ids.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2025 Contributors to the Eclipse Foundation
1+
// Copyright (c) 2026 Contributors to the Eclipse Foundation
22
//
33
// See the NOTICE file(s) distributed with this work for additional
44
// information regarding copyright ownership.

0 commit comments

Comments
 (0)