Skip to content

miri: use Bazel target for Miri tests#254

Merged
pawelrutkaq merged 2 commits into
eclipse-score:mainfrom
qorix-group:arkjedrz_miri-bazel-target
Jun 23, 2026
Merged

miri: use Bazel target for Miri tests#254
pawelrutkaq merged 2 commits into
eclipse-score:mainfrom
qorix-group:arkjedrz_miri-bazel-target

Conversation

@arkjedrz

@arkjedrz arkjedrz commented Jun 18, 2026

Copy link
Copy Markdown
Contributor
  • Enable Miri for Bazel in repo.
  • Add miri_test target for HMON.
  • Remove unnecessary Miri workflow.
  • Fix coverage workflow.
    • Disable Miri for Rust coverage workflow.
    • Disable Rust targets for C++ coverage and vice versa.

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
2026/06/23 11:08:05 Downloading https://releases.bazel.build/8.4.2/release/bazel-8.4.2-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server (8.4.2) and connecting to it...
INFO: Invocation ID: b4000a39-265c-4f63-b737-9a4ac5ba231e
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: 
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 (39 packages loaded, 10 targets configured)

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

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

Analyzing: target //:license-check (132 packages loaded, 857 targets configured)

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

Analyzing: target //:license-check (155 packages loaded, 5453 targets configured)

Analyzing: target //:license-check (155 packages loaded, 5453 targets configured)

Analyzing: target //:license-check (155 packages loaded, 5453 targets configured)

Analyzing: target //:license-check (158 packages loaded, 7340 targets configured)

Analyzing: target //:license-check (160 packages loaded, 10114 targets configured)

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

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

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

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

INFO: Analyzed target //:license-check (163 packages loaded, 10268 targets configured).
[13 / 16] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s disk-cache, processwrapper-sandbox
[14 / 16] 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: 31.235s, Critical Path: 2.47s
INFO: 16 processes: 12 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 16 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

@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from e41fbf3 to 6bb9fb9 Compare June 18, 2026 11:53
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 11:53 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 11:53 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from 6bb9fb9 to 5d31501 Compare June 18, 2026 12:12
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 12:12 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 12:12 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from 5d31501 to 3623675 Compare June 18, 2026 12:13
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 12:13 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 12:13 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from 3623675 to eb4ed2e Compare June 18, 2026 12:30
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 12:30 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 12:30 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from eb4ed2e to 702d89a Compare June 18, 2026 13:02
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 13:02 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 13:02 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from 702d89a to 5be17e6 Compare June 18, 2026 13:19
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 13:20 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 13:20 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from 5be17e6 to c677f22 Compare June 18, 2026 13:30
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 13:30 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 13:30 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from c677f22 to 68eb3a4 Compare June 18, 2026 14:27
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 14:27 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 18, 2026 14:27 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from 68eb3a4 to c28f728 Compare June 22, 2026 14:21
@arkjedrz arkjedrz requested a deployment to workflow-approval June 22, 2026 14:21 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 22, 2026 14:21 — with GitHub Actions Waiting
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from c28f728 to 6ce6acc Compare June 22, 2026 14:31
@arkjedrz arkjedrz requested a deployment to workflow-approval June 22, 2026 14:31 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 22, 2026 14:31 — with GitHub Actions Waiting
@arkjedrz arkjedrz marked this pull request as ready for review June 22, 2026 14:31
- Enable Miri for Bazel in repo.
- Add `miri_test` target for HMON.
- Remove unnecessary Miri workflow.
- Fix coverage workflow.
  - Disable Miri for Rust coverage workflow.
  - Disable Rust targets for C++ coverage and vice versa.
@arkjedrz arkjedrz force-pushed the arkjedrz_miri-bazel-target branch from 6ce6acc to 83a3c2c Compare June 23, 2026 08:39
@arkjedrz arkjedrz requested a deployment to workflow-approval June 23, 2026 08:39 — with GitHub Actions Waiting
@arkjedrz arkjedrz requested a deployment to workflow-approval June 23, 2026 08:39 — with GitHub Actions Waiting
Added new flags
- --build_tag_filters=-miri,-loom prevents Bazel from even building targets tagged miri or loom.
- --test_tag_filters=-miri,-loom prevents Bazel from selecting/running tests with those tags.
- this keeps the coverage job focused on normal Rust tests

Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com>
@dcalavrezo-qorix dcalavrezo-qorix deployed to workflow-approval June 23, 2026 11:07 — with GitHub Actions Active
@pawelrutkaq pawelrutkaq merged commit fec427a into eclipse-score:main Jun 23, 2026
19 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in LCM - Lifecycle & Health FT Jun 23, 2026
@arkjedrz arkjedrz deleted the arkjedrz_miri-bazel-target branch June 23, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants