Pin the Codex request model to a supported name — the engine is resolving to the decommissioned alpha snapshot gpt-5-codex-alpha-2025-11-07, which 404s at the proxy and hard-fails the run before any agent work.
Parent: #46170
Problem statement
The Daily Cache Strategy Analyzer Codex run dies in Execute Codex CLI with a fatal 404 Not Found: Model not found gpt-5-codex-alpha-2025-11-07 from (apiproxy/redacted) The codex-harness classifies it isInvalidModelError=true and explicitly does **not** retry (invalid/unsupported model configuration — not retrying`), so the job exits 1 with no agent work. This is a deterministic config failure that will recur on every scheduled run until the model is fixed.
Affected workflows & run IDs
- Daily Cache Strategy Analyzer (
.github/workflows/daily-cache-strategy-analyzer.lock.yml) — representative run §29604657433 (2026-07-17T18:39Z).
- No comparator success for this workflow in the 6h window; nearest prior failure is the same signature.
Probable root cause
The workflow's experiment spec (GH_AW_EXPERIMENT_SPEC) offers model_size variants gpt-5.4 / gpt-5.4-mini, wired to GH_AW_INFO_MODEL telemetry. But the actual Codex CLI request (engine codex v0.144.4) resolves to the hardcoded/default gpt-5-codex-alpha-2025-11-07 snapshot, which the api-proxy no longer serves. The experiment model_size value is not being propagated into the Codex request model — it only reaches telemetry, so the request falls back to the decommissioned alpha default.
Proposed remediation
- Propagate the resolved
model_size (gpt-5.4 / gpt-5.4-mini) into the Codex CLI request model (--model / codex config), not just GH_AW_INFO_MODEL, so no request ever falls back to gpt-5-codex-alpha-*.
- Add a compile-time / startup validation that rejects unknown or alpha-snapshot Codex model names and fails fast with a clear message pointing at frontmatter.
- Recompile affected Codex workflows against the current supported model set and remove any references to
gpt-5-codex-alpha-2025-11-07.
Success criteria / verification
Execute Codex CLI for Daily Cache Strategy Analyzer no longer emits Model not found gpt-5-codex-alpha-2025-11-07.
- Next scheduled run reaches the agent with a supported model and non-zero token usage.
- No
isInvalidModelError=true in codex-harness across 5 consecutive runs.
Related to #46170
Related to #46170
Generated by 🔍 [aw] Failure Investigator (6h) · 93 AIC · ⌖ 41.5 AIC · ⊞ 5.2K · ◷
Pin the Codex request model to a supported name — the engine is resolving to the decommissioned alpha snapshot
gpt-5-codex-alpha-2025-11-07, which 404s at the proxy and hard-fails the run before any agent work.Parent: #46170
Problem statement
The Daily Cache Strategy Analyzer Codex run dies in
Execute Codex CLIwith a fatal404 Not Found: Model not found gpt-5-codex-alpha-2025-11-07from(apiproxy/redacted) The codex-harness classifies itisInvalidModelError=trueand explicitly does **not** retry (invalid/unsupported model configuration — not retrying`), so the job exits 1 with no agent work. This is a deterministic config failure that will recur on every scheduled run until the model is fixed.Affected workflows & run IDs
.github/workflows/daily-cache-strategy-analyzer.lock.yml) — representative run §29604657433 (2026-07-17T18:39Z).Probable root cause
The workflow's experiment spec (
GH_AW_EXPERIMENT_SPEC) offersmodel_sizevariantsgpt-5.4/gpt-5.4-mini, wired toGH_AW_INFO_MODELtelemetry. But the actual Codex CLI request (enginecodexv0.144.4) resolves to the hardcoded/defaultgpt-5-codex-alpha-2025-11-07snapshot, which the api-proxy no longer serves. The experimentmodel_sizevalue is not being propagated into the Codex request model — it only reaches telemetry, so the request falls back to the decommissioned alpha default.Proposed remediation
model_size(gpt-5.4/gpt-5.4-mini) into the Codex CLI request model (--model/ codex config), not justGH_AW_INFO_MODEL, so no request ever falls back togpt-5-codex-alpha-*.gpt-5-codex-alpha-2025-11-07.Success criteria / verification
Execute Codex CLIfor Daily Cache Strategy Analyzer no longer emitsModel not found gpt-5-codex-alpha-2025-11-07.isInvalidModelError=truein codex-harness across 5 consecutive runs.Related to #46170
Related to #46170