Skip to content

Simplify benchmark, CI, and release workflows - #553

Merged
smiggleworth merged 6 commits into
mainfrom
workflows/organize-bench-workflows
Nov 29, 2026
Merged

smiggleworth merged 6 commits into
mainfrom
workflows/organize-bench-workflows

Conversation

@smiggleworth

@smiggleworth smiggleworth commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Benchmarks: one reusable runner (bench-run.yml) serves Tiers 1–3, Gates (formerly Integration), Endurance, and Soak. Tiers and Gates now run one job per package or domain (7 and 8 jobs instead of 29 and 24), so each package builds once under the LTO release profile. Endurance and Soak keep one job per workload.
  • Runners: benches and qualification run on the primary x86_64 target (ubuntu-24.04). CI runs the crate and broker integration tests on both x86_64 and arm64 to catch memory-ordering and timing differences. Every ubuntu-latest is pinned to ubuntu-24.04.
  • CI: cloud storage integration (S3, GCS, Azure) is now a backend-cloud job behind the backend gate. The gate fails on any failed, cancelled, or skipped job.
  • Release: version.yml is folded into Containers' validate job, and Publish is renamed to Release.
  • Qualification: adds a manual cloud recovery workflow that requires digest-pinned runtime and Sqrzl images. It uses the runner's preinstalled AWS CLI (awscli is not packaged for Ubuntu 24.04), and because it runs code from an arbitrary commit it has no cache writes, registry login, or persisted token.
  • Toolchain: rust-toolchain.toml pins Rust 1.99.1, replacing eight per-workflow pins.
  • Docs and config: .cntryl/repository.toml benchmark workflow paths, bench-targets.md, and support-matrix.md are updated.

Validation

  • actionlint .github/workflows/*.yml passes.
  • The new matrices cover the same 53 tier 1–4 bench targets as before, and every package/bench pair was checked against cargo metadata.
  • cargo bench --no-run with several --bench flags builds locally.
  • Stress env defaults were checked against stress_support::main(), and FITZ_STRESS_DURATION_SECS against configured_duration.
  • The arm64 CI jobs, the grouped bench timeouts, and the recovery workflow have not run yet. The recovery workflow needs candidate image digests.

Follow-ups

  • Require backend and frontend in the Protect main ruleset. No status checks are required today.
  • Tune the grouped bench timeouts after the first smoke runs of Tiers and Gates.

- Share one bench runner across Tiers, Gates, Endurance, and Soak
- Build each package once per tier/domain instead of once per bench
- Run benches on x86_64; test crates and e2e on x86_64 and arm64
- Fold cloud integration into CI and version into Containers
- Rename Publish to Release and Integration benches to Gates
- Pin Rust in rust-toolchain.toml and runners to ubuntu-24.04
- Drop the broken awscli install from cloud recovery qualification
- Update benchmark config paths and runner docs
@smiggleworth smiggleworth changed the title Organize benchmark and qualification workflows Simplify benchmark, CI, and release workflows Nov 29, 2026
The job runs code from an arbitrary commit, so drop the shared Rust
cache, the GHCR login, and the persisted checkout token. Both pinned
images are public.
@smiggleworth
smiggleworth merged commit fdb3488 into main Nov 29, 2026
12 of 13 checks passed
@smiggleworth
smiggleworth deleted the workflows/organize-bench-workflows branch November 29, 2026 11:31
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