Skip to content

ci: smoke Bazel e2e benchmarks#31429

Draft
anp-oai wants to merge 2 commits into
codex/e2e-benchmark-entrypointsfrom
codex/e2e-benchmark-ci-smoke
Draft

ci: smoke Bazel e2e benchmarks#31429
anp-oai wants to merge 2 commits into
codex/e2e-benchmark-entrypointsfrom
codex/e2e-benchmark-ci-smoke

Conversation

@anp-oai

@anp-oai anp-oai commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Why

The Bazel-backed macrobenchmark path should stay runnable in CI as the suite grows.

What

  • run just bench-e2e-smoke in the existing Linux GNU Bazel job
  • keep the smoke run before the broad bazel test invocation

Validation

  • just bench-e2e-smoke

Stack

  1. #31425 test: add TestAppServer builder
  2. #31427 test: add delayed exec-server transport
  3. #31295 bench: add cold skill load macrobenchmark
  4. #31428 bench: add e2e benchmark entrypoints
  5. #31429 ci: smoke Bazel e2e benchmarks

@anp-oai anp-oai force-pushed the codex/e2e-benchmark-entrypoints branch from 40d035e to f8fd71a Compare July 7, 2026 17:33
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-ci-smoke branch from bdfc04d to d6b6627 Compare July 7, 2026 17:34
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-entrypoints branch from f8fd71a to f9458bb Compare July 7, 2026 17:36
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-ci-smoke branch from d6b6627 to 50be93a Compare July 7, 2026 17:36
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-entrypoints branch from f9458bb to 7777895 Compare July 7, 2026 18:19
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-ci-smoke branch from 50be93a to 185932b Compare July 7, 2026 18:19
anp-oai added a commit that referenced this pull request Jul 7, 2026
## Why

Remote-executor integration tests need one host-agnostic exec-server
fixture target instead of a Windows-only wrapper.

## What

- rename the testing binary target to exec-server
- make the fixture source and target host-agnostic
- update Windows remote-executor test wiring to use the shared target

## Validation

- bazel build //codex-rs/exec-server/testing:exec-server
- bazel cquery --config=ci-windows-cross
'set(//codex-rs/exec-server/testing:exec-server
//codex-rs/core/tests/remote_env_windows:smoke-test)'

## Stack

1. [#31422 test: generalize exec-server
fixture](#31422)
2. [#31425 test: add TestAppServer
builder](#31425)
3. [#31427 test: add delayed exec-server
transport](#31427)
4. [#31295 bench: add cold skill load
macrobenchmark](#31295)
5. [#31428 bench: add e2e benchmark
entrypoints](#31428)
6. [#31429 ci: smoke Bazel e2e
benchmarks](#31429)
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-entrypoints branch from 7777895 to 67e8bf0 Compare July 7, 2026 18:39
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-ci-smoke branch from 185932b to b9d8644 Compare July 7, 2026 18:39
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-entrypoints branch from 67e8bf0 to b860399 Compare July 7, 2026 19:05
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-ci-smoke branch from b9d8644 to ee923c4 Compare July 7, 2026 19:06
anp-oai added a commit that referenced this pull request Jul 7, 2026
## Why

Test callers need one composable way to create app-server fixtures
instead of a growing family of overlapping constructor implementations.

## What

- add a feature-complete TestAppServer::builder()
- make the default builder own a temporary CODEX_HOME and select the
automatic test environment
- expose builder knobs for no automatic environment, explicit
CODEX_HOME, program, arguments, plugin startup tasks, environment
overrides, managed config, and JSON logging
- keep the existing public constructor surface, but route every
constructor through the builder so the new path is exercised immediately
- remove the redundant private constructor ladders; caller migration and
public constructor removal live in the optional cleanup stack

## Validation

- just test -p codex-app-server (940/941 before updating the expected
builder error wording)
- just test -p codex-app-server
auto_env_rejects_explicit_environment_config
- just fix -p codex-app-server
- just fmt

## Follow-up stacks

Cleanup, optional for the benchmark work:

1. [#31451 test: migrate TestAppServer callers to
builder](#31451)
2. [#31452 test: remove TestAppServer
constructors](#31452)

Benchmark infrastructure:

1. [#31427 test: add delayed exec-server
transport](#31427)
2. [#31295 bench: add cold skill load
macrobenchmark](#31295)
3. [#31428 bench: add e2e benchmark
entrypoints](#31428)
4. [#31429 ci: smoke Bazel e2e
benchmarks](#31429)
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-entrypoints branch from b860399 to 29179d5 Compare July 7, 2026 22:55
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-ci-smoke branch from ee923c4 to df7a8a1 Compare July 7, 2026 22:55
anp-oai added a commit that referenced this pull request Jul 7, 2026
@anp-oai anp-oai force-pushed the codex/e2e-benchmark-entrypoints branch from 29179d5 to e5b20f0 Compare July 8, 2026 00:21
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