borg-backup-ui
borg-backup-ui copied to clipboard
Scope release category test to the promoted version
Problem
The full source preflight after release 2026.09.12.0054 fails in test_stable_promotion_preserves_complete_categorized_notes. The test counts every Improvements heading in the whole stable manifest, although retained older releases legitimately contain the same category.
The promotion transformation correctly preserves the new release notes and older release blocks. The assertion must be scoped to the promoted version, not the entire manifest.
Scope and validation
- Limit the duplicate-category assertion to the promoted release block.
- Preserve verification of byte-identical release notes, repeated promotion and detection of modified release notes.
- No plugin behavior, release notes or stable artifact changes.
Observed while validating #507: 981 tests passed and this existing assertion failed. This small test correction is required to complete the normal source preflight.