-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels
bugSomething isn't workingSomething isn't workingcodex-webIssues related to Codex WebIssues related to Codex Web
Description
What issue are you seeing?
When Codex is asked to expand or analyze a GitHub repository that has been deleted, the request does not fail gracefully. Instead, Codex enters an infinite or unbounded processing loop and remains in a "processing" state for an extended period of time (observed >1 hour).
This behavior is reproducible and appears to affect both Codex Web (via ChatGPT UI) and Codex CLI, suggesting a shared backend issue rather than a UI-specific problem.
What steps can reproduce the bug?
- Create a new repository on GitHub.
- Connect the repository to Codex (e.g., via ChatGPT Codex Web UI or Codex CLI).
- Delete the repository from GitHub.
- Submit a Codex request to expand or analyze code from the deleted repository using its original GitHub URL.
- Observe the processing behavior.
What is the expected behavior?
- The request does not terminate.
- Codex remains in a processing state indefinitely.
- No explicit error is returned to the user.
- The task continues running for more than 1 hour.
Additional information
Expected Behavior
- GitHub
404/410responses for deleted repositories should be treated as terminal errors. - The task should fail fast with a clear and actionable error message.
- Retry attempts should be bounded and respect a global execution timeout.
- The user should be able to recover without restarting the session.
Impact
- Poor user experience due to lack of feedback and stuck UI state.
- Unnecessary frontend and backend resource consumption.
- Potential infrastructure load caused by unbounded retry behavior.
Environment
- Codex Web (ChatGPT-hosted, browser-based)
- Codex CLI
- GitHub repository URL input
Additional Notes
- The issue reproduces consistently across different Codex interfaces.
- This suggests missing handling of terminal states for permanently unavailable repositories.
Suggested Fix (Optional)
- Treat GitHub
404and410responses as non-retriable errors. - Add an upper bound on retry attempts with exponential backoff.
- Enforce a hard timeout for repository resolution and analysis stages.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcodex-webIssues related to Codex WebIssues related to Codex Web