Skip to content

Conversation

@PiotrKorkus
Copy link
Contributor

@PiotrKorkus PiotrKorkus commented Nov 27, 2025

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

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: a6bd5999-fc5b-4a4e-a1a0-3121f342818b
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
DEBUG: Rule 'rust_qnx8_toolchain+' indicated that a canonical reproducible form can be obtained by modifying arguments integrity = "sha256-oEubHgeZDdT0svMmBKJx7c3/2TdSI/vfwRUyDn+TPGA="
DEBUG: Repository rust_qnx8_toolchain+ instantiated at:
  <builtin>: in <toplevel>
Repository rule http_archive defined at:
  /home/runner/.bazel/external/bazel_tools/tools/build_defs/repo/http.bzl:394:31: in <toplevel>
Computing main repo mapping: 
Computing main repo mapping: 
WARNING: For repository 'rules_rust', the root module requires module version [email protected], but got [email protected] 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 [email protected], but got [email protected] in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'platforms', the root module requires module version [email protected], but got [email protected] in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Computing main repo mapping: 
Loading: 
Loading: 4 packages loaded
Loading: 4 packages loaded
    currently loading: 
Analyzing: target //:license-check (5 packages loaded, 0 targets configured)
Analyzing: target //:license-check (5 packages loaded, 0 targets configured)

Analyzing: target //:license-check (88 packages loaded, 9 targets configured)

Analyzing: target //:license-check (92 packages loaded, 9 targets configured)

Analyzing: target //:license-check (156 packages loaded, 2006 targets configured)

Analyzing: target //:license-check (162 packages loaded, 6985 targets configured)

Analyzing: target //:license-check (162 packages loaded, 6985 targets configured)

INFO: Analyzed target //:license-check (165 packages loaded, 9001 targets configured).
[13 / 14] [Prepa] Generating Dash formatted dependency file ...
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 65 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
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: 23.003s, Critical Path: 0.33s
INFO: 14 processes: 5 disk cache hit, 9 internal.
INFO: Build completed successfully, 14 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>]

@github-actions
Copy link

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

@PiotrKorkus PiotrKorkus requested a review from arkjedrz November 27, 2025 19:43
load("@score_tooling//python_basics:defs.bzl", "score_py_pytest", "score_virtualenv")

# Additional requirements for the tests
# In order to update the requirements, change the `requirements.in` file and run:
Copy link
Contributor

Choose a reason for hiding this comment

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

That's a nitpick, but:

# In order to update the `requirements.txt` file, modify the `requirements.in` file and run:
# `bazel run //tests/python_test_cases:requirements.update`.
#
# To upgrade all dependencies to their latest versions, run:
# `bazel run //tests/python_test_cases:requirements.update -- --upgrade`.

I also think such info might be helpful in README.md.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added

@@ -1,14 +1,5 @@
# Fully resolved list of dependencies is required by Bazel.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the fully resolved list? Why versions are not longer provided?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Our previous usage of requirements file was incorrect. Now when we generate the lockfile it is provided to bazel. Lockfile has all dependencies resolved so we could get rid of frozen versions and cluttered list.

Removed comment.

BUILD Outdated
test_suite(
name = "unit_tests",
tests = [
# C++
Copy link
Contributor

Choose a reason for hiding this comment

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

Redundant comments? You can infer from the target name, same as You'd do with cit_tests targets.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed

name = "unit_tests",
tests = [
# C++
"test_kvs_cpp",
Copy link
Contributor

Choose a reason for hiding this comment

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

This might not require changes, but I'm curious - why C++ UTs do not require full target name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

test_kvs_cpp is a test suite. Test suites in bazel can be nested.

@PiotrKorkus PiotrKorkus force-pushed the piotrkorkus_bazel_testing branch from d59c9a0 to 631876c Compare November 28, 2025 09:50
venv setup was incorrect
args were not always recognized
add common test suites across repositories
@PiotrKorkus PiotrKorkus force-pushed the piotrkorkus_bazel_testing branch from 631876c to 9bb83ed Compare December 1, 2025 14:50
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.

2 participants