Skip to content

Deduplicate container processing - #1101

Merged
dtivel merged 1 commit into
mainfrom
dtivel/deduplicate-container-processing
Oct 28, 2026
Merged

dtivel merged 1 commit into
mainfrom
dtivel/deduplicate-container-processing

Conversation

@dtivel

@dtivel dtivel commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Extract the shared container open, enumerate, sign, save, and dispose flow.
  • Preserve the existing ZIP/NuGet, APPX, and APPX bundle policies.

Testing

  • dotnet test test\Sign.Core.Test\Sign.Core.Test.csproj

685 tests passed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@dtivel
dtivel requested a review from a team as a code owner October 27, 2026 23:46
@dtivel
dtivel requested review from kartheekp-ms and a balanced review from Copilot October 27, 2026 23:46

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.

🟢 Approval recommended

No active review issues were identified for the shared container-processing lifecycle refactor.

No open issues 🎉

What changed in this PR

Refactors AggregatingSigner to share the container-processing lifecycle while preserving ZIP/NuGet, APPX, and APPX bundle policies.

Changes:

  • Extracts opening, file enumeration, recursive signing, saving, and disposal into ProcessContainersAsync.
  • Keeps format-specific file selection and save behavior, including saving APPX containers when no matching files are found.
File Description
src/​Sign.Core/​DataFormatSigners/​AggregatingSigner.cs Replaces duplicated container-processing flows with a shared helper.

Review effort: Balanced

@dtivel
dtivel merged commit c01cc46 into main Oct 28, 2026
4 checks passed
@dtivel
dtivel deleted the dtivel/deduplicate-container-processing branch October 28, 2026 15:37
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.

3 participants