Skip to content
CodeBook

Release units across repositories

Record prerequisite merge order and recover when several repositories ship together and one change fails.

Open Release units in a story's Development panel or in a work order. Add the changes that ship together from repositories attached to the factory. A member can point to a linked pull request or to a story so CodeBook can find the pull request in that repository.

Set the merge order

For example, add an API change and a client change, then make the client wait for the API. CodeBook refuses a cycle and shows its path. When CodeBook attempts an automatic merge, a dependent member waits while its prerequisites still need to merge. A skipped prerequisite requires an explicit reason.

Each repository merges on its own. A person can merge directly at the repository host outside the release unit's hold. Check which members have merged before deploying a change that depends on them.

Recover a partial release

The unit records each repository, pull request and known merge commit. If a change fails before anything has merged, the unit is Blocked. If part of the unit has merged and another change fails or is reverted, the unit can be Partial.

Read the recovery document for the current facts, the planned order and any deployment constraints. Choose the action that fits the failure.

  • Fix forward. Repair the failed change, and select its replacement pull request if needed.
  • Review a revert. Use the story's reviewed revert to prepare a draft pull request for review.
  • Skip a member. Record why it is safe to continue without that change.

The recovery document gives you the sequence and options. A person still chooses and reviews the recovery.