Add Codex cloud environment setup#1
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a5ad038d8f
ℹ️ 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".
| if [[ "$MODE" != "maintenance" ]]; then | ||
| install_system_dependencies |
There was a problem hiding this comment.
Avoid provisioning during verify mode
When --verify is used as the AGENTS.md “complete suite” after the Codex setup phase, this condition still runs install_system_dependencies, starting with apt-get update, before any checks execute. In cached task environments where package downloads are unavailable or sudo/root is not usable, verification fails even though the environment was already prepared; verify should skip provisioning like maintenance or split the check-only path from setup.
Useful? React with 👍 / 👎.
Summary
--verifymodeAGENTS.mdso Codex knows the repository structure and the correct frontend/Rust validation commandsCodex environment configuration
Set the Codex environment Node.js package version to 24. The script will also select Node 24 through nvm or mise when available.
Validation
bash -n scripts/codex-setup.sh.github/workflows/typescript.ymland.github/workflows/rust.ymlThe complete installation was not executed in this assistant sandbox because it has no outbound package-download access; the setup script is designed to run during the Codex setup phase, where internet access is available.