Skip to content

Export from orchestrator #1

Merged
qor-lb merged 241 commits intoeclipse-score:mainfrom
qorix-group:pawelrutkaq_import_from_orchestrator
Dec 9, 2025
Merged

Export from orchestrator #1
qor-lb merged 241 commits intoeclipse-score:mainfrom
qorix-group:pawelrutkaq_import_from_orchestrator

Conversation

@pawelrutkaq
Copy link
Contributor

It's a split from orchestrator https://github.com/eclipse-score/orchestrator from SHA 8f089d4184b90476ca6c323fde5a591760d9252e

This is the activity to split the Orchestrator Feature Request into two modules.

eclipse-score-bot and others added 30 commits May 6, 2025 11:54
add the module_template layout to the new repo

Signed-off-by: Dan Calavrezo <dan.calavrezo.ext@qorix.ai>
Create default PR template

Signed-off-by: Pawel Rutka <pawel.rutka@int2code.com>
Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
    - Fix license files & formatting
    - Fix bazel deps
    - Support tests
    - Add CI workflows

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
Wrong UT caused sporadic fails

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
Fix licensing headers and add automatic check

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
Implemented Tag which can be created from static string/&str/String.
This commit splits testing structs and functions from lib.rs
This commit adds MockFn that is useful for counting how many times the
fn is called with the resulting outputs
Implement OrchestrationTag which can be created from a static string, SlotMapKey and SlotMap identifier.
This can be used as unique ID for the registered actions of the Program.
Add support for reusable objects poll
which can be Send across threads

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
Implement spsc channel as basic data exchange entity

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
- Add TC in loom for single sample issues
- Fix review findings

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
This enables serveral parameters of threads to be configured:
* priority
* scheduler_type
* core affinity
* stack_size

For this, we leverage the iceoryx2-bb-posix crate, which has api for us
to set these parameters. But it needs us to switch from std::thread to
the iceoryx2 Thread also.
The DedicatedWorker can now also be stopped by a stop function. A call
to this function is added to the Drop Implementation of the
ExecutionEngine.
- Support enabling safety worker per engine
- Create seperate API that is aware of need to respawn
task in safety worker once error occures in task
- Minor reworks

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
This commit fix typos in the struct name and comments to improve clarity
This commit adds Clone attribute to the CommonErrors enum, so that it
can be clonable
This commit renames the mock.rs to mock_fn.rs to distinguish MockFn from
the MockAction
This commit adds MockAction that is based on MockFn to enables mock
testing of orchestration actions
This commit ensures that call counting during drop() only takes place
after build() is invoked, so that it won't affect any transient objects
before that
To avoid allocation at runtime, we need to have reusable vector for actions, so that they can be reused after iteration.
The implementation makes use of ReusableObject.
Fix wrong condition checks and add UT

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
Simple SPMC broadcast channel based on SPSC channel

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
Create mock API for runtime under feature so it can be
enabled in other crates for UT.

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
- Add design config
- Add deployment config
- Add connecting Orchestration that is entrypoint
for creating programs based on Design and Deployment split

Signed-off-by: Pawel Rutka <pawel.rutka.ext@qorix.ai>
Fixed licnese-check call.

Addresses eclipse-score/orchestrator#8

Signed-off-by: Dan Calavrezo <dan.calavrezo.ext@qorix.ai>
Implement concurrency action using reusable future.
This commit fixes the handling of times() clause when it is set to zero.
Also add ReusableObjectTrait to MockFn (needed for MockAction
implementation)
Corrected the link.
pawelrutkaq and others added 21 commits November 4, 2025 15:38
- add doc targets
- add basic module description
Now virtualization checks for presence
of git-lfs so there is no strange errors
if user did not have it.
Build docs using re-usable workflow.

Signed-off-by: Nicolae Dicu <nicolae.dicu.ext@qorix.ai>
Uplift to 8.3.0
Log is not needed
"affinity" key was used, changed to "thread_affinity".
Added missing copyright check and copyright info to some files.

Signed-off-by: Nicolae Dicu <nicolae.dicu.ext@qorix.ai>
Implemented the select action along with its builder. Added unit tests.
Updated the implementation of MockFn and MockAction for improved functionalities.
Fixed issue where longer program startup influenced total expected number of program iterations.
Covers safety worker usage and related functions
@github-actions
Copy link

github-actions bot commented Dec 4, 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: 40adf12f-0d50-4242-868c-ed5270b8fa19
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-eQOopREOYCL5vtTb6c1cwZrql4GVrJ1FqgxarQRe1xs="
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: 
WARNING: For repository 'aspect_rules_lint', the root module requires module version aspect_rules_lint@1.0.3, but got aspect_rules_lint@1.5.3 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'buildifier_prebuilt', the root module requires module version buildifier_prebuilt@7.3.1, but got buildifier_prebuilt@8.2.0.2 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.14.0, but got googletest@1.14.0.bcr.1 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: 0 packages loaded
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 (67 packages loaded, 9 targets configured)

Analyzing: target //:license-check (104 packages loaded, 62 targets configured)

Analyzing: target //:license-check (143 packages loaded, 2691 targets configured)

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

Analyzing: target //:license-check (149 packages loaded, 2741 targets configured)

INFO: Analyzed target //:license-check (151 packages loaded, 4756 targets configured).
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 209 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: 21.629s, Critical Path: 0.40s
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

github-actions bot commented Dec 4, 2025

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

@qor-lb qor-lb merged commit 3d040cb into eclipse-score:main Dec 9, 2025
13 checks passed
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.