Skip to content

[DO NOT MERGE] Test: failOn newWarning with workspace compilation (AL-Go #2300)#9714

Draft
aholstrup1 wants to merge 3 commits into
mainfrom
dev/aholstrup/test-newwarning-ws-2
Draft

[DO NOT MERGE] Test: failOn newWarning with workspace compilation (AL-Go #2300)#9714
aholstrup1 wants to merge 3 commits into
mainfrom
dev/aholstrup/test-newwarning-ws-2

Conversation

@aholstrup1

@aholstrup1 aholstrup1 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Warning

DO NOT MERGE - test PR. Validates an AL-Go change and will be closed.

Purpose

Validates microsoft/AL-Go PR #2300 (branch aholstrup1-vigilant-spork, SHA 4f4c47f9) which makes failOn: newWarning work with workspace compilation. Previously the new-warning check only ran in RunPipeline, so it had no effect when workspaceCompilation was enabled (compilation happens in CompileApps).

What this PR does

  1. Repoints AL-Go actions in _BuildALGoProject.yaml to the fix branch (@4f4c47f9).
  2. Enables "failOn": "newWarning" at repo level.
  3. Introduces one new warning (AA0206 - unused variable) in an NZ-only demo codeunit.

Expected result

CI/CD fails for project Apps NZ with "New warnings were introduced in this PR" (AA0206), demonstrating the check now fires under workspace compilation.

@github-actions github-actions Bot added Build: Automation Workflows and other setup in .github folder Integration GitHub request for Integration area labels Jul 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Could not find a linked ADO work item. Please link one by using the pattern 'AB#' followed by the relevant work item number. You may use the 'Fixes' keyword to automatically resolve the work item when the pull request is merged. E.g. 'Fixes AB#1234'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build: Automation Workflows and other setup in .github folder Integration GitHub request for Integration area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant