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
Increases shortLivedArtifactsRetentionDays from the default of 1 to 3 in .github/AL-Go-Settings.json.
The default 1-day retention on the short-lived Apps/TestApps build artifacts is shorter than a realistic re-run window. When a PR run is re-run more than a day after its build jobs produced those artifacts, the app binaries have already expired while the long-lived (30-day) BuildOutput metadata survives. AL-Go's dependency resolver then finds no current-run app artifacts locally and silently falls back to baseline main branch apps, so tests execute against stale baseline binaries and cannot catch newly added or changed tests. This produced a false-green run (Shopify test UnitTestCalcPriceUsesCurrentWorkDate from #9404 never ran in BCApps CI but failed downstream in NAV). Widening the window to 3 days makes the re-run case work correctly.
I read the full diff and it contains only changes I intended.
I built the affected app(s) locally with no new analyzer warnings.
I ran the change in Business Central and confirmed it behaves as expected.
I added or updated tests for the new behavior, or explained below why none are needed.
What I tested and the outcome
Settings-only change to CI artifact retention; no app code affected and no tests apply. Verified the JSON is valid and the new key is placed alongside the existing incremental-build settings.
Risk & compatibility
Low risk. Only affects retention duration of short-lived CI artifacts (slightly higher storage usage). No product code, upgrade, or data impact.
The PR changes only .github/AL-Go-Settings.json (adds "shortLivedArtifactsRetentionDays": 3), a CI/build configuration file. No AL source files are changed, so no AL object, declaration, or code-convention signal exists for any sub-skill's Worklist step to match. Every sub-skill's worklist was empty and each returned outcome: completed with zero findings. The self-review pass found no cross-cutting AL/BC defect either; the added property is present in the referenced AL-Go settings.schema.json and uses a plausible value, so no agent finding was warranted.
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
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
Increases
shortLivedArtifactsRetentionDaysfrom the default of 1 to 3 in.github/AL-Go-Settings.json.The default 1-day retention on the short-lived
Apps/TestAppsbuild artifacts is shorter than a realistic re-run window. When a PR run is re-run more than a day after its build jobs produced those artifacts, the app binaries have already expired while the long-lived (30-day)BuildOutputmetadata survives. AL-Go's dependency resolver then finds no current-run app artifacts locally and silently falls back to baselinemainbranch apps, so tests execute against stale baseline binaries and cannot catch newly added or changed tests. This produced a false-green run (Shopify testUnitTestCalcPriceUsesCurrentWorkDatefrom #9404 never ran in BCApps CI but failed downstream in NAV). Widening the window to 3 days makes the re-run case work correctly.Linked work
Fixes AB#642371
How I validated this
What I tested and the outcome
Settings-only change to CI artifact retention; no app code affected and no tests apply. Verified the JSON is valid and the new key is placed alongside the existing incremental-build settings.
Risk & compatibility
Low risk. Only affects retention duration of short-lived CI artifacts (slightly higher storage usage). No product code, upgrade, or data impact.