Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions codex-rs/thread-store/src/local/thread_history/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ fn searchable_text(item: &ThreadItem) -> Option<Cow<'_, str>> {
UserInput::Text { text, .. } => Some(strip_user_message_prefix(text)),
UserInput::Image { .. }
| UserInput::LocalImage { .. }
| UserInput::Audio { .. }
| UserInput::LocalAudio { .. }
| UserInput::Skill { .. }
| UserInput::Mention { .. } => None,
})
Expand Down
4 changes: 4 additions & 0 deletions defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def codex_rust_crate(
deps_extra = [],
integration_compile_data_extra = [],
integration_test_args = [],
unit_test_args = [],
integration_test_timeout = None,
test_data_extra = [],
test_shard_counts = {},
Expand Down Expand Up @@ -230,6 +231,7 @@ def codex_rust_crate(
Typically only needed when features add additional deps.
integration_compile_data_extra: Extra compile_data for integration tests.
integration_test_args: Optional args for integration test binaries.
unit_test_args: Optional args for the unit test binary.
integration_test_timeout: Optional Bazel timeout for integration test
targets generated from `tests/*.rs`.
test_data_extra: Extra runtime data for tests.
Expand Down Expand Up @@ -347,6 +349,8 @@ def codex_rust_crate(
)

unit_test_kwargs = {}
if unit_test_args:
unit_test_kwargs["args"] = unit_test_args
if unit_test_timeout:
unit_test_kwargs["timeout"] = unit_test_timeout
if unit_test_shard_count:
Expand Down
Loading