Package Details: openai-codex-reasoning 0.139.0-1

Git Clone URL: https://aur.archlinux.org/openai-codex-reasoning.git (read-only, click to copy)
Package Base: openai-codex-reasoning
Description: OpenAI Codex CLI with raw reasoning traces enabled by default
Upstream URL: https://github.com/openai/codex
Licenses: Apache-2.0
Conflicts: openai-codex, openai-codex-bin, openai-codex-reasoning-bin
Provides: openai-codex
Replaces: openai-codex-reasoning-bin
Submitter: Notes
Maintainer: Notes
Last Packager: Notes
Votes: 0
Popularity: 0.000000
First Submitted: 2026-04-24 09:03 (UTC)
Last Updated: 2026-06-09 19:08 (UTC)

Dependencies (7)

Required by (7)

Sources (2)

Latest Comments

Eliacim commented on 2026-05-17 20:35 (UTC) (edited on 2026-05-17 20:39 (UTC) by Eliacim)

Heads-up for anyone evaluating this package: the only functional difference from upstream is a single one-line default flip — show_raw_agent_reasoning from false to true (commit 1222f907).

You can get identical behavior with the official openai-codex-bin by adding one line to ~/.codex/config.toml:

show_raw_agent_reasoning = true

l3afyb0y commented on 2026-05-05 04:39 (UTC)

On current Arch defaults, makepkg enables debug, which injects Rust debuginfo. Combined with the package's already high memory usage during compilation, that caused repeated OOMs for me on a 32gb RAM system unless I forced fully serialized builds:

MAKEFLAGS="-j1" CARGO_BUILD_JOBS=1 CMAKE_BUILD_PARALLEL_LEVEL=1

It looks like the main pressure comes from the package’s Rust release profile being very aggressive for end-user AUR builds, especially with lto = "fat" and codegen-units = 1. It might be worth considering options=('!debug') in the PKGBUILD, and/or overriding Cargo release settings during build, for example:

CARGO_PROFILE_RELEASE_LTO=thin
CARGO_PROFILE_RELEASE_CODEGEN_UNITS=8
CARGO_PROFILE_RELEASE_DEBUG=0

That would likely make AUR builds much more robust on stock Arch systems while still producing optimized release binaries.