Workspace Compilation Follow-up - Add support for BCPT and Upgrade Tests#2186
Open
aholstrup1 wants to merge 7 commits intomainfrom
Open
Workspace Compilation Follow-up - Add support for BCPT and Upgrade Tests#2186aholstrup1 wants to merge 7 commits intomainfrom
aholstrup1 wants to merge 7 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds missing pieces to workspace compilation so upgrade testing and AppSourceCop baselines can use previous-release apps, and extends workspace compilation to BCPT test folders.
Changes:
- Introduces a new
DownloadPreviousReleasecomposite action and wires it into project build templates. - Passes
previousAppsPaththroughCompileAppsandRunPipeline, and updates logic to consume previously-downloaded apps for upgrade scenarios. - Adds
New-AppSourceCopJsongeneration and BCPT compilation support, plus updates docs and tests.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| Tests/DownloadPreviousRelease.Action.Test.ps1 | Adds a compile/yaml-contract test for the new action |
| Tests/DetermineProjectsToBuild.Test.ps1 | Minor test adjustment in project build determination |
| Tests/CompileFromWorkspace.Test.ps1 | Adds unit tests for New-AppSourceCopJson behavior |
| Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml | Downloads previous release and forwards previousAppsPath |
| Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml | Downloads previous release and forwards previousAppsPath |
| Scenarios/settings.md | Updates workspace compilation documentation/requirements |
| Actions/RunPipeline/action.yaml | Adds previousAppsPath input and forwards it to script |
| Actions/RunPipeline/RunPipeline.ps1 | Consumes previousAppsPath for upgrade testing; adjusts workspace compilation folder handling |
| Actions/DownloadPreviousRelease/action.yaml | New composite action definition |
| Actions/DownloadPreviousRelease/README.md | New action documentation |
| Actions/DownloadPreviousRelease/DownloadPreviousRelease.ps1 | Implements previous release discovery/download and outputs path |
| Actions/CompileApps/action.yaml | Adds previousAppsPath input and forwards it to script |
| Actions/CompileApps/Compile.ps1 | Uses previous apps for AppSourceCop baseline and compiles BCPT folders |
| Actions/.Modules/CompileFromWorkspace.psm1 | Adds New-AppSourceCopJson and exports it |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
This PR addresses a few follow-up items for supporting workspace compilation. Specifically
Related to AB#620485 and AB#620310
✅ Checklist