Skip to main content

Branch

A branch is an isolated copy of a system's architecture state. It lets a team describe proposed changes without affecting the current architecture. SysCraft can compare branches, review changes, and transfer all or selected changes into the main model, making architecture evolution safer and more controllable.

Branch Types​

  • main branch (master) The fallback content to display on prerendering
  • working branches The fallback content to display on prerendering
  • conflict branches The fallback content to display on prerendering
  • test branches The fallback content to display on prerendering

Main Branch​

master represents the current architecture. An authorized person can create a working branch as a copy of it.

Working Branches​

Analysts or developers create working branches to describe proposed changes that will later enter the current architecture through a merge. For example, a team may open a branch while analyzing a feature, then send its architecture changes to architects or DevOps engineers for review and deployment coordination.

Conflict Branches​

Users do not create conflict branches. SysCraft creates one when information loaded through the Integration API differs from the current architecture in master. The branch captures the discrepancies and asks an authorized person to decide which state is correct.

Test Branches​

Test branches describe test-environment architecture. Users may create them and the Integration API may maintain them, but they cannot merge directly into master. Users can bring current-architecture changes into a test branch, or create a working branch from selected test differences for a later merge into master.

Working with Branches​

Create​

A manual working branch can start from master or a test branch. From master, SysCraft creates a complete copy. From a test branch, SysCraft first compares it with master, lets the user select relevant differences, and creates a working branch based on master plus those selected changes. This minimizes unrelated divergence.

Review​

Changes normally require responsible reviewers before merging into master. Reviewers can comment, request rework, or approve the proposal.

History and Parallel Work​

Every branch change records who made it and when, and object provenance remains visible after merging. Teams can work in parallel without interfering with one another, then merge or delete their branches independently.

Delivery Control​

Merging can create implementation tasks, for example for DevOps engineers. Partial and full merges allow architecture changes to enter the current model in stages as they reach production.

Rollback​

A failed experiment can be reverted or its branch deleted without changing master.

Examples​

For an infrastructure reorganization, an architect creates a working branch, updates systems and relationships, obtains domain-owner approval, and merges changes as they are deployed.

For automated production synchronization, an import may create a conflict branch on the first mismatch. Reviewers resolve it into master; later changes in the monitored environment can produce new conflict branches for explicit review.