Skip to content

Slack @Codex tasks fail silently before cloud runner starts (no logs), while identical manual Cloud tasks work #42580

Open

Description

@unveroleone

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

  1. Have a working Codex Cloud environment connected to a GitHub repository (confirmed working via the Codex web UI).
  2. Install/connect the Codex Slack app to a workspace and channel.
  3. In Slack, mention @Codex with a task referencing that repository (with or without explicitly naming owner/repo and the environment name).
  4. Observe: the task is created but never produces any logs or output — it silently fails before the runner starts.
  5. 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 @Codex mention (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

Activity

  1. added
    bug
    codex-web
    on Sep 3, 2026
  2. github-actions commented on Sep 3, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. unveroleone commented on Sep 3, 2026

    @unveroleone
    Author

    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.

  4. kuldeepsinh-cmt commented on Sep 11, 2026

    @kuldeepsinh-cmt

    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.

  5. MilaHSU888 commented on Sep 11, 2026

    @MilaHSU888

    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.

  6. aruo-tomo commented on Sep 14, 2026

    @aruo-tomo

    Exactlly same

  7. mattpj4000 commented on Sep 17, 2026

    @mattpj4000

    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.

  8. OmPr366 commented on Sep 30, 2026

    @OmPr366

    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.

    @mattpj4000 have you found any workaround to fix this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcodex-web

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions