mirror of
https://github.com/openai/codex.git
synced 2026-09-11 20:36:49 +00:00
## What changed - Add a Bazel test rule that runs the shared Noise relay compatibility suite with current or packaged Codex binaries. - Cover both app-server/exec-server directions for the current build, release `0.149.1`, and the minimum supported release `0.145.0` on Linux x86-64. - Remove the standalone version-skew download scripts and the protocol constant they used. ## Testing The new `exec-server-current-version-test`, `exec-server-stable-release-test`, and `exec-server-minimum-release-test` targets exercise the compatibility suite. GitOrigin-RevId: 6b3b91eea8e05a38bec1fac128afc54f0d654014
32 lines
997 B
Python
32 lines
997 B
Python
load("@rules_rust//rust:defs.bzl", "rust_test")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files(["exec_server_compat_test.bzl"])
|
|
|
|
# exec_server_compat_test wraps this shared binary with current or released builds.
|
|
# Keep it manual so only wrapped compatibility tests enter the normal test graph.
|
|
rust_test(
|
|
name = "exec-server-compat-test-bin",
|
|
srcs = ["exec_server_compat_test.rs"],
|
|
crate_name = "exec_server_compat_test",
|
|
crate_root = "exec_server_compat_test.rs",
|
|
edition = "2024",
|
|
tags = ["manual"],
|
|
target_compatible_with = [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
visibility = ["//codex-rs/exec-server:__pkg__"],
|
|
deps = [
|
|
"//codex-rs/exec-server",
|
|
"//codex-rs/exec-server/tests/support",
|
|
"@crates//:anyhow",
|
|
"@crates//:pretty_assertions",
|
|
"@crates//:serde_json",
|
|
"@crates//:tempfile",
|
|
"@crates//:tokio",
|
|
"@crates//:wiremock",
|
|
],
|
|
)
|