Slack @Codex tasks fail silently before cloud runner starts (no logs), while identical manual Cloud tasks work
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
Description
Every time I mention @Codex in Slack, the cloud task fails to start: no logs appear at all — no repository checkout, no environment setup, no command execution, no agent activity. The environment Codex selects is the correct, already-existing one for the repository.
Starting a task manually in the ChatGPT/Codex Cloud web UI, using the exact same GitHub repository and the exact same environment, works normally every time.
This isolates the failure to the Slack → Codex Cloud task dispatch path, not to the environment, the repository connection, or the Cloud runner itself.
Steps to reproduce
- Have a working Codex Cloud environment connected to a GitHub repository (confirmed working via the Codex web UI).
- Install/connect the Codex Slack app to a workspace and channel.
- In Slack, mention
@Codexwith a task referencing that repository (with or without explicitly namingowner/repoand the environment name). - Observe: the task is created but never produces any logs or output — it silently fails before the runner starts.
- Compare: start the identical task directly from Codex Cloud web using the same repo/environment — it runs successfully.
Expected behavior
A Slack-triggered @Codex task should reach the same cloud runner startup and logging behavior as a task created directly in Codex Cloud, given the same repository and environment.
Actual behavior
The Slack-triggered task fails before the runner ever starts. No checkout, setup script execution, or agent progress logs appear anywhere in the task view. This happens consistently, on every attempt, across multiple retries and threads.
Related reports
This looks similar in shape to #1217 and #20093 (environment/task-dispatch failing on the @codex trigger path while manual Cloud execution works fine), though not identical.
Environment
- Trigger: Slack
@Codexmention (OpenAI's first-party Codex Slack app) - Works fine: manual task creation in Codex Cloud web, same repo + environment
- Fails: every Slack-triggered task, no logs produced
- Repro is consistent, not intermittent
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files, tests, or entry points. Start by tracing the Slack @Codex mention through task creation and compare it with the working Codex Cloud web path, using the task view to check whether startup and logging begin. Done means Slack-triggered tasks reach runner startup and show logs for the same repository and environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100