# Cyclic Deployment Dependency

> A defect in which services must deploy in lockstep because each depends on the other's current version.

Record: `architecture:cyclic-deployment-dependency`
Kind: anti-pattern
Layer: [Enforcement Core](https://banes-lab.com/records/layer/enforcement-core.md)
Severity: discouraged
Scope: architecture_evolution
Canonical: https://banes-lab.com/ontology#architecture-cyclic-deployment-dependency

Listed in [Architecture principles](https://banes-lab.com/api/records/architecture.md), after [Circular Dependency](https://banes-lab.com/records/architecture/circular-dependency.md) and before [Synchronous Chain Trap](https://banes-lab.com/records/architecture/synchronous-chain-trap.md).

## Repair

- Refactored by: version_contract, backward_compatible_change, consumer_driven_contract_tests, adapter_phase_migration
- Detected by: coordinated_release_required, consumer_breaks_without_provider_release, mutual_contract_change
- Violated by: Require two or more services or packages to deploy in lockstep because each depends on the other’s current behavior.
- Measured by: releases that required coordinated deployment
- Enforced by: consumer-driven contract tests, independent-deployment checks

## Severity

- [discouraged](https://banes-lab.com/records/vocabulary/severity-discouraged.md)

## Category

- [Anti-patterns](https://banes-lab.com/records/architecture-category/anti-patterns.md)

## Force

- [Architecture evolution](https://banes-lab.com/records/force/architecture-evolution.md)

## Negated by

- [Autonomy](https://banes-lab.com/records/architecture/autonomy.md)

## Linked from

- [Anti-patterns](https://banes-lab.com/ontology/principles/architecture-category-anti-patterns.md)
- [Core Modular Design](https://banes-lab.com/ontology/principles/architecture-category-core-modular-design.md)
- [Core Modular Design](https://banes-lab.com/ontology/lexicon/lexicon-category-core-modular-design.md)
- [Event Messaging Async](https://banes-lab.com/ontology/lexicon/lexicon-category-event-messaging-async.md)
- [Severity levels](https://banes-lab.com/ontology/schema/the-vocabulary-severity.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
