Skip to content

use a version-specific suffix for command runner binary in .sandbox-bin#19180

Merged
iceweasel-oai merged 1 commit intomainfrom
dev/iceweasel/copied-binary-suffix
Apr 23, 2026
Merged

use a version-specific suffix for command runner binary in .sandbox-bin#19180
iceweasel-oai merged 1 commit intomainfrom
dev/iceweasel/copied-binary-suffix

Conversation

@iceweasel-oai
Copy link
Copy Markdown
Collaborator

we copy codex-command-runner.exe into CODEX_HOME/.sandbox-bin/ so that it can be executed by the sandbox user.
We also detect if that version is stale and copy a new one in if so.

This can fail when you are running multiple versions of the app - the file in .sandbox-bin can look stale because it comes from another app build.

This change allows us to have multiple versions in there for different CLI versions, and it fallsback to a size+mtime hash in the filename for dev builds that don't report a real CLI version.

@iceweasel-oai
Copy link
Copy Markdown
Collaborator Author

@codex review

Copy link
Copy Markdown

@bschoepke-openai bschoepke-openai left a comment

Choose a reason for hiding this comment

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

ty!

@chatgpt-codex-connector
Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

ℹ️ 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 "@codex address that feedback".

@iceweasel-oai iceweasel-oai merged commit d169bb5 into main Apr 23, 2026
25 checks passed
@iceweasel-oai iceweasel-oai deleted the dev/iceweasel/copied-binary-suffix branch April 23, 2026 20:16
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 23, 2026
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