Repository navigation
De-duplicate library app dependencies when delivering app source apps. - #2465
Open
spetersenms wants to merge 3 commits into
Open
spetersenms wants to merge 3 commits into
spetersenms wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the AppSource library deduplication change.
No open issues 🎉
What changed in this PR
Addresses #2405 by deduplicating library apps before AppSource submission, preventing duplicate app IDs from causing publishing failures.
Changes:
- Keeps the highest version per library app ID, retaining the first package for equal versions and excluding the main app’s ID.
- Applies filtering before submission without changing dependency build or release artifacts.
- Adds unit tests and documents the selection behavior.
| File | Description |
|---|---|
| Tests/Deliver.Module.Test.ps1 | Tests version selection, duplicate handling, ordering, exclusions, and metadata errors. |
| Scenarios/PublishToAppSource.md | Documents library selection rules and unchanged dependency artifacts. |
| RELEASENOTES.md | Records the AppSource publishing fix for #2405. |
| Actions/Deliver/Deliver.psm1 | Adds and exports the library app deduplication helper. |
| Actions/Deliver/Deliver.ps1 | Validates the main package and filters libraries before submission. |
Review effort: Balanced
spetersenms
commented
Nov 24, 2026
|
|
||
| ### Issues | ||
|
|
||
| - Issue 2405 - AppSource publishing now submits only the highest available version of each library app by app ID across project apps and included dependencies. Duplicate versions and packages with the main app's ID are excluded from library submissions. |
Contributor
Author
There was a problem hiding this comment.
A new version of AL-Go (v10.1) has been released.
Please move your release notes changes to above the ## v10.1 section in the RELEASENOTES.md file.
This ensures your changes are included in the next release rather than being listed under an already-released version.
Co-authored-by: Copilot App <[email protected]>
Maria Zhelezova (mazhelez)
approved these changes
Nov 27, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❔What, Why & How
If an app A has a dependency to X with version 1.1 and app B has a dependency to A and to X with version 1.2, then the dependencies zip will include X twice. X should be de-duplicated such that only the latest version remains.
Related to issue: #2405
✅ Checklist