Skip to content

Add silent dry-run mode for AL issue triage - #8316

Merged
Thaddeus Loke (thloke) merged 6 commits into
masterfrom
copilot/public-al-issue-triage
Aug 19, 2026
Merged

Add silent dry-run mode for AL issue triage#8316
Thaddeus Loke (thloke) merged 6 commits into
masterfrom
copilot/public-al-issue-triage

Conversation

@thloke

@thloke Thaddeus Loke (thloke) commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • adds a dry-run mode that validates and archives triage reports without posting issue comments, enabled by default for manual runs and enforced for newly opened issues;
  • gives the agent a deterministic download-al-symbols skill using the freshly installed public prerelease ALTool, matching the internal workflow;
  • fixes the sandbox credential variable names to BC_SERVER_USERNAME / BC_SERVER_PASSWORD, which ALTool actually reads;
  • prohibits agent-driven MCP setup, direct alc.exe, and manual /dev/packages calls;
  • strips progress narration before the standardized triage heading and removes container availability from public comments.

Issue #8313 diagnosis

The workflow exported BC_USERNAME / BC_PASSWORD, but ALTool resolves non-interactive UserPassword credentials only from BC_SERVER_USERNAME / BC_SERVER_PASSWORD. The agent also bypassed ALTool by invoking alc.exe directly, then treated a manual /dev/packages 401 as evidence that symbols were unavailable.

The replacement workflow installs the latest prerelease Microsoft.Dynamics.BusinessCentral.Development.Tools, records that exact al.exe as ALTOOL_PATH, and requires the deterministic symbol skill before compilation. The skill owns ALTool's internal symbol-download protocol so the agent only invokes the command-line workflow.

Verification

Use the ALTool MCP server for symbol download and compilation, expose the credential variable names ALTool expects, normalize agent output, and archive reports without posting by default.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3828f007-4f8d-494d-80d3-b83a70071398
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3828f007-4f8d-494d-80d3-b83a70071398
Give the triage agent the same deterministic symbol-download wrapper used internally, backed by the freshly installed public prerelease ALTool, instead of exposing MCP configuration to the agent.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3828f007-4f8d-494d-80d3-b83a70071398
@thloke
Thaddeus Loke (thloke) marked this pull request as ready for review August 18, 2026 07:59
Thaddeus Loke (thloke) and others added 2 commits August 18, 2026 17:11
Give the public triage agent deterministic skills for project creation,
symbol download, compilation, analyzers, publishing, tests, and E2E
verification while keeping direct compiler and endpoint access prohibited.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3828f007-4f8d-494d-80d3-b83a70071398
Pass the BC tenant through symbol, publish, and test operations and fail before agent execution unless a prerelease ALTool symbol download succeeds.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3828f007-4f8d-494d-80d3-b83a70071398
Comment thread .github/workflows/al-issue-triage.yml Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 81bc8143-7b41-4a6c-948e-4a1e29437587
@thloke
Thaddeus Loke (thloke) merged commit 93e0648 into master Aug 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants