Skip to content

Conversation

jif-oai
Copy link
Contributor

@jif-oai jif-oai commented Sep 25, 2025

Extracting tasks in a module and start abstraction behind a Trait (more to come on this but each task will be tackled in a dedicated PR)
The goal was to drop the ActiveTask and to have a (potentially) set of tasks during each turn

@jif-oai
Copy link
Contributor Author

jif-oai commented Sep 25, 2025

@codex review this deeply

Copy link
Contributor

Codex Review: Didn't find any major issues. Breezy!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

@jif-oai
Copy link
Contributor Author

jif-oai commented Sep 25, 2025

There is a known bug with the sync abort. Fix in progress

}

#[tokio::test]
async fn abort_regular_task_emits_turn_aborted_only() {
Copy link
Collaborator

@pakrym-oai pakrym-oai Sep 25, 2025

Choose a reason for hiding this comment

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

have you considered making these integration style tests? We can simulate never ending task by having server return tool calls forever.
also maybe movign them out of codex.rs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I want to add full integration tests around this but still in todo

Copy link
Collaborator

@pakrym-oai pakrym-oai left a comment

Choose a reason for hiding this comment

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

Approving to unblock. Independently from my comments this is a step in the right direction.

@jif-oai
Copy link
Contributor Author

jif-oai commented Sep 26, 2025

@codex fix the CLI

Copy link
Contributor

Summary

  • Updated the CLI launcher to locate the Rust binary via an environment override, bundled vendor assets, or locally built targets, emitting a detailed error with guidance when none are available. codex-cli/bin/codex.jsL57-L143
  • Ensured the resolved binary’s PATH augmentations continue to be applied before spawning the CLI process. codex-cli/bin/codex.jsL145-L170

Testing

  • ⚠️ node codex-cli/bin/codex.js (fails intentionally when no binary is available, confirming the new diagnostic output).

View task →

@jif-oai jif-oai enabled auto-merge (squash) September 26, 2025 13:35
@jif-oai jif-oai merged commit 1fc3413 into main Sep 26, 2025
19 checks passed
@jif-oai jif-oai deleted the jif/state-2 branch September 26, 2025 13:49
@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants