Skip to content

Conversation

@aibrahim-oai
Copy link
Collaborator

Summary

  • add TestCodex::submit_turn_with_policies and extend the response helpers with reusable tool-call utilities
  • update the grep_files, read_file, list_dir, shell_serialization, and tools suites to rely on the shared helpers instead of local copies
  • make the list_dir helper return anyhow::Result so clippy no longer warns about expect

Testing

  • just fix -p codex-core
  • cargo test -p codex-core --test all suite::grep_files::grep_files_tool_collects_matches
  • cargo test -p codex-core suite::grep_files::grep_files_tool_collects_matches -- --ignored (filter requests ignored tests so nothing runs, but the build stays clean)

Codex Task

call_id: &str,
arguments: &str,
tool_name: &str,
) -> ToolSequenceMocks {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tuple?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear what each mock for tho

@aibrahim-oai aibrahim-oai force-pushed the codex/promote-local-helpers-to-core-tests branch 2 times, most recently from 9cffc44 to 46a4d81 Compare November 10, 2025 19:41
@aibrahim-oai aibrahim-oai merged commit 2a6e9b2 into main Nov 14, 2025
50 checks passed
@aibrahim-oai aibrahim-oai deleted the codex/promote-local-helpers-to-core-tests branch November 14, 2025 01:12
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants