Skip to content

feat: modernization phase 5 PR1#52

Merged
dsmurfin merged 2 commits into
modernization-planfrom
modernization-phase5-pr1
Jul 19, 2026
Merged

feat: modernization phase 5 PR1#52
dsmurfin merged 2 commits into
modernization-planfrom
modernization-phase5-pr1

Conversation

@dsmurfin

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings July 19, 2026 10:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR kicks off Modernization Phase 5 by tightening sACNMerger correctness to match ETC behavior and establishing a dedicated merger test suite to lock in parity regressions going forward.

Changes:

  • Add a new characterization/regression suite for sACNMerger, covering order-independence and PAP/universe-priority edge cases (incl. SACN-403/364 scenarios).
  • Fix updatePAPForSource trailing-slot clearing and revert-state transitions by deriving the correct “clear extent” when the source was previously reverted to universe priority.
  • Add Phase 5 planning/traceability documentation describing the staged PR sequence and verification approach.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
Tests/sACNKitTests/MergerTests.swift Adds merger characterization + regression tests for order-independence and PAP/universe-priority corner cases.
Sources/sACNKit/Merger/sACNMerger.swift Adjusts PAP update logic to correctly clear trailing slots after revert-to-universe-priority transitions; exposes internal read access needed by tests/receiver surface.
docs/modernization/phase-5.md Introduces Phase 5 plan and rationale, including ETC parity references and staged PR breakdown.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/modernization/phase-5.md Outdated
Comment thread docs/modernization/phase-5.md Outdated
Comment thread docs/modernization/phase-5.md Outdated
Comment thread docs/modernization/phase-5.md Outdated
Comment thread Sources/sACNKit/Merger/sACNMerger.swift Outdated
@dsmurfin
dsmurfin merged commit 6e6d268 into modernization-plan Jul 19, 2026
7 checks passed
@dsmurfin
dsmurfin deleted the modernization-phase5-pr1 branch July 19, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants