Skip to content

Conversation

@igorostrowskiq
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Dec 16, 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: 39253aae-215f-41f8-837c-5a4b8c3994f5
Computing main repo mapping: 
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: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 5 packages loaded
Loading: 5 packages loaded
    currently loading: 
Analyzing: target //:license-check (6 packages loaded, 0 targets configured)
Analyzing: target //:license-check (6 packages loaded, 0 targets configured)

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

Analyzing: target //:license-check (117 packages loaded, 196 targets configured)

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

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

Analyzing: target //:license-check (165 packages loaded, 5021 targets configured)

INFO: Analyzed target //:license-check (165 packages loaded, 5030 targets configured).
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 62 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: 24.644s, Critical Path: 0.41s
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

@igorostrowskiq igorostrowskiq force-pushed the igorostrowskiq_unify_cit_structure branch from 3e28bc9 to 9b6691f Compare December 16, 2025 16:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes the naming and structure of component integration tests across the repository. The main changes include:

  • Renaming test directories from language-prefixed names (rust_test_scenarios, cpp_test_scenarios, python_test_cases) to a unified structure under tests/test_scenarios/{language} and tests/test_cases
  • Updating all build files, configuration files, and documentation to reference the new paths
  • Removing language prefixes from binary and package names for consistency

Reviewed changes

Copilot reviewed 16 out of 41 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/test_scenarios/rust/Cargo.toml Renamed package from rust_test_scenarios to test_scenarios
tests/test_scenarios/rust/BUILD Updated binary name and visibility path to reflect new directory structure
tests/test_scenarios/cpp/src/test_basic.cpp Updated namespace reference and reformatted braces (Allman style)
tests/test_scenarios/cpp/BUILD Renamed binary from cpp_test_scenarios to test_scenarios
tests/test_cases/tests/conftest.py Updated default target paths to new directory structure
tests/test_cases/requirements.txt.orig Contains unresolved merge conflict markers
tests/test_cases/pyproject.toml Renamed project from python_test_cases to test_cases
tests/test_cases/BUILD Updated all target paths and comments to reference new structure
tests/integration_test_scenarios/init_rpi4.build Updated commented path for QNX rust scenarios
tests/integration_test_scenarios/BUILD Updated commented paths for QNX rust scenarios
tests/README.md Updated all documentation paths and commands to reflect new structure
src/cpp/src/BUILD Updated visibility path for test scenarios
MODULE.bazel Updated requirements lock file path
Cargo.toml Updated workspace member path
BUILD Updated test suite target paths
.github/workflows/component_integration_tests.yml Updated all workflow paths to new structure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@igorostrowskiq igorostrowskiq force-pushed the igorostrowskiq_unify_cit_structure branch from 9b6691f to 7fbf983 Compare December 16, 2025 17:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 40 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Choose a reason for hiding this comment

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

correct location should be in repo root. Content of the file can be extended with options to pytest, ruff etc. Check kyron repo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

Choose a reason for hiding this comment

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

imho, PYTHONPATH should be added and . removed from import statements in test files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

- name: Run Python tests with pytest
working-directory: tests/python_test_cases
working-directory: tests/test_cases
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this line, calling pytest from repo root will secure auto discovery and loading pyproject.toml correctly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Comment on lines 61 to 65
working-directory: tests/test_cases
run: |
python -m venv .venv
source .venv/bin/activate
pip install .
pip install -r requirements.txt
Copy link
Contributor

Choose a reason for hiding this comment

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

we can make venv in repo root

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

pyproject.toml Outdated
skip-magic-trailing-comma = false

# Like Black, automatically detect the appropriate line ending.
line-ending = "auto" No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

empty line pls

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

[tool.pytest]
addopts = ["-v"]
pythonpath = [
"tests/test_cases",
Copy link
Contributor

Choose a reason for hiding this comment

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

did you check if tests/test_cases/tests is not needed when running pytest from repo root?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, it is not working when cwd is a root. Added required path.

working-directory: tests/test_cases
run: |
source .venv/bin/activate
python -m pytest
Copy link
Contributor

Choose a reason for hiding this comment

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

add --traces=all

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@PiotrKorkus PiotrKorkus left a comment

Choose a reason for hiding this comment

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

lgtm

@igorostrowskiq igorostrowskiq force-pushed the igorostrowskiq_unify_cit_structure branch from 01ef5d7 to a9130f3 Compare December 19, 2025 13:48
@igorostrowskiq
Copy link
Contributor Author

Squashed commits

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