Skip to content

Conversation

@rmaddikery
Copy link
Contributor

@rmaddikery rmaddikery commented Jan 22, 2026

Fixes persistency test_scenarios integration in reference_integration as a prerequisite to integrate datarouter to the reference integration platform

Refer: eclipse-score/reference_integration#79

NOTE:
mw/log frontend is part of the https://github.com/eclipse-score/baselibs repo
mw/log recorders and respective concrete backends are part of https://github.com/eclipse-score/logging repo
That said, the mw/log:log target is no longer supported in the baselibs and requires to be fixed.
See: https://github.com/eclipse-score/baselibs/blob/381dd9a9c9c516d87b0840f61618ba9e668dabd5/score/mw/log/BUILD#L25

In order to integrate datarouter to the reference integration platform, the deps in image need to be fixed as a prerequisite.

TRLC dep could be excluded via:
The CI build jobs will be fixed after eclipse-score/communication#143
But it might be useful to retain incase tests or implementations in persistency repo need to refer AoUs and requirements coming from baselibs and logging repo.

@rmaddikery rmaddikery changed the title Rama fix log target deps Fix log target deps Jan 22, 2026
@github-actions
Copy link

github-actions bot commented Jan 22, 2026

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.3.0) and connecting to it...
INFO: Invocation ID: 55c547f1-7432-4766-b759-1b7f43f23a49
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'rules_python', the root module requires module version rules_python@1.4.1, but got rules_python@1.8.3 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.1.2, but got rules_cc@0.2.14 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'googletest', the root module requires module version googletest@1.17.0.bcr.1, but got googletest@1.17.0.bcr.2 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'score_process', the root module requires module version score_process@1.4.0, but got score_process@1.4.3 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'aspect_rules_lint', the root module requires module version aspect_rules_lint@1.10.2, but got aspect_rules_lint@2.0.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Loading: 
Loading: 1 packages loaded
Loading: 1 packages loaded
    currently loading: 
Loading: 1 packages loaded
    currently loading: 
Analyzing: target //:license-check (2 packages loaded, 0 targets configured)
Analyzing: target //:license-check (2 packages loaded, 0 targets configured)

Analyzing: target //:license-check (71 packages loaded, 10 targets configured)

Analyzing: target //:license-check (154 packages loaded, 1356 targets configured)

Analyzing: target //:license-check (155 packages loaded, 3057 targets configured)

Analyzing: target //:license-check (166 packages loaded, 3495 targets configured)

Analyzing: target //:license-check (166 packages loaded, 3497 targets configured)

Analyzing: target //:license-check (166 packages loaded, 3497 targets configured)

Analyzing: target //:license-check (170 packages loaded, 5510 targets configured)

Analyzing: target //:license-check (195 packages loaded, 5714 targets configured)
[11 / 17] Creating runfiles tree bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/score_tooling+/dash/tool/formatters/dash_format_converter.runfiles [for tool]; 0s local
Analyzing: target //:license-check (197 packages loaded, 5722 targets configured)
[13 / 17] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s disk-cache, processwrapper-sandbox ... (2 actions running)
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 62 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
Analyzing: target //:license-check (197 packages loaded, 5722 targets configured)
[15 / 17] checking cached actions
Analyzing: target //:license-check (197 packages loaded, 5722 targets configured)
[15 / 17] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 0s disk-cache, processwrapper-sandbox
Analyzing: target //:license-check (197 packages loaded, 5722 targets configured)
[17 / 17] no actions running
Analyzing: target //:license-check (198 packages loaded, 10056 targets configured)
[17 / 17] no actions running
Analyzing: target //:license-check (198 packages loaded, 10056 targets configured)
[17 / 17] no actions running
Analyzing: target //:license-check (198 packages loaded, 10056 targets configured)
[17 / 17] no actions running
Analyzing: target //:license-check (198 packages loaded, 10056 targets configured)
[17 / 17] no actions running
Analyzing: target //:license-check (198 packages loaded, 10056 targets configured)
[17 / 17] no actions running
Analyzing: target //:license-check (198 packages loaded, 10056 targets configured)
[17 / 17] no actions running
INFO: Analyzed target //:license-check (200 packages loaded, 10170 targets configured).
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 36.556s, Critical Path: 4.07s
INFO: 17 processes: 12 internal, 4 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 17 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

@rmaddikery rmaddikery marked this pull request as draft January 29, 2026 13:20
@rmaddikery rmaddikery force-pushed the rama_fix_logging_deps branch 4 times, most recently from f3a9506 to 596a4f2 Compare February 11, 2026 12:11
@github-actions
Copy link

The created documentation from the pull request is available at: docu-html

@rmaddikery rmaddikery changed the title Fix log target deps Fixes persistency test_scenarios integration in reference_integration Feb 11, 2026
@rmaddikery rmaddikery marked this pull request as ready for review February 11, 2026 12:38
@rmaddikery rmaddikery force-pushed the rama_fix_logging_deps branch 2 times, most recently from 3eb6366 to 43d3910 Compare February 11, 2026 12:56
@PandaeDo PandaeDo requested a review from pawelrutkaq February 11, 2026 13:27
@rmaddikery rmaddikery force-pushed the rama_fix_logging_deps branch from 73648e6 to d1ad72d Compare February 11, 2026 14:13
@rmaddikery rmaddikery marked this pull request as draft February 11, 2026 16:43
@rmaddikery rmaddikery force-pushed the rama_fix_logging_deps branch 2 times, most recently from 0bceb88 to cdc65a7 Compare February 11, 2026 17:24
rmaddikery and others added 5 commits February 12, 2026 13:51
- library targets should depend on the log frontend
to limit lib dep footprint.
- while test targets need to proivide concrete backends.
For unit tests a lightweight console recorder with console
logging backend is sufficient.
- for a binary target a log target that includes all
backends is ideal.
- v2.0.0 is not compatible with bazel v8 and earlier
- Issue filed: github.com/aspect-build/rules_lint/issues/759
@rmaddikery rmaddikery force-pushed the rama_fix_logging_deps branch from cdc65a7 to c26079f Compare February 12, 2026 12:52
@rmaddikery rmaddikery marked this pull request as ready for review February 12, 2026 14:12

# ToDo: implicit dependencies for score_tooling, but needed directly here??
bazel_dep(name = "aspect_rules_lint", version = "2.0.0")
bazel_dep(name = "aspect_rules_lint", version = "1.10.2")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why was the version downgraded?


# Override score_docs_as_code to resolve compatibility level conflicts between dependencies
bazel_dep(name = "score_docs_as_code", version = "3.0.0", dev_dependency = True)
single_version_override(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need single_version_override here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moreover it cannot be used. The only place where it should be used is reference_integration repo

visibility = ["//visibility:public"],
deps = [
"//src/cpp/src:kvs_cpp",
"@score_logging//score/mw/log",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this required for test_scenarios ? I dont see any tests added . It is becuase the kremotelogging=false is removed?

)

# TRLC required transitively via: score_logging -> score_communication -> trlc
bazel_dep(name = "trlc", version = "0.0.0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dev_dependency? I dont want every repo that uses persistency to be obliged to load trlc especially when it is not using it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants