Repository navigation
fix: run the Codex review on ubuntu-24.04 - #9
Merged
Merged
Conversation
ubuntu-latest now resolves to ubuntu-26.04, where codex-action's default drop-sudo safety strategy aborts before Codex runs: Error: Could not restrict access to /run/dbus/system_bus_socket. The deny ACL it puts on the D-Bus socket doesn't take effect on that image (openai/codex-action#188, no fixed release yet). Pin the job to ubuntu-24.04 and keep drop-sudo, rather than weakening the strategy.
MarcosNicolau
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Codex review fails before Codex even starts on any run that lands on an ubuntu-26.04 runner, which is what
ubuntu-latestnow resolves to. waas run 40721511115 (PR yetanotherco/waas#190) aborted in 0.6 s:Cause
The runner image is the only difference between a passing run and a failing one:
openai/codex-action@v1bdf19a4bdf19a4safety-strategy: drop-sudotakes away the runner's root access before Codex runs. Part of that is a deny ACL on root-owned service sockets such as the system D-Bus socket. On ubuntu-26.04 the ACL doesn't take effect: the socket stays writable byrunner(other::rw-), and the action aborts on purpose. This is the upstream bug openai/codex-action#188, "drop-sudo fails on Ubuntu 26.04", open since 2026-10-20. v1.13 is still the latest tag, and nothing onmainsince then addresses it.Change
pr_review_codex.yml: thecodexjob runs onubuntu-24.04instead ofubuntu-latest, with a comment pointing at the upstream issue.drop-sudostays. Switching tounsafewould leave Codex with sudo while it holdsOPENAI_API_KEYand reads PR content.The
post_feedbackjob stays onubuntu-latest, since it doesn't usecodex-action. The Claude and Kimi workflows don't use it either.Verification
actionlintreports no new findings. The 8 shellcheck info/style notes in theGet PR detailsscript are already onmain.4a51270), because apull_requestrun uses the PR's copy of the caller workflow. A/codexcomment won't do: it runs the default branch's copy.After merging
Tag a release (v1.0.4) so callers can bump from their pinned SHA. waas pins v1.0.2. Move back to
ubuntu-latestwhen a codex-action release fixes #188.