Skip to main content
Environments form a tree rooted at master. Each environment has exactly one parent (the source it was branched from) and can have any number of children. The tree visualization is the right starting point for planning merges — it shows lineage at a glance and tells you which environments are eligible targets for a given merge. Environment tree structure and status lifecycle

What each node shows

Each node in the tree displays the metadata recorded when the environment was created: For the full status lifecycle, see Overview → Status lifecycle.

Tree shape

  • The tree is rooted at master — every project starts there and master can never be deleted.
  • Each environment has exactly one parent.
  • Each environment can have zero or more children.
  • Branching is the only way to add a node. Merging schema between environments doesn’t change the tree shape.

When the tree matters

The tree shape isn’t decorative — it informs three operations:

Reading the tree via GraphQL

Two queries cover the surface:

environmentTree — nested structure

Returns the full tree with children nested under parents. Easiest to render directly in a UI.

projectEnvironments — flat list

Returns every environment as a flat array. Useful for syncing the list into your own UI or for programmatic operations that don’t need nesting.

FAQ

No. Each environment has exactly one parent — the source it was branched from. The tree is strict (no merging of branches into a DAG). Schema changes propagate via merge, which doesn’t change the tree shape.
You can’t. An environment with active children can’t be deleted. Delete or archive every child first, then the parent. See Deleting.
Unchanged. B’s parent is still A — the tree records lineage at branch time, not merge history. To see merge activity, look at History.
Names are stable identifiers. Renaming would invalidate every URL, integration credential, and migration record that references the old name. To “rename”, branch a fresh environment with the new name and merge changes into it.
Yes — open the environment switcher and choose the tree view. The same data is available via the GraphQL queries above for programmatic use.