[Bug]: Project settings hide actions when two checkouts on one environment differ#29447

opened10d agobyEEmanuelMedinaAraujo

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Clone one repository twice on the same environment and add both clones as projects, so they group into one project.
  2. Give the clones different actions, for example 3 in one and 2 in the other.
  3. Open Settings > Projects, select the project, and select that environment.
  4. Scroll to Actions.

Expected behavior

You can see and edit each checkout's actions.

Actual behavior

No actions are listed. The section shows "Different actions across environments" and says to choose one environment, but one is already selected and it can't separate the two checkouts. The scope line has no checkout choice, and the rows under Checkouts only offer Remove.

While in this state, Add action adds to both checkouts and the reset arrow resets both. New sessions still list the actions, because a thread only reads its own checkout.

Impact

Minor bug or occasional failure

Version or commit

Reproduced at edc37c96c8. First reported from an installed build whose version wasn't recorded.

Environment

Reproduced on Linux with an isolated dev server in a browser. First seen in a project on a separate machine named DE21109NB, where I inferred two checkouts on one environment from the screenshot.

Logs or stack traces

None. Nothing fails; the list is hidden on purpose whenever the selected checkouts differ.

Screenshots, recordings, or supporting files

Settings says to choose an environment while one is already selected, with no action list

Workaround

None in Settings. The checkout URL parameter selects one checkout, but nothing in the UI sets it. Removing a checkout also deletes its threads, so it isn't a safe way out.

Written by Opus 5.5 in T3 Code (Claude Code harness) on behalf of Emanuel.