Skip to content

ci: add Bazel cache maintenance workflow - #612

Open
arkjedrz wants to merge 1 commit into
arkjedrz_tooling-08-multi-archfrom
arkjedrz_tooling-09-cache-maintenance
Open

arkjedrz wants to merge 1 commit into
arkjedrz_tooling-08-multi-archfrom
arkjedrz_tooling-09-cache-maintenance

Conversation

@arkjedrz

Copy link
Copy Markdown
Contributor
  • Remove the push trigger on main from build_linux.yml, build_qnx.yml and cargo_required.yml. Pushes to main now run them through cache maintenance, so main builds run once.
  • Add cache-maintenance.yml. It calls the cicd cache-maintenance workflow with one variant per Bazel config (host, Linux aarch64, QNX x86_64, QNX aarch64). On push and workflow_dispatch it warms the disk caches through the three build workflows and prunes old caches last. Pull request and merge queue runs are dry runs.

@arkjedrz arkjedrz self-assigned this Oct 28, 2026
@arkjedrz
arkjedrz added this pull request to stack #526 October 28, 2026 06:49
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

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

Status: ✅ Passed

Click to expand output
[License Check Output]
Starting local Bazel server (8.8.2) and connecting to it...
INFO: Invocation ID: 44426676-e900-4c4f-89f2-ba7276c83bfd
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 2 packages loaded
Loading: 2 packages loaded
    currently loading: tools
Loading: 2 packages loaded
    currently loading: tools
Loading: 2 packages loaded
    currently loading: tools
Loading: 2 packages loaded
    currently loading: tools
Loading: 2 packages loaded
    currently loading: tools
Analyzing: target //tools:license-check (3 packages loaded, 0 targets configured)
Analyzing: target //tools:license-check (3 packages loaded, 0 targets configured)

Analyzing: target //tools:license-check (95 packages loaded, 14 targets configured)

Analyzing: target //tools:license-check (101 packages loaded, 14 targets configured)

Analyzing: target //tools:license-check (101 packages loaded, 14 targets configured)

Analyzing: target //tools:license-check (166 packages loaded, 3895 targets configured)

Analyzing: target //tools:license-check (206 packages loaded, 8867 targets configured)

Analyzing: target //tools:license-check (210 packages loaded, 11721 targets configured)

Analyzing: target //tools:license-check (210 packages loaded, 11721 targets configured)

Analyzing: target //tools:license-check (213 packages loaded, 13606 targets configured)

Analyzing: target //tools:license-check (215 packages loaded, 17825 targets configured)

INFO: Analyzed target //tools:license-check (216 packages loaded, 17962 targets configured).
[12 / 16] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s disk-cache, processwrapper-sandbox ... (2 actions running)
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 51 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/tools/formatted.txt
[14 / 16] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 0s disk-cache, processwrapper-sandbox
INFO: Found 1 target...
Target //tools:license.check.license_check up-to-date:
  bazel-bin/tools/license.check.license_check
  bazel-bin/tools/license.check.license_check.jar
INFO: Elapsed time: 49.874s, Critical Path: 1.84s
INFO: 16 processes: 12 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/tools/license.check.license_check tools/formatted.txt <args omitted>
[main] INFO Querying Eclipse Foundation for license data for 42 items.
[main] INFO Found 34 items.
[main] INFO Querying ClearlyDefined for license data for 8 items.
[main] INFO Found 8 items.
[main] INFO Vetted license information was found for all content. No further investigation is required.

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-612: https://eclipse-score.github.io/persistency/pr-612/

@arkjedrz
arkjedrz force-pushed the arkjedrz_tooling-09-cache-maintenance branch from 2659c56 to 19a291f Compare November 10, 2026 08:26
@arkjedrz
arkjedrz marked this pull request as ready for review November 10, 2026 09:05
@arkjedrz
arkjedrz force-pushed the arkjedrz_tooling-09-cache-maintenance branch from 19a291f to ea5a56c Compare November 11, 2026 13:45
@umaucher
umaucher force-pushed the arkjedrz_tooling-09-cache-maintenance branch 2 times, most recently from e5723e6 to fb5eda1 Compare November 11, 2026 14:04
@arkjedrz
arkjedrz force-pushed the arkjedrz_tooling-09-cache-maintenance branch from fb5eda1 to 0bb88d3 Compare November 12, 2026 09:00
@arkjedrz
arkjedrz force-pushed the arkjedrz_tooling-09-cache-maintenance branch from 0bb88d3 to 4ac779f Compare November 13, 2026 08:29
@arkjedrz
arkjedrz force-pushed the arkjedrz_tooling-09-cache-maintenance branch from 4ac779f to e814570 Compare November 17, 2026 08:56
@arkjedrz
arkjedrz force-pushed the arkjedrz_tooling-09-cache-maintenance branch from e814570 to 160a5bd Compare November 17, 2026 18:57
@arkjedrz
arkjedrz force-pushed the arkjedrz_tooling-09-cache-maintenance branch from 160a5bd to bf6d0dd Compare November 18, 2026 09:44
- Remove the push trigger on main from build_linux.yml,
  build_qnx.yml and cargo_required.yml. Pushes to main now run them
  through cache maintenance, so main builds run once.
- Add cache-maintenance.yml. It calls the cicd cache-maintenance
  workflow with one variant per Bazel config (host, Linux aarch64,
  QNX x86_64, QNX aarch64). On push and workflow_dispatch it warms
  the disk caches through the three build workflows and prunes old
  caches last. Pull request and merge queue runs are dry runs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@arkjedrz
arkjedrz force-pushed the arkjedrz_tooling-09-cache-maintenance branch from bf6d0dd to c86fb13 Compare November 18, 2026 15:51

This branch has not been deployed

No deployments
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