Skip to content

[releases/27.1@a8aa339] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - c467e06 / Related to AB#539394 - #14262

Merged
business-central-bot[bot] merged 1 commit into
releases/27.1from
update-al-go-system-files/releases/27.1/261118123346
Nov 19, 2026
Merged

business-central-bot[bot] merged 1 commit into
releases/27.1from
update-al-go-system-files/releases/27.1/261118123346

Conversation

@business-central-bot

@business-central-bot business-central-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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.

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.

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 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 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

…o-PTE@preview - c467e06 / Related to AB#539394
@business-central-bot
business-central-bot Bot requested a review from a team November 18, 2026 12:33
@business-central-bot business-central-bot Bot added the Automation Pull request or issue created by automation label Nov 18, 2026
@business-central-bot
business-central-bot Bot enabled auto-merge (squash) November 18, 2026 12:33
@github-actions github-actions Bot added Build: Automation Workflows and other setup in .github folder Build: scripts & configs Build scripts and configuration files Ownership: Needs Review Ownership is Other, low confidence, or needs manual correction Team: Other GitHub request for other area than SCM, Finance or Integration labels Nov 18, 2026
@business-central-bot
business-central-bot Bot merged commit 20980ab into releases/27.1 Nov 19, 2026
27 checks passed
@business-central-bot
business-central-bot Bot deleted the update-al-go-system-files/releases/27.1/261118123346 branch November 19, 2026 08:46

This branch was previously deployed

1 inactive deployment
triage — 01a7c79e Deployed Nov 18, 2026 by business-central-bot[bot] via Classify team ownership #11393
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Automation Pull request or issue created by automation Build: Automation Workflows and other setup in .github folder Build: scripts & configs Build scripts and configuration files Ownership: Needs Review Ownership is Other, low confidence, or needs manual correction Team: Other GitHub request for other area than SCM, Finance or Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants