v10.12026-11-24
AL-Go 本次更新围绕设置与测试执行展开。新增 skipDraftPullRequests 开关,PTE 与 AppSource 仓库可让草稿 PR 跳过内置构建、转为 ready 后再跑,自定义任务不受影响,改完需执行 Update AL-Go System Files。测试执行迎来预览功能 useSeparateTestAction,开启后常规测试移入独立的 RunTests 动作,走 AlTool 批量执行,结果照常供 AnalyzeTests 分析;但 Legacy 类型、需 UI 交互的测试以及 restoreDatabases 暂不支持,需自行提供 RunTestsInBcContainer 覆盖脚本。部署侧新增 unpublishOldVersions,可在 PTE 部署成功后自动下架旧版本扩展,失败仅告警不阻断。工作流日志新增 Settings sources 分组,逐项展示每个设置的来源与合并过程,便于排查配置冲突;配套的 protectedSettings 数组则允许锁定关键设置,防止被后续来源覆盖。
v10.02026-10-09
AL-Go 本次更新在遥测、依赖管理与部署上都有动作。遥测方面,新增 RepositoryIsFork 与 GitHubHostingType 两个维度,可区分仓库是否为 fork、运行在 GitHub.com 还是企业版环境,但不涉及订阅计划与服务器主机名;Action 遥测也补上了结构化的 ActionName 和 ActionConclusion,消费方无需再解析日志文本就能按成功/失败分组统计。配套的 Azure Data Explorer 仪表盘同步扩展,新增工作流可靠性、运行分析、测试质量、时长与运行器效率等视图,并支持按仓库、分支、工作流类型筛选。
依赖方面,NuGet 源现在允许引入预发布版应用包,在 nuGetFeedSelectMode 后追加 -allowPrerelease 即可,例如 LatestMatching-allowPrerelease。部署新增 unpublishOldVersions 开关(默认关闭),开启后会在 PTE 部署成功后自动卸载环境中残留的旧版本扩展,失败仅告警、不影响部署结果。
另外,Create Release 的系统文件更新检查改为独立并行任务,不再拖慢发布流程;localDevEnv 会把 cacheImageName 传给 Run-AlPipeline 以复用容器镜像,想保持旧行为可在 .AL-Go/localDevEnv.settings.json 中将其设为空字符串。
修复了一批问题:工作流收尾遥测失败不再连累整体成功状态;仅模板 SHA 变化时不再产生无谓的提交与 PR(#2358);CI/CD 基线发现增加重试与诊断日志(#2370);修复设备登录初始化(#2113)、含变音符目录导致的增量构建检查失败(#2375)、分支名含通配符时依赖产物静默回退(#2381),以及 fork 场景下自托管 AL-Go 的 URL 错误(#2389)。
v9.22026-08-25
AL-Go 本次更新带来多项改进。新增 doNotPerformUpgrade 设置,可跳过升级阶段而保留流水线其余环节。工作区编译现在兼容框架依赖的 AL Language 扩展,能正确找到 altool、下载 customCodeCops 并解析 aldoc,不再报「找不到 AL 工具」。failOn: newWarning 在工作区编译下也生效了,同时改进了警告比对逻辑,避免因构建版本差异误报新警告。
修复方面:PS 5.1 下大体积设置 JSON 校验报错、分支名含 ] 时依赖应用无法解析、依赖产物下载增加重试、测试结果分析器在无堆栈时报错、AlDoc 未使用 --packagecache、应用名含下划线导致参考文档生成失败、enableCodeAnalyzersOnTestApps: false 未同时禁用自定义分析器、测试应用缺少 AppSourceCop.json、NuGet 发布失败、增量构建重复发布 Default 模式应用等问题均已解决。此外,SARIF 输出会对路径中的空格做 URI 编码,修复代码扫描上传警告。
v9.12026-07-07
Resilient Pull Request Status Check for large builds
The Pull Request Status Check action no longer fails on builds with more than one page of jobs (more than 100 jobs). The jobs API call now uses --slurp so multi-page responses are parsed as a single JSON array (previously gh api --paginate | ConvertFrom-Json failed with "Invalid JSON primitive" when more than one page was returned). The call is also retried, and requests a smaller page size, to tolerate the intermittent HTTP 502 responses that the GitHub jobs endpoint returns for large builds.
Use artifact manifest to pick .NET runtime for assembly probing
When compiling apps with the workspace compiler, AL-Go now reads the dotNetVersion from the BC artifact's manifest.json (copied into the compiler folder by BcContainerHelper) and selects an installed .NET runtime whose major version matches. This avoids version drift between the build agent's highest installed runtime and the platform the artifact was built against. If the manifest does not declare a dotNetVersion, or no installed runtime matches the required major, versioned .NET assembly probing paths are omitted (a warning is logged in the latter case).
New compiler folder hooks
Two new hooks are available for customizing the compiler folder creation process when workspace compilation is enabled:
- PreNewBcCompilerFolder.ps1 - Runs before New-BcCompilerFolder is called. Receives a [hashtable] $parameters argument containing the parameters that will be passed to New-BcCompilerFolder. The script can modify the hashtable in-place to customize the compiler folder creation (e.g., add a platformArtifactUrl to use a specific platform version).
- PostNewBcCompilerFolder.ps1 - Runs after the compiler folder is created. Receives [hashtable] $parameters and [string] $compilerFolder arguments.
Place these scripts in your project's .AL-Go folder to use them.
New AL-Go hooks (experimental)
AL-Go for GitHub now supports a new generic hook mechanism that is independent of BcContainerHelper. A new RunHook action invokes scripts placed in the project's .AL-Go folder at well-known extension points in the workflows. The first such extension point is BuildInitialize, which runs in the build workflow immediately after Read settings (so AL-Go settings are available as environment variables).
To use it, add a .AL-Go/BuildInitialize.ps1 script that accepts a [Hashtable] $parameters argument. If the script does not exist, the step is a silent no-op.
The hook mechanism is intended to gradually replace the BcContainerHelper-based Run-AlPipeline script overrides as AL-Go moves away from Run-AlPipeline. See Customizing AL-Go for GitHub for details and the list of supported hook names.
> Experimental: the set of supported hook names, the parameters passed to hook scripts, the location and timing of hook invocations, and the names of the underlying action and helpers may all change in future versions. Anything you build on top of this first iteration may break in a later update.
Conditional settings now support workflow trigger events
ConditionalSettings now supports a triggers condition, allowing you to apply settings based on GITHUBEVENTNAME values such as push, pullrequest, schedule, and workflowdispatch.
Example:
``json
"ConditionalSettings": [
{
"triggers": ["schedule", "workflow_dispatch"],
"settings": {
"additionalCountries": ["de", "us"]
}
}
]
`
Support for workspace compilation (Continued)
- Added support for upgrade tests and using previously released artifacts as baselines for appsourcecop.json
- Added support for BCPT app compilation with workspace compilation
- Added support for incremental builds (modifiedApps mode) with workspace compilation. Unmodified apps are downloaded from the baseline workflow run and excluded from workspace compilation, matching the behavior of the container-based path.
Optimized dependency artifact downloads for multi-project repositories
The DownloadProjectDependencies action now downloads only artifacts from dependency projects instead of all workflow artifacts. For repositories with many AL-Go projects, this reduces build runner bandwidth and speeds up the dependency download step.
Issues
- Issue 2276 - Mitigate intermittent artifact action failures caused by the runner Node Maglev issue by setting ACTIONSRUNNERDISABLENODEMAGLEV on generated artifact download and upload steps.
- Issue 2277 Auto-exclude the copilot GitHub environment from CI/CD deployments. When the GitHub Copilot coding agent is enabled on a repository, GitHub auto-creates an environment named copilot. AL-Go now treats it the same way as github-pages and never attempts to deploy to it.
- Issue 2236 - GetDependencies buildMode prefix leaks across dependency iterations, causing incorrect artifact mask names when multiple appDependencyProbingPaths entries use different build modes
- Incremental builds (modifiedApps mode) now correctly identify unmodified apps for projects whose appFolders reference paths outside the project directory (e.g. using ../)
- Issue 2204 - Workspace compilation ignores vsixFile setting
- Issue 2211 - Cannot create a release if a project contains only test apps
- Issue 2214 - Workspace compilation not working with external dependencies
- Issue 2235 - Workspace compilation: only the first customCodeCops entry resolved when multiple relative paths were configured. Relative customCodeCops paths are now resolved against the project folder before being passed to the compiler.
- Issue 2265 - Creating a Performance Test App fails on Linux due to case-sensitive path lookup for the Performance Toolkit sample app
- Issue 2284 - GitHub App authentication fails with 401 (Unauthorized) on runners with minor clock drift. The JWT iat` claim is now backdated by 60 seconds instead of 10, as recommended by GitHub, to tolerate runners whose clock runs slightly ahead of GitHub.
v9.02026-04-09
Needs Context in Build job moved from environment variable to file
NeedsContext is currently available as an environment variable in the build step of AL-Go. In some cases on repos with a large amount of projects, it's possible for this variable to exceed the max size GitHub allows for such variables. To work around this issue, we now place the contents of NeedsContext in a json file, where NeedsContext is the path to that file.
If you have any custom processes that uses NeedsContext, those needs to be updated to now first read the contents of the json file. The structure of the json is identical to what was previously in the variable, so only extra step is to read the file.
Added support for workspace compilation
With v28 of Business Central, the ALTool now also provides the ability to compile workspaces of apps. This has the added advantage that the ALTool can compute the dependency graph for the apps in the workspace and compile apps in parallel (if possible). For AL-Go projects with large amounts of apps that can save a lot of time. If you want to try this out you can enable it via the following setting
``json
"workspaceCompilation": {
"enabled": true
}
`
By default apps are compiled sequentially but this can be changed via the parallelism property. This allows you to configure the maximum amount of parallel compilation processes. Set to 0 or -1 to use all available processors.
`json
"workspaceCompilation": {
"enabled": true,
"parallelism": 4
}
`
Test Projects — split builds and tests for faster feedback
AL-Go now supports test projects: a new project type that separates test execution from compilation. A test project does not build any apps itself — instead it depends on one or more regular projects, installs the apps they produce, and runs tests against them.
This lets you re-run tests without waiting for a full recompilation, and makes it easy to organize large repositories where builds and test suites have different scopes or cadences.
Getting started
Add a projectsToTest setting to the project-level .AL-Go/settings.json of an empty project (no appFolders or testFolders):
`json
{
"projectsToTest": ["build/projects/MyProject"]
}
`
AL-Go will automatically:
- Resolve the dependency so the test project always builds after its target project(s).
- Install the Test Runner, Test Framework, and Test Libraries into the container.
- Run all tests from the installed test apps.
Key rules
- A test project must not contain buildable code (no appFolders, testFolders, or bcptTestFolders). AL-Go will fail with a clear error if it detects both projectsToTest and buildable folders.
- A test project cannot depend on another test project.
- You can target multiple projects: "projectsToTest": ["build/projects/ProjectA", "build/projects/ProjectB"].
- Use full project paths as they appear in the repository.
Improving error detection and build reliability when downloading project dependencies
The DownloadProjectDependencies action now downloads app files from URLs specified in the installApps and installTestApps settings upfront, rather than validating URLs at build time. This change provides:
- Earlier detection of inaccessible or misconfigured URLs
- Clearer error messages when secrets are missing or URLs are invalid
- Warnings for potential issues like duplicate filenames
Improve overall performance by postponing projects with no dependants
The time it takes to build projects can vary significantly depending on factors such as whether you are using Linux or Windows, Containers or CompilerFolders, and whether apps are being published or tests are being run.
By default, projects are built according to their dependency order. As soon as all dependencies for a project are satisfied, the project is added to the next layer of jobs.
The new setting postponeProjectInBuildOrder allows you to delay long running jobs (f.ex. test runs) with no dependants until the final layer of the build order. This can improve overall build performance by preventing subsequent layers from waiting on projects that take longer to complete but are not required for further dependencies.
Issues
- Attempt to start docker service in case it is not running
- NextMajor (v28) fails when downloading dependencies from NuGet-feed
- Issue 2084 Multiple artifacts failure if you re-run failed jobs after flaky tests
- Issue 2085 Projects that doesn't contain both Apps and TestApps are wrongly seen as not built.
- Issue 2086 Postpone jobs, which doesn't have any dependents to the end of the build order.
- Rework input handling of workflow 'Update AL-Go System Files' for trigger 'workflow_call'
New Settings
- postponeProjectInBuildOrder` is a new project setting, which will (if set to true) cause the project to be postponed until the last build job when possible. If set on test projects, then all tests can be deferred until all builds have succeeded.
v8.32026-02-25
Issues
- Issue 2107 Publish a specific build mode to an environment
- Issue 1915 CICD fails on releases/26.x branch - '26.x' cannot be recognized as a semantic version string
The default pull request trigger is changing
AL-Go for GitHub is transitioning from the pullrequesttarget trigger to the more secure pullrequest trigger. This is a step we are taking to make AL-Go for GitHub more secure by default. If you are used to working from branches within the repository you may not notice any difference. If you get pull requests from forks, those pull requests will no longer be able to access secrets. If that is blocking for your repository, you will need to update your settings to use the pullrequest_target trigger.
How do I revert back to pullrequesttarget?
Add the following setting to one of your settings files and run the Update AL-Go System Files workflow:
``json
"pullRequestTrigger": "pullrequesttarget"
``
v8.22026-02-05
Issues
- Issue 2095 DeliverToAppSource.ProductId needs to be specified (Library app)
- Issue 2082 Sign action no longer fails when repository is empty or no artifacts are generated
- Issue 2078 Workflows run since January 14th '26 have space before CI/CD removed
- Issue 2070 Support public GitHub Packages feeds without requiring a Personal Access Token (PAT)
- Issue 2004 PublishToAppSource workflow publishes multi-app repos in alphabetical order instead of dependency order
- Issue 2045 DateTime parsing fails on non-US locale runners in WorkflowPostProcess.ps1
- Issue 2055 When using versioningStrategy 3+16, you get an error when building
- Issue 2094 PR into release branch gets wrong previous release
- AL-Go repositories with large amounts of projects may run into issues with too large environment variables
- Discussion 1855 Add trigger 'workflow_call' to workflow 'Update AL-Go System Files' for reusability
- Issue 2050 Publish To Environment creates mistyped environment
Publish To Environment no longer creates unknown environments by default
Previously, when running the "Publish To Environment" workflow with an environment name that doesn't exist in GitHub or AL-Go settings, the workflow would automatically create a new GitHub environment. This could lead to problems when environment names were mistyped, as the bogus environment would then cause subsequent CI/CD workflows to fail.
Now, the workflow will fail with a clear error message if the specified environment doesn't exist. If you intentionally want to deploy to a new environment that hasn't been configured yet, you can check the Create environment if it does not exist checkbox when running the workflow.
Set default values for workflow inputs
The workflowDefaultInputs setting now also applies to workflowcall inputs when an input with the same name exists for workflowdispatch.
This ensures consistent default values across both manual workflow runs and reusable workflow calls.
Read more at workflowDefaultInputs.
Merge queue support
AL-Go now supports GitHub's merge queue feature out of the box! The merge_group trigger has been added to the Pull Request Build workflow, enabling seamless integration with merge queues. When you have the merge queue feature enabled in your repo, multiple PRs will automatically be validated together. Read more about merge queues here.
> [!WARNING]
> If you rely on a custom workflow for merge queue validation, you may need to adjust your setup to avoid duplicate builds.
AL-Go Telemetry updates
AL-Go telemetry now includes test results so you can more easily see how many AL tests, Page Scripting tests and BCPT tests ran in your workflows across all your repositories. Documentation for this can be found on this article on enabling telemetry.
v8.12025-12-03
Custom AL-Go files
AL-Go for GitHub now supports updating files from your custom templates via the new customALGoFiles setting. Read more at customALGoFiles.
Set default values for workflow inputs
A new setting workflowDefaultInputs allows you to configure default values for workflow_dispatch inputs. This makes it easier to run workflows manually with consistent settings across your team.
When you add this setting to your AL-Go settings file and run the "Update AL-Go System Files" workflow, the default values will be automatically applied to the workflow YAML files in your repository.
The default values must match the input types (boolean, number, string, or choice) defined in the workflow YAML files.
Example configuration:
``json
{
"workflowDefaultInputs": [
{ "name": "directCommit", "value": true },
{ "name": "useGhTokenWorkflow", "value": true }
]
}
`
This setting can be used on its own in repository settings to apply defaults to all workflows with matching input names. Alternatively, you can use it within conditional settings to apply defaults only to specific workflows, branches, or other conditions.
Example using conditional settings to target specific workflows:
`json
{
"conditionalSettings": [
{
"workflows": ["Create Release"],
"settings": {
"workflowDefaultInputs": [
{ "name": "directCommit", "value": true },
{ "name": "releaseType", "value": "Prerelease" }
]
}
}
]
}
`
Important: When multiple conditional settings blocks match and both define workflowDefaultInputs, the arrays are merged following AL-Go's standard behavior for complex setting types (all entries are kept). If the same input name appears in multiple entries, the last matching entry takes precedence.
Read more at workflowDefaultInputs.
Issues
- Issue 2039 Error when deploy to environment: NewTemporaryFolder is not recognized
- Issue 1961 KeyVault access in PR pipeline
- Discussion 1911 Add support for reportSuppressedDiagnostics
- Discussion 1968 Parameter for settings passed to CreateDevEnv
- Issue 1945 Deploy Reference Documentation fails for CI/CD
- Use Runner_Temp instead of GetTempFolder whenever possible
- Issue 2016 Running Update AL-Go system files with branches wildcard tries to update origin_
- Issue 1960 Deploy Reference Documentation fails
- Discussion 1952 Set default values on workflow_dispatch input
Deprecations
- unusedALGoSystemFiles will be removed after October 1st 2026. Please use customALGoFiles.filesToExclude` instead.
v8.02025-10-15
Mechanism to overwrite complex settings type
By default, AL-Go merges settings from various places (see settings levels). Basic setting types such as string and integer are overwritten, but settings with complex types such as array and object are merged.
However, sometimes it is useful to avoid merging complex types. This can be achieved by specifying overwriteSettings property on a settings object. The purpose of the property is to list settings, for which the value will be overwritten, instead of merged. Read more at overwriteSettings property
AL Code Analysis tracked in GitHub
AL-Go already supports AL code analysis, but up until now this was not tracked in GitHub. It is now possible to track code analysis issues automatically in the GitHub security tab, as well as having any new issues posted as a comment in Pull Requests.
Enable this feature by using the new setting trackALAlertsInGithub. This setting must be enabled at the repo level, but can optionally be disabled per project.
Please note that some automated features are premium and require the use of GitHub Code Security
Issues
- Discussion 1885 Conditional settings for CI/CD are not applied
- Discussion 1899 Remove optional properties from "required" list in settings.schema.json
- Issue 1905 AL-Go system files update fails (Get Workflow Multi-Run Branches action fails when there are tags with same value but different casing)
- Issue 1926 Deployment fails when using build modes
- Issue 1898 GetDependencies in localDevEnv does not fallback to github token
- Issue 1947 Project settings are ignored when loading bccontainerhelper
- Issue 1937 trackALAlertsInGitHub is failing in preview
- DeployTo settings from environment-specific AL-Go settings are not applied when deploying
- ReadSettings action outputs too much information that is mainly used for debugging
v7.32025-08-29
Configurable merge method for pull request auto-merge
A new setting pullRequestMergeMethod has been added to the commitOptions structure, allowing you to configure which merge method to use when pullRequestAutoMerge is enabled. Valid values are "merge" or "squash". The default value is "squash" to maintain backward compatibility.
Example
``json
{
"commitOptions": {
"pullRequestAutoMerge": true,
"pullRequestMergeMethod": "merge"
}
}
`
AL-Go Telemetry
AL-Go now offers a dataexplorer dashboard to get started with AL-Go telemetry. Additionally, we've updated the documentation to include a couple of kusto queries if you would rather build your own reports.
Support for AL-Go settings as GitHub environment variable: ALGoEnvSettings
AL-Go settings can now be defined in GitHub environment variables. To use this feature, create a new variable under your GitHub environment called ALGoEnvironmentSettings. Please note that this variable should not include your environment name.
Settings loaded this way, will only be available during the Deploy step of the CI/CD or Publish to Environment actions, but not the Build step, making it most suitable for the DeployTo setting. Settings defined in this variable will take priority over any setting defined in AL-Go repo, org or settings files.
The contents of the variable should be a JSON block, similar to any other settings file or variable. When defining the DeployTo\<EnvName> setting in this variable, it should still include the environment name. Eg:
`
{
DeployToProduction {
"Branches": [
"*"
],
"includeTestAppsInSandboxEnvironment": false,
"excludeAppIds": [ 1234 ]
}
}
`
Please note, that due to certain security limitations, the properties runs-on, shell and ContinousDeployment of the DeployTo setting will <ins>NOT</ins> be respected if defined in a GitHub environment variable. To use these properties, please keep them defined elsewhere, such as your AL-Go settings file or Org/Repo settings variables.
Issues
- Issue 1770 Wrong type of projects setting in settings schema
- Issue 1787 Publish to Environment from PR fails in private repos
- Issue 1722 Check if apps are already installed on a higher version before deploying
- Issue 1774 Increment Version Number with +0.1 can increment some version numbers twice
- Issue 1837 Deployment from PR builds fail if PR branch name includes forward slashes (e.g., feature/branch-name).
- Issue 1852 Page Scripting Tests are not added to build summary
- Issue 1829 Added custom jobs cannot be removed
- Idea 1856 Include workflow name as input for action ReadSetting
Additional debug logging functionality
We have improved how logging is handled in AL-Go, and now make better use of GitHub built-in extended debug logging functionality. Extended debug logging can be enabled when re-running actions by clicking the 'Enable debug logging' checkbox in the pop-up window. This can be done both for jobs that failed and jobs that succeeded, but did not produce the correct result.
Add custom jobs to AL-Go workflows
It is now possible to add custom jobs to AL-Go workflows. The Custom Job needs to be named CustomJob<something>` and should be placed after all other jobs in the .yaml file. The order of which jobs are executed is determined by the Needs statements. Your custom job will be executed after all jobs specified in the Needs clause in your job and if you need the job to be executed before other jobs, you should add the job name in the Needs clause of that job. See https://aka.ms/algosettings#customjobs for details.
Note that custom jobs might break by future changes to AL-Go for GitHub workflows. If you have customizations to AL-Go for GitHub workflows, you should always doublecheck the pull request generated by Update AL-Go System Files.
Support for Custom AL-Go template repositories
Create an AL-Go for GitHub repository based on https://aka.ms/algopte or https://aka.ms/algoappsource, add custom workflows, custom jobs and/or settings to this repository and then use that repository as the template repository for other repositories. Using custom template repositories allows you to create and use highly customized template repositories and control the uptake of this in all repositories. See https://aka.ms/algosettings#customtemplate for details.
> [!NOTE]
> Customized repositories might break by future changes to AL-Go for GitHub. If you are customizing AL-Go for GitHub, you should always double-check the pull request when updating AL-Go system files in your custom template repositories.