Files
computer-playbook/cli
kevinveenbirkenbachandClaude Opus 4.7 71cab45c2d feat(matrix-deploy): full purge + full redeploy between rounds
Cleanup logic between rounds is now full-include rather than
variant-changed-only:

- handler() tracks previous_round_include instead of
  previous_round_variants. Between rounds the wrapper purges every
  app from the previous round's include set, so round R boots from
  an empty host.
- Every round deploys its full round_include (round 0 baseline AND
  R>0). The "skip variant-unchanged apps" path is gone, because
  variants that drop deps left cross-round residue under the
  previous selective-purge model.
- _purge_app_entities docstring updated; the matrix-deploy comment
  in handler() reflects the new semantics.

test_matrix_deploy.py:
- test_round_one_only_deploys_apps_with_real_variant_one renamed
  test_every_round_redeploys_full_include_after_purge.
- test_three_round_plan_only_re_deploys_apps_with_real_variant
  renamed test_three_round_plan_redeploys_full_include_each_round.
- two_round + full_cycle purge assertions updated to expect the
  full previous-round include.
- New test_round_transition_purges_previous_include_even_when_dep_falls_out
  pins the fall-out case (round 0 = nextcloud + coturn, round 1 =
  nextcloud only -> purge MUST include coturn).

variants.md updated to match (points 4 + 5 rewritten, reference
table aligned). documentation.md compliance pass: dropped em-dash
clause separator and the historical optimisation reference on
point 4, lifted reference-table entry into the new wording.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 18:41:05 +02:00
..