Skip to content

Wire approval-review-benchmark tests into the test step - #550

Open
espetro wants to merge 1 commit into
vercel-labs:mainfrom
espetro:improvement/per-module-test-steps
Open

Wire approval-review-benchmark tests into the test step#550
espetro wants to merge 1 commit into
vercel-labs:mainfrom
espetro:improvement/per-module-test-steps

Conversation

@espetro

@espetro espetro commented Aug 31, 2026

Copy link
Copy Markdown

Fixes part of the cleanup surfaced in #549.

Problem

The test-approval-review-benchmark step is declared in build.zig but nothing depends on its run artifact within the aggregate test step, so zig build test never runs the file-diff approval review qualification tests. The sibling test-ui-activity-benchmark unit is already wired in (build.zig:219); this one was missed.

Change

One line: test_step.dependOn(&run_approval_review_bench_tests.step) next to the existing step declaration. The standalone test-approval-review-benchmark step is unchanged.

Validation

  • zig fmt --check clean
  • zig build test-approval-review-benchmark - 2/2 tests pass
  • zig build test - runs the aggregate gate; the step now appears in the run and the 2 approval-review tests execute (total count goes from 8,633 to 8,636 locally)
  • ./zig-out/bin/fx --version and --help smoke-checked from a fresh build

The test-approval-review-benchmark step existed but was never depended on
by the aggregate test step, so zig build test never ran the approval
review benchmark qualification tests. The sibling ui-activity benchmark
tests were already wired in; this adds the missing dependency so both
benchmark test units run as part of the standard gate.
@espetro
espetro marked this pull request as ready for review September 1, 2026 07:16
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.

1 participant