From 6ee37034b0be57fa0a5f1a76b0768e430c30557b Mon Sep 17 00:00:00 2001 From: Xavier Bonaventura Date: Wed, 23 Sep 2026 13:23:01 +0200 Subject: [PATCH] Bump communication module --- MODULE.bazel.lock | 2 ++ .../score_modules_target_sw.MODULE.bazel | 7 ++++++- known_good.json | 21 ++++++++++++------- ...rules-build-error-not-dev-dependency.patch | 2 +- ...ore-rules-imagefs-not-dev-dependency.patch | 13 ++++++++++++ .../006-rules-pkg-not-dev-dependency.patch | 13 ++++++++++++ .../007-rules-oci-not-dev-dependency.patch | 13 ++++++++++++ .../008-score-itf-not-dev-dependency.patch | 13 ++++++++++++ ...core-cpp-policies-not-dev-dependency.patch | 13 ++++++++++++ rust_coverage/BUILD | 2 +- 10 files changed, 88 insertions(+), 11 deletions(-) create mode 100644 patches/communication/005-score-rules-imagefs-not-dev-dependency.patch create mode 100644 patches/communication/006-rules-pkg-not-dev-dependency.patch create mode 100644 patches/communication/007-rules-oci-not-dev-dependency.patch create mode 100644 patches/communication/008-score-itf-not-dev-dependency.patch create mode 100644 patches/communication/009-score-cpp-policies-not-dev-dependency.patch diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index e6ef672d947..6b92821ebfd 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1011,6 +1011,8 @@ "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/rules_swift/1.16.0/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/rules_swift/1.18.0/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/rules_swift/2.1.1/MODULE.bazel": "not found", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_cpp_policies/0.1.1/MODULE.bazel": "62968745a2fe77c449d4e11447b50918c58f870eeac72f0f3198c63617a2f8a2", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_cpp_policies/0.1.1/source.json": "29d45fbd6f3fae0a21487f5d652dfa0796bd2095d2a19732a5456e5b232754a9", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.11.1/MODULE.bazel": "a4d27e121bdee44906e0eac49a74427446482ce16158827802b29c7c3d378150", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.11.1/source.json": "0be271286a80b5554628884b1835d6a7b95ce8b9586b572600da95b6c57be428", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_format_checker/0.1.1/MODULE.bazel": "1acc254faa90e9f97b79ac69af25b6c21c561f8d6079914f6352b9b20d26bd37", diff --git a/bazel_common/score_modules_target_sw.MODULE.bazel b/bazel_common/score_modules_target_sw.MODULE.bazel index 96c595bd41f..cf24b209b0c 100644 --- a/bazel_common/score_modules_target_sw.MODULE.bazel +++ b/bazel_common/score_modules_target_sw.MODULE.bazel @@ -31,12 +31,17 @@ git_override( bazel_dep(name = "score_communication") git_override( module_name = "score_communication", - commit = "313f1178628189d267c8cd0d75971bdac04c20ee", + commit = "5023ef743abaac98c23f3c378f36f45b5f04da6f", patch_strip = 1, patches = [ "//patches/communication:001-expose-comm-examples.patch", "//patches/communication:003-module-deps-visibility.patch", "//patches/communication:004-rules-build-error-not-dev-dependency.patch", + "//patches/communication:005-score-rules-imagefs-not-dev-dependency.patch", + "//patches/communication:006-rules-pkg-not-dev-dependency.patch", + "//patches/communication:007-rules-oci-not-dev-dependency.patch", + "//patches/communication:008-score-itf-not-dev-dependency.patch", + "//patches/communication:009-score-cpp-policies-not-dev-dependency.patch", ], remote = "https://github.com/eclipse-score/communication.git", ) diff --git a/known_good.json b/known_good.json index d10ac415a09..77a01e3b5af 100644 --- a/known_good.json +++ b/known_good.json @@ -31,11 +31,16 @@ "score_communication": { "repo": "https://github.com/eclipse-score/communication.git", "docs": false, - "hash": "313f1178628189d267c8cd0d75971bdac04c20ee", + "hash": "5023ef743abaac98c23f3c378f36f45b5f04da6f", "bazel_patches": [ "//patches/communication:001-expose-comm-examples.patch", "//patches/communication:003-module-deps-visibility.patch", - "//patches/communication:004-rules-build-error-not-dev-dependency.patch" + "//patches/communication:004-rules-build-error-not-dev-dependency.patch", + "//patches/communication:005-score-rules-imagefs-not-dev-dependency.patch", + "//patches/communication:006-rules-pkg-not-dev-dependency.patch", + "//patches/communication:007-rules-oci-not-dev-dependency.patch", + "//patches/communication:008-score-itf-not-dev-dependency.patch", + "//patches/communication:009-score-cpp-policies-not-dev-dependency.patch" ], "metadata": { "code_root_path": "//score/mw/com/impl/...", @@ -48,6 +53,11 @@ "//score/mw/com/impl/configuration:config_parser_test", "//score/mw/com/impl/configuration:configuration_test", "//score/mw/com/impl/configuration:configuration_json_parsing_strategy_test", + "//score/mw/com/impl/test/check_values_created_from_config/integration_test:test_check_values_created_from_config", + "//score/mw/com/impl/test/methods/semi_dynamic_methods/integration_test:semi_dynamic_methods_different_processes_test", + "//score/mw/com/impl/test/methods/semi_dynamic_methods/integration_test:semi_dynamic_methods_same_process_test", + "//score/mw/com/impl/test/reserving_skeleton_slots/integration_test:reserving_skeleton_slots", + "//score/mw/com/impl/test/shared_memory_storage/integration_test:shared_memory_storage", "//score/mw/com/impl/tracing/configuration:tracing_filter_config_parser_test", "//score/mw/com/impl/tracing:tracing_runtime_test", "//score/mw/com/impl/bindings/lola/tracing:tracing_runtime_test" @@ -57,12 +67,7 @@ "rust" ], "rust_coverage_config": "ferrocene-coverage" - }, - "bazel_patches": [ - "//patches/communication:001-expose-comm-examples.patch", - "//patches/communication:003-module-deps-visibility.patch", - "//patches/communication:004-rules-build-error-not-dev-dependency.patch" - ] + } }, "score_persistency": { "repo": "https://github.com/eclipse-score/persistency.git", diff --git a/patches/communication/004-rules-build-error-not-dev-dependency.patch b/patches/communication/004-rules-build-error-not-dev-dependency.patch index 9ebb3c26d6b..dabd4dfe498 100644 --- a/patches/communication/004-rules-build-error-not-dev-dependency.patch +++ b/patches/communication/004-rules-build-error-not-dev-dependency.patch @@ -2,7 +2,7 @@ diff --git a/MODULE.bazel b/MODULE.bazel index ee9ccaf..f899b36 100644 --- a/MODULE.bazel +++ b/MODULE.bazel -@@ -370,7 +370,7 @@ use_repo(lint_toolchains, "sarif_parser_toolchains") +@@ -365,7 +365,7 @@ use_repo(lint_toolchains, "sarif_parser_toolchains") bazel_dep(name = "score_rust_policies", version = "0.0.5", dev_dependency = True) bazel_dep(name = "rules_shell", version = "0.6.1", dev_dependency = True) diff --git a/patches/communication/005-score-rules-imagefs-not-dev-dependency.patch b/patches/communication/005-score-rules-imagefs-not-dev-dependency.patch new file mode 100644 index 00000000000..92a93db7dc6 --- /dev/null +++ b/patches/communication/005-score-rules-imagefs-not-dev-dependency.patch @@ -0,0 +1,13 @@ +diff --git a/MODULE.bazel b/MODULE.bazel +index ee9ccaf..f899b36 100644 +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -365,7 +365,7 @@ commit = "1ce9b563e4a6f6b648ca313967fb2beb10f00317", + remote = "https://github.com/eclipse-score/itf.git", + ) + +-bazel_dep(name = "score_rules_imagefs", version = "0.1.0", dev_dependency = True) ++bazel_dep(name = "score_rules_imagefs", version = "0.1.0") + + imagefs = use_extension("@score_rules_imagefs//extensions:imagefs.bzl", "imagefs", dev_dependency = True) + imagefs.toolchain( diff --git a/patches/communication/006-rules-pkg-not-dev-dependency.patch b/patches/communication/006-rules-pkg-not-dev-dependency.patch new file mode 100644 index 00000000000..69b5bacdfcd --- /dev/null +++ b/patches/communication/006-rules-pkg-not-dev-dependency.patch @@ -0,0 +1,13 @@ +diff --git a/MODULE.bazel b/MODULE.bazel +index ee9ccaf..f899b36 100644 +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -430,7 +430,7 @@ + # TRLC dependency for requirements traceability + bazel_dep(name = "trlc", version = "3.0.1", dev_dependency = True) + bazel_dep(name = "rules_oci", version = "2.2.7", dev_dependency = True) +-bazel_dep(name = "rules_pkg", version = "1.2.0", dev_dependency = True) ++bazel_dep(name = "rules_pkg", version = "1.2.0") + + http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + \ No newline at end of file diff --git a/patches/communication/007-rules-oci-not-dev-dependency.patch b/patches/communication/007-rules-oci-not-dev-dependency.patch new file mode 100644 index 00000000000..4f4f7654da2 --- /dev/null +++ b/patches/communication/007-rules-oci-not-dev-dependency.patch @@ -0,0 +1,13 @@ +diff --git a/MODULE.bazel b/MODULE.bazel +index ee9ccaf..f899b36 100644 +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -430,7 +430,7 @@ + # TRLC dependency for requirements traceability + bazel_dep(name = "trlc", version = "3.0.1", dev_dependency = True) +-bazel_dep(name = "rules_oci", version = "2.2.7", dev_dependency = True) ++bazel_dep(name = "rules_oci", version = "2.2.7") + bazel_dep(name = "rules_pkg", version = "1.2.0") + + http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + \ No newline at end of file diff --git a/patches/communication/008-score-itf-not-dev-dependency.patch b/patches/communication/008-score-itf-not-dev-dependency.patch new file mode 100644 index 00000000000..31d0cebd87a --- /dev/null +++ b/patches/communication/008-score-itf-not-dev-dependency.patch @@ -0,0 +1,13 @@ +diff --git a/MODULE.bazel b/MODULE.bazel +index ee9ccaf..f899b36 100644 +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -186,7 +186,7 @@ "score_qcc_x86_64_toolchain", + "score_qcc_x86_64_toolchain_pkg", + ) + +-bazel_dep(name = "score_itf", version = "0.5.0", dev_dependency = True) ++bazel_dep(name = "score_itf", version = "0.5.0") + + # Use pinned score_itf fork commit for integration testing changes. + # Fork adds core dump extraction from Docker container (commits 749e01e, fc6416b). \ No newline at end of file diff --git a/patches/communication/009-score-cpp-policies-not-dev-dependency.patch b/patches/communication/009-score-cpp-policies-not-dev-dependency.patch new file mode 100644 index 00000000000..63db8084c9f --- /dev/null +++ b/patches/communication/009-score-cpp-policies-not-dev-dependency.patch @@ -0,0 +1,13 @@ +diff --git a/MODULE.bazel b/MODULE.bazel +index ee9ccaf..f899b36 100644 +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -186,7 +186,7 @@ dev_dependency = True, + lock = "@ubuntu24_04_sysroot_resolve//:lock.json", + ) + +-bazel_dep(name = "score_cpp_policies", version = "0.1.1", dev_dependency = True) ++bazel_dep(name = "score_cpp_policies", version = "0.1.1") + bazel_dep(name = "toolchains_llvm", version = "1.8.0", dev_dependency = True) + + llvm = use_extension( \ No newline at end of file diff --git a/rust_coverage/BUILD b/rust_coverage/BUILD index d307aea482b..9edf01447ef 100644 --- a/rust_coverage/BUILD +++ b/rust_coverage/BUILD @@ -22,7 +22,7 @@ rust_coverage_report( "linux-x86_64", "ferrocene-coverage", ], - query = 'kind("rust_test", @score_communication//score/mw/com/impl/...) -@score_communication//score/mw/com/impl:unit_test_runtime_single_exec -@score_communication//score/mw/com/impl:runtime_test -@score_communication//score/mw/com/impl/configuration:config_parser_test -@score_communication//score/mw/com/impl/configuration:configuration_test -@score_communication//score/mw/com/impl/configuration:configuration_json_parsing_strategy_test -@score_communication//score/mw/com/impl/tracing/configuration:tracing_filter_config_parser_test -@score_communication//score/mw/com/impl/tracing:tracing_runtime_test -@score_communication//score/mw/com/impl/bindings/lola/tracing:tracing_runtime_test', + query = 'kind("rust_test", @score_communication//score/mw/com/impl/...) -@score_communication//score/mw/com/impl:unit_test_runtime_single_exec -@score_communication//score/mw/com/impl:runtime_test -@score_communication//score/mw/com/impl/configuration:config_parser_test -@score_communication//score/mw/com/impl/configuration:configuration_test -@score_communication//score/mw/com/impl/configuration:configuration_json_parsing_strategy_test -@score_communication//score/mw/com/impl/test/check_values_created_from_config/integration_test:test_check_values_created_from_config -@score_communication//score/mw/com/impl/test/methods/semi_dynamic_methods/integration_test:semi_dynamic_methods_different_processes_test -@score_communication//score/mw/com/impl/test/methods/semi_dynamic_methods/integration_test:semi_dynamic_methods_same_process_test -@score_communication//score/mw/com/impl/test/reserving_skeleton_slots/integration_test:reserving_skeleton_slots -@score_communication//score/mw/com/impl/test/shared_memory_storage/integration_test:shared_memory_storage -@score_communication//score/mw/com/impl/tracing/configuration:tracing_filter_config_parser_test -@score_communication//score/mw/com/impl/tracing:tracing_runtime_test -@score_communication//score/mw/com/impl/bindings/lola/tracing:tracing_runtime_test', visibility = ["//visibility:public"], )