You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2e1237c
Browse filesBrowse the repository at this point in the historyBrowse files
[releases/28.3@7ec0502] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - c467e06 / Related to AB#539394 (#14263)
## preview
Note that when using the preview version of AL-Go for GitHub, we
recommend you Update your AL-Go system files, as soon as possible when
informed that an update is available.
### Optional draft PR build skipping
The new `skipDraftPullRequests` setting (default `false`) lets PTE and
AppSource repositories skip AL-Go's built-in PR build jobs while a pull
request is draft and build when it is marked ready for review. Custom
jobs remain user-managed and are not modified. Default behavior and
merge-queue builds are unchanged. Run **Update AL-Go System Files**
after changing the setting. See
[skipDraftPullRequests](Scenarios/settings.md#skipDraftPullRequests).
### Separate test execution from RunPipeline (PREVIEW)
A new `useSeparateTestAction` complex setting (default `{ "enabled":
false, "testType": "" }`) runs normal tests (`testFolders`) in a
dedicated `RunTests` action when `enabled` is `true`. The separate
action is used when tests are built and enabled and the build uses one
local container. Normal tests remain in `RunPipeline` for builds with
`additionalCountries`, no published apps, or test-data import callbacks
that would otherwise have no remaining RunPipeline test category. BCPT
and page scripting tests remain in `RunPipeline`.
The action uses AlTool by default, running each app's enabled normal
tests in one batch and connection. It honors `disabledTests.json`
definitions and the optional `useSeparateTestAction.testType` value. The
built-in runner supports `UnitTest`, `IntegrationTest`, and
`Uncategorized`, while custom `RunTestsInBcContainer` overrides may
interpret other values such as `Legacy`. Test results remain available
to AnalyzeTests and are included in the build artifacts when produced.
Failure diagnostics include a refreshed container event log with events
from the separate test run.
> [!NOTE]
> The built-in AlTool execution path does not run `Legacy` test-type
codeunits or tests that require UI or client-callback interaction.
Projects that rely on those should supply a `RunTestsInBcContainer`
override script to execute their tests through BcContainerHelper
instead. Database restore events configured through `restoreDatabases`
are not currently supported by the separate RunTests action; the action
emits a warning and does not perform the restore.
### New `unpublishOldVersions` setting for deployment
The `DeployTo<environment>` setting now supports an opt-in
`unpublishOldVersions` boolean (default `false`). When enabled, AL-Go
unpublishes old, uninstalled versions of the deployed apps from the
environment after a successful deployment, keeping Extension Management
clean. This only applies to PTE deployments (Scope PTE / automation
API), uses the Automation API v2.0 `Microsoft.NAV.unpublish` action, and
is non-fatal (failures are reported as warnings and never fail the
deployment).
### Settings sources in workflow logs
The ReadSettings action now writes a **Settings sources** group to the
workflow log for all resolved settings, including nested properties. It
shows which defaults, files, and variables contributed to each setting
without printing values in the group. Merged arrays and objects can list
multiple sources; computed values retain their earlier source followed
by their derivation. An accepted `overwriteSettings` replacement starts
a new source list. See [Settings sources in workflow
logs](Scenarios/settings.md#settings-sources).
Source tracing is emitted after action-level transformations and
includes pull-request or merge-group overrides and versioning-strategy
build/revision calculations, so attribution reflects the exported
settings.
### Protected settings
The optional `protectedSettings` array lets a settings source retain a
value when a later source attempts to change it. For example,
`{"protectedSettings":["country"],"country":"de"}` keeps `country` at
`de` unless the later source also supplies and protects `country`.
`overwriteSettings` alone does not bypass protection. This also applies
to `customSettings` and to matching `ConditionalSettings`; nested
properties can be protected within their parent object. The ReadSettings
action reports each skipped override in a notice naming the sources, not
the value. See [Protected
settings](Scenarios/settings.md#protectedSettings) for examples and
nested-object behavior.
The meta settings `ConditionalSettings`, `overwriteSettings`, and
`protectedSettings` cannot themselves be protected or overwritten.
Listing any of them in either control is ignored. The
`ConditionalSettings` array still merges into resolved settings and
retains its source history, while conditional blocks continue to be
evaluated per source. Both controls remain supported inside matching
blocks' `settings` objects.
### Preview: Support for GitHub Enterprise Edition with data residency
AL-Go for GitHub is now supported on GitHub Enterprise Edition with data
residency. When you create a GitHub Enterprise with data residency, you
can create a number of organizations underneath this enterprise (much
like we create organizations on github.com). In each of these
organizations, you can create any number of internal or private
repositories, you cannot create public repositories. The URL for your
repository becomes https://enterprise.ghe.com/organization/repository
instead of the normal https://github.com/organization/repository.
> [!NOTE]
> This feature is in preview
### Copilot code review for AL pull requests
AL-Go repositories can now opt in to AI-powered review of AL pull
requests, with configurable models, target branches, excluded authors,
and BCQuality skills and knowledge. See [Enable Copilot code
review](Scenarios/Agents/CopilotCodeReview.md) for setup, organization
policy requirements, and operational details.
### Issues
- Issue 2454 - Fix separate test execution on Windows PowerShell 5.1
when an app contains multiple test codeunits, preserving each codeunit's
ID and test methods.
- Issue 2417 - Fix workspace compilation with versioning strategy 3 to
preserve each app's build number instead of failing with "build ('-1')
must be a non-negative value". Explicit build number zero is now applied
correctly.
- Issue 2438 - Create Release with app version `latest` now sorts
repository artifacts by creation time before selecting the latest
artifact for each project. Previously it relied on the order returned by
the GitHub artifacts API (artifact id, which isn't chronological), so
projects could resolve to artifacts from different, older CI/CD runs and
the release failed with "The build selected for release doesn't contain
all projects". That error now names the mismatching artifact and
commits.
- Issue 2437 - Create Release no longer fails with "No artifacts found
for this project" when the repository contains a test project (a project
with `projectsToTest`). Test projects don't build apps and are now
skipped when determining release artifacts.
- Issue 2398 - Preserve dependency paths containing commas when passing
a single app to Run-AlPipeline. Download Project Dependencies now warns
with the complete path if a resolved dependency file is missing, without
changing the output lists.
- Issue 2390 - AnalyzeTests no longer crashes under strict mode when a
page scripting test suite contains both passed and failed tests,
preserving the failure summary.
- Issue 2387 - Deployment environment discovery now paginates GitHub API
results, so Publish To Environment and CI/CD can discover environments
beyond the first 30 and read their branch policies.
Related to
[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)
Co-authored-by: business-central-bot <business-central-bot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .github/RELEASENOTES.copy.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ AL-Go repositories can now opt in to AI-powered review of AL pull requests, with
44
44
45
45
### Issues
46
46
47
+
- Issue 2454 - Fix separate test execution on Windows PowerShell 5.1 when an app contains multiple test codeunits, preserving each codeunit's ID and test methods.
48
+
47
49
- Issue 2417 - Fix workspace compilation with versioning strategy 3 to preserve each app's build number instead of failing with "build ('-1') must be a non-negative value". Explicit build number zero is now applied correctly.
48
50
49
51
- Issue 2438 - Create Release with app version `latest` now sorts repository artifacts by creation time before selecting the latest artifact for each project. Previously it relied on the order returned by the GitHub artifacts API (artifact id, which isn't chronological), so projects could resolve to artifacts from different, older CI/CD runs and the release failed with "The build selected for release doesn't contain all projects". That error now names the mismatching artifact and commits.
0 commit comments