#4704·dyad

Workflow issues: Codex PR Review auth token failures (recurring)

Author: dyad-assistant[bot]Created Sep 30, 2026Updated Sep 30, 2026
Labelsbugworkflow-healthtriage/needs-human

Workflow Health Report

Period: 2026-09-29 13:06:49Z to 2026-09-30 13:06:49Z (24 hours) Total runs checked: 100 Failures found: 6 actionable (5 SEVERE, 1 MODERATE), 8+ expected (ignored)

Issues Found

1. Codex PR Review - Authentication Token Failures (RECURRING)

  • Workflow: Codex PR Review

  • Severity: SEVERE

  • Impact: All Codex PR reviews are failing with 401 authentication errors

  • Failed runs (past 24h):

  • Error:

    ERROR codex_login::auth::manager: Failed to refresh token status=401 Unauthorized
    detail=TokenErrorDetail { error_code: Some("invalid_refresh_token"),
      error_message: Some("Could not validate your refresh token. Please try signing in again.") }
    
    ERROR codex_models_manager::manager: failed to refresh available models: 
    unexpected status 401 Unauthorized: Could not parse your authentication token.
  • Root cause: The Codex authentication refresh token has expired or been invalidated

  • Note: This is a RECURRENCE of issue #3454 from May 2026. The same authentication problem has returned.

  • Suggested fix:

    1. Re-authenticate Codex CLI in the GitHub Actions environment
    2. Rotate the OPENAI_CODEX_TOKEN or equivalent secret
    3. Investigate why the token keeps expiring (token TTL too short? concurrent usage consuming refresh tokens?)
    4. Consider implementing more robust token refresh logic with proper error handling

2. Claude PR Review - Missing Output File

  • Workflow: Claude PR Review

  • Severity: MODERATE

  • Failed run:

    • Run #36646217297 — 2026-09-29 23:37:46Z (PR fix/app-builder-scoring-accounting)
  • Error: Claude did not write tmp/pr-review/claude-review.md

  • Root cause: Claude Code session completed but did not produce the required output file (similar to Issue Triage problem in #4427)

  • Suggested fix:

    1. Check if this is a one-off transient failure or recurring pattern
    2. Review Claude Code logs for permission denials or other execution issues
    3. Monitor next few runs to see if problem persists

Expected Failures (Ignored)

  • Playwright Report Comment (7 failures): Cascading from merged PRs where CI was skipped — expected behavior
  • PR CI failures on non-main branches (1 failure): Normal PR test failures — contributor responsibility
  • Cancelled runs (4 runs): Due to concurrency groups — expected behavior

Main Branch Health

✅ All CI runs on main branch: SUCCESS ✅ No infrastructure failures ✅ No rate limiting issues ✅ Self-hosted runners: operational (Nightly Runner Cleanup succeeded)


This issue was automatically created by the daily workflow health check.