mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
## What changed - With `tui_extensions_statusline` enabled, resolve the saved MCP provider and read its resource with a snapshot of the displayed thread's statusline state. - Show initialization and error messages, validate the JSON UI tree response, and preserve provider content through native statusline refreshes. Ignore stale results when the thread, provider, or working directory changes. - Request workspace headlines and thread usage for custom providers even when no built-in statusline items are selected. ## Testing Add unit coverage for response validation and footer lifecycle, plus end-to-end tests for embedded and remote app servers, startup delays, current thread metadata, and rejection of project-level provider overrides. GitOrigin-RevId: 80a46ec780c1f1536f1fd4749f468629627dedf6
38 lines
1.2 KiB
Python
38 lines
1.2 KiB
Python
load("//:defs.bzl", "MACOS_WEBRTC_RUSTC_LINK_FLAGS", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "tui",
|
|
binaries_with_build_commit = ["codex-tui"],
|
|
compile_data = glob([
|
|
"assets/**",
|
|
]),
|
|
crate_name = "codex_tui",
|
|
extra_binaries = [
|
|
"//codex-rs/cli:codex",
|
|
"//codex-rs/rmcp-client:test_stdio_server",
|
|
],
|
|
integration_compile_data_extra = ["src/test_backend.rs"],
|
|
rustc_flags_extra = MACOS_WEBRTC_RUSTC_LINK_FLAGS,
|
|
test_data_extra = glob([
|
|
"src/**/*.rs",
|
|
"src/**/snapshots/**",
|
|
"tests/fixtures/**",
|
|
]),
|
|
test_shard_counts = {
|
|
"tui-unit-tests": 8,
|
|
},
|
|
# The startup symlink test applies its own Seatbelt policy, which cannot be nested.
|
|
test_tags = ["no-sandbox"],
|
|
# Large async test futures can overflow the default libtest stack.
|
|
unit_test_env = {"RUST_MIN_STACK": "25165824"}, # 24 MiB
|
|
unit_test_srcs = glob([
|
|
"src/**/*_test_support.rs",
|
|
"src/**/*_tests.rs",
|
|
"src/**/*_tests/**/*.rs",
|
|
"src/**/test_fixtures.rs",
|
|
"src/**/test_support.rs",
|
|
"src/**/tests.rs",
|
|
"src/**/tests/**/*.rs",
|
|
]) + ["src/test_backend.rs"],
|
|
)
|