Skip to content

[codex] Fix env-specific build state display#429

Merged
JamesSprow merged 2 commits into
mainfrom
codex/fix-env-specific-build-state
May 22, 2026
Merged

[codex] Fix env-specific build state display#429
JamesSprow merged 2 commits into
mainfrom
codex/fix-env-specific-build-state

Conversation

@JamesSprow

Copy link
Copy Markdown
Collaborator

Summary

Fix app state rendering so the selected environment drives the UI phase shown in the graph node, app drawer, and deploy logs tab.

Root cause

The UI was forcing Building from the app-level aggregate phase, so a build running in one environment could make a different selected environment appear to still be building.

Changes

  • prefer status.environments[name].phase for the selected environment in the app node and drawer
  • make drawer auto-switching and optimistic state clearing follow the selected environment phase
  • make deploy logs show build/failure placeholders based on the selected environment state

Validation

  • npm run check in ui

@JamesSprow
JamesSprow merged commit b32a706 into main May 22, 2026
11 of 12 checks passed
@JamesSprow
JamesSprow deleted the codex/fix-env-specific-build-state branch May 22, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant