You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Slack @Codex tasks fail silently before cloud runner starts (no logs), while identical manual Cloud tasks work #42580
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 @Codex with a task referencing that repository (with or without explicitly naming owner/repo and 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.
Not a duplicate of #42098, but likely the same root cause across two different trigger surfaces: that issue is GitHub @codex mentions on an issue, this one is the Slack @Codex app — both show a mention/trigger-created task failing while the identical composer/manual Cloud task succeeds against the same repo and environment. The two differ in failure mode though: #42098 fails after 1-3 min runtime with "An unknown error occurred"; this one produces zero logs at all, suggesting the runner is never even started. Flagging in case they share a dispatch-path bug on OpenAI's side.
Hey guys, I built a workflow using Hermes Agent: App bug report → Slack → Agent → multi-agent workflow → PR.
Hermes worked, but the main issue was context. The initial bug reports didn’t always contain enough product/repo context, so Hermes sometimes made incorrect assumptions and hallucinated the intended behavior, which led to inaccurate fixes.
Then I tried Vercel’s EVE agent based on the Foreman framework. This worked much better from an accuracy perspective — it could analyze the issue, inspect the repo, implement the fix, and review it correctly.
The problem there was cost. Since Foreman uses multiple specialized sub-agents for things like analysis, implementation, and review, they perform a lot of repo/file searches and pass a large amount of context between agents. The huge input/context token usage made each issue cost around $7–8+.
So now I’m exploring Slack → Codex → GitHub as a potentially cheaper approach, ideally using the existing Codex subscription/Cloud environment rather than paying API costs.
Have you tried this kind of workflow? I’d especially love to know about the practical pros/cons, limitations, OAuth/subscription constraints, and any issues you’ve encountered.
I appear to be hitting exactly the same issue with the official Codex Slack app.
I created a fresh Codex Cloud environment (fairsort-backend) connected to a private GitHub repo. Slack successfully recognises the environment and creates the Cloud task, but the task then remains indefinitely at Environment setup / Waiting for output.
I tested the same environment directly in Codex Cloud to isolate Slack from the environment/repo:
Invocation
Environment
Branch
Result
Codex Cloud directly
fairsort-backend
develop
Success (~50s)
Codex Cloud directly (repeat)
fairsort-backend
develop
Success (~50s)
Codex Cloud directly
fairsort-backend
main
Success (~65s)
Slack @Codex
fairsort-backend
main
Hangs indefinitely at Environment setup
Slack @Codex (repeat)
fairsort-backend
main
Hangs indefinitely at Environment setup
The direct and Slack tests use the same Codex Cloud environment and repository. The Slack integration successfully dispatches the task and selects the requested environment, but execution appears not to progress beyond environment setup.
This seems to isolate the problem to the Slack → Codex Cloud task path, rather than the repository, branch, or Cloud environment itself.
Happy to provide task IDs/logs or run further controlled tests if useful.
I appear to be hitting exactly the same issue with the official Codex Slack app.
I created a fresh Codex Cloud environment (fairsort-backend) connected to a private GitHub repo. Slack successfully recognises the environment and creates the Cloud task, but the task then remains indefinitely at Environment setup / Waiting for output.
I tested the same environment directly in Codex Cloud to isolate Slack from the environment/repo:
Invocation Environment Branch Result
Codex Cloud directly fairsort-backenddevelop Success (~50s)
Codex Cloud directly (repeat) fairsort-backenddevelop Success (~50s)
Codex Cloud directly fairsort-backendmain Success (~65s)
Slack @Codexfairsort-backendmain Hangs indefinitely at Environment setup
Slack @Codex (repeat) fairsort-backendmain Hangs indefinitely at Environment setup
The direct and Slack tests use the same Codex Cloud environment and repository. The Slack integration successfully dispatches the task and selects the requested environment, but execution appears not to progress beyond environment setup.
This seems to isolate the problem to the Slack → Codex Cloud task path, rather than the repository, branch, or Cloud environment itself.
Happy to provide task IDs/logs or run further controlled tests if useful.
@mattpj4000 have you found any workaround to fix this issue ?
Activity
github-actions commentedon Sep 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
unveroleone commentedon Sep 3, 2026
Not a duplicate of #42098, but likely the same root cause across two different trigger surfaces: that issue is GitHub
@codexmentions on an issue, this one is the Slack@Codexapp — both show a mention/trigger-created task failing while the identical composer/manual Cloud task succeeds against the same repo and environment. The two differ in failure mode though: #42098 fails after 1-3 min runtime with "An unknown error occurred"; this one produces zero logs at all, suggesting the runner is never even started. Flagging in case they share a dispatch-path bug on OpenAI's side.kuldeepsinh-cmt commentedon Sep 11, 2026
Hey guys, I built a workflow using Hermes Agent: App bug report → Slack → Agent → multi-agent workflow → PR.
Hermes worked, but the main issue was context. The initial bug reports didn’t always contain enough product/repo context, so Hermes sometimes made incorrect assumptions and hallucinated the intended behavior, which led to inaccurate fixes.
Then I tried Vercel’s EVE agent based on the Foreman framework. This worked much better from an accuracy perspective — it could analyze the issue, inspect the repo, implement the fix, and review it correctly.
The problem there was cost. Since Foreman uses multiple specialized sub-agents for things like analysis, implementation, and review, they perform a lot of repo/file searches and pass a large amount of context between agents. The huge input/context token usage made each issue cost around $7–8+.
So now I’m exploring Slack → Codex → GitHub as a potentially cheaper approach, ideally using the existing Codex subscription/Cloud environment rather than paying API costs.
Have you tried this kind of workflow? I’d especially love to know about the practical pros/cons, limitations, OAuth/subscription constraints, and any issues you’ve encountered.
MilaHSU888 commentedon Sep 11, 2026
I’m experiencing a similar issue with the Slack → Codex Cloud integration.
My Codex Cloud environment works correctly when used directly in Codex Cloud, and it can access the connected GitHub repository normally.
However, when using @codex in Slack, it starts a task and then shows:
Wrong environment? Tag me again mentioning the right one.
I’ve already disconnected and reconnected the Slack integration, but the issue persists.
The same task works correctly when run directly in Codex Cloud.
This seems to be related specifically to Slack → Codex Cloud environment selection/routing.
aruo-tomo commentedon Sep 14, 2026
Exactlly same
mattpj4000 commentedon Sep 17, 2026
I appear to be hitting exactly the same issue with the official Codex Slack app.
I created a fresh Codex Cloud environment (
fairsort-backend) connected to a private GitHub repo. Slack successfully recognises the environment and creates the Cloud task, but the task then remains indefinitely at Environment setup / Waiting for output.I tested the same environment directly in Codex Cloud to isolate Slack from the environment/repo:
fairsort-backenddevelopfairsort-backenddevelopfairsort-backendmain@Codexfairsort-backendmain@Codex(repeat)fairsort-backendmainThe direct and Slack tests use the same Codex Cloud environment and repository. The Slack integration successfully dispatches the task and selects the requested environment, but execution appears not to progress beyond environment setup.
This seems to isolate the problem to the Slack → Codex Cloud task path, rather than the repository, branch, or Cloud environment itself.
Happy to provide task IDs/logs or run further controlled tests if useful.
OmPr366 commentedon Sep 30, 2026
@mattpj4000 have you found any workaround to fix this issue ?