Skip to content

Implementation of initial Rust API Design for diag-lib#2

Open
stmuench wants to merge 14 commits into
eclipse-score:mainfrom
stmuench:initial_rust_api_implementation_for_diag_lib
Open

Implementation of initial Rust API Design for diag-lib#2
stmuench wants to merge 14 commits into
eclipse-score:mainfrom
stmuench:initial_rust_api_implementation_for_diag_lib

Conversation

@stmuench

Copy link
Copy Markdown
Contributor

This PR builds out the Rust diagnostics API proposal and rounds it out with tests, UDS adapters, and examples. It introduces the initial API surface plus a SimpleOperation trait for convenience, adds unit coverage for the core API modules, and extends the proposal with UDS support for negative response codes, Read/WriteDataByIdentifier, and RoutineControl.

It also adds a runtime-backed example implementation and usage snippets showing how to use the API in practice.

stmuench

This comment was marked as resolved.

@github-actions

github-actions Bot commented Apr 10, 2026

Copy link
Copy Markdown

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]
2026/06/24 11:01:11 Downloading https://releases.bazel.build/8.3.0/release/bazel-8.3.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server (8.3.0) and connecting to it...
INFO: Invocation ID: 86795474-59d2-4787-9faa-7417d121b43a
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)

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

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

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

Analyzing: target //:license-check (134 packages loaded, 1569 targets configured)

Analyzing: target //:license-check (136 packages loaded, 2424 targets configured)

Analyzing: target //:license-check (141 packages loaded, 2470 targets configured)

Analyzing: target //:license-check (141 packages loaded, 2470 targets configured)

Analyzing: target //:license-check (146 packages loaded, 4479 targets configured)

Analyzing: target //:license-check (146 packages loaded, 4479 targets configured)

Analyzing: target //:license-check (147 packages loaded, 4603 targets configured)

Analyzing: target //:license-check (147 packages loaded, 4603 targets configured)

Analyzing: target //:license-check (148 packages loaded, 4723 targets configured)

Analyzing: target //:license-check (148 packages loaded, 4723 targets configured)

Analyzing: target //:license-check (148 packages loaded, 4723 targets configured)

INFO: Analyzed target //:license-check (149 packages loaded, 6658 targets configured).
[8 / 13] 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
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 2 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
[10 / 13] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s disk-cache, processwrapper-sandbox
[11 / 13] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 0s disk-cache, processwrapper-sandbox
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: 212.178s, Critical Path: 2.64s
INFO: 13 processes: 9 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 13 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
Copy Markdown

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

@stmuench stmuench force-pushed the initial_rust_api_implementation_for_diag_lib branch 2 times, most recently from 17df9e3 to 0e33d3b Compare April 13, 2026 10:32
@stmuench stmuench force-pushed the initial_rust_api_implementation_for_diag_lib branch 4 times, most recently from c200384 to 9f02363 Compare May 28, 2026 12:06
@stmuench stmuench marked this pull request as ready for review June 24, 2026 12:33
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