Skip to content

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

Draft
stmuench wants to merge 13 commits into
eclipse-score:mainfrom
stmuench:initial_rust_api_implementation_for_diag_lib
Draft

Implementation of initial Rust API Design for diag-lib#2
stmuench wants to merge 13 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
Copy link
Copy Markdown

github-actions Bot commented Apr 10, 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]
2026/05/28 12:33:47 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: 1997f842-c08f-4792-b24a-f852925cc01c
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 (24 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 (136 packages loaded, 1036 targets configured)

Analyzing: target //:license-check (137 packages loaded, 2443 targets configured)

Analyzing: target //:license-check (138 packages loaded, 2451 targets configured)

Analyzing: target //:license-check (138 packages loaded, 2451 targets configured)

Analyzing: target //:license-check (138 packages loaded, 2451 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] [Prepa] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes ... (2 actions, 0 running)
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 2 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
[11 / 13] [Prepa] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar
[12 / 13] Building license.check.license_check.jar (); 0s disk-cache, multiplex-worker
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: 224.934s, Critical Path: 2.57s
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 force-pushed the initial_rust_api_implementation_for_diag_lib branch from 9f02363 to f0fafc8 Compare May 28, 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.

1 participant