Skip to content

Issue triage fails since Codex 0.174.0: "Codex ran no commands", so new issues get no labels #1576

Todo

Description

@mateolafalce

Summary

Since 2026-12-04, every issues run of triage.yml fails in the Classify issue job with:

##[error]Codex ran no commands; the sandbox likely failed to start.

The Assign human reviewer job still succeeds, but Apply labels is skipped, so new issues get no type, priority or component labels.

This is separate from #1566, which covers the startup_failure of pull_request_target runs. Issue runs start fine and fail inside the job.

Runs

Issue Opened (UTC) Run Result
#1567 2026-12-03 22:41 47220005925 success, labeled
#1573 2026-12-04 21:33 47429747513 Classify issue failed
#1575 2026-12-04 23:46 47449458171 Classify issue failed

The successful and the failed runs use the same runner image (ubuntu-26.04, 20261129.15.1) and the same triage.yml (last changed in #1526).

Likely cause

The workflow installs Codex without a version:

- name: Install Codex
  run: npm install -g @openai/codex

@openai/codex 0.174.0 was published on 2026-12-04 02:12 UTC, between the last successful run and the first failed one. Its release notes include openai/codex#63515, "Honor configured and saved approvals in codex exec":

codex exec could force the approval policy to never, overriding configured approvals on new threads [...]
Before an interactive approval can be requested, codex exec warns on stderr when the effective settings call for a human reviewer. Exec rejects those requests immediately because it runs non-interactively.

Run Codex uses --sandbox read-only --ignore-user-config and sets no approval policy. If the default policy now asks for approval before Codex reads triage-issue.json, exec rejects the request, Codex runs no command, exits 0, and the "ran no commands" guard fails the job.

Not confirmed:

  • The log does not print the installed Codex version.
  • The stderr warning from #63515 would not be visible: Run Codex sends stderr to codex-events.jsonl, and only prints event types and error messages on a non-zero exit.

Suggested fix

  • Pin Codex in Install Codex (for example @openai/codex@0.173.0 to confirm, then a reviewed version), so a release cannot change triage behavior unannounced.
  • Set the approval policy explicitly in Run Codex, for example -c approval_policy=never, which restores the pre-0.174.0 behavior. The sandbox stays read-only.

A workflow_dispatch run with dry_run: true on #1573 or #1575 after the change would confirm it, and the same dispatch can relabel both issues.

Activity

  1. github-actions commented on Dec 4, 2026

    @github-actions
    Contributor

    @connor4312 is on triage rotation this week and is the reviewer for this one.

    Automated classification did not run for this one, so it needs a full manual pass.

    Automated triage. Labels are a first pass and the assigned maintainer has the final say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions