Skip to content

Remove usage of .from_cargo in bzlmod#1

Closed
prabakaranklst wants to merge 242 commits intomainfrom
prabakaran_bazel_remove_cargo_deps
Closed

Remove usage of .from_cargo in bzlmod#1
prabakaranklst wants to merge 242 commits intomainfrom
prabakaran_bazel_remove_cargo_deps

Conversation

@prabakaranklst
Copy link

Removed usage of .from_cargo in bzlmod and used score_crates instead.

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 27 commits November 3, 2025 11:03
- 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
Removed usage of `.from_cargo` in bzlmod and used score_crates instead.
@pawelrutkaq pawelrutkaq changed the base branch from pawelrutkaq_import_from_orchestrator to main December 9, 2025 08:21
@pawelrutkaq pawelrutkaq closed this Dec 9, 2025
pawelrutkaq pushed a commit that referenced this pull request Dec 9, 2025
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.