Skip to content

Share the Rust micro-benchmark workflow#8777

Merged
connortsui20 merged 1 commit into
ct/bench-declarativefrom
codex/bench-micro-workflow
Jul 15, 2026
Merged

Share the Rust micro-benchmark workflow#8777
connortsui20 merged 1 commit into
ct/bench-declarativefrom
codex/bench-micro-workflow

Conversation

@connortsui20

@connortsui20 connortsui20 commented Jul 15, 2026

Copy link
Copy Markdown
Member

Rationale

The develop and pull-request Rust micro-benchmark jobs duplicate the same setup, build, profiling, result, and failure-reporting logic. Keeping both copies aligned is error-prone, but folding this cleanup into the SQL matrix migration makes that PR harder to review.

This PR is therefore stacked on #8757 and contains only the Rust micro-benchmark follow-up.

What changes?

  • Declare the two existing Rust benchmark binaries in bench_orchestrator/benchmarks.py, alongside the SQL benchmark declarations.
  • Expose that fixed matrix as vx-bench matrix micro without adding a generic selector or tag DSL.
  • Move the shared develop/PR job into bench-core.yml.
  • Keep mode-specific checkout, result comparison, upload, ingest, and failure-reporting behavior in the reusable workflow.

Commit structure

This is intentionally one commit: the two declarations and reusable workflow are one atomic change, since neither is useful without the other. The SQL registry and workflow migration remain independently reviewable in #8757.

Validation

  • uv run ruff check bench-orchestrator
  • uv run ruff format --check bench-orchestrator
  • uv run pytest bench-orchestrator/tests (25 passed; 6 matrix contract tests)
  • focused basedpyright on benchmarks.py and matrix.py
  • strict yamllint and actionlint on the three affected workflows

Declare the two Rust micro-benchmark binaries in a small dedicated resolver and expose them through the existing matrix command. Replace the duplicated develop and PR jobs with one reusable workflow while preserving their mode-specific result handling.

Keep this separate from the SQL profile migration so each change can be reviewed and landed independently.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20 connortsui20 force-pushed the codex/bench-micro-workflow branch from 062fc95 to 51db3b2 Compare July 15, 2026 20:17
@connortsui20 connortsui20 merged commit 51db3b2 into ct/bench-declarative Jul 15, 2026
69 of 70 checks passed
@connortsui20 connortsui20 deleted the codex/bench-micro-workflow branch July 15, 2026 20:21
@connortsui20

Copy link
Copy Markdown
Member Author

This stacked PR was folded into #8757. Its commit is now the third commit of that combined PR; #8757 is the single active review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant