Skip to content

Run public AL triage without creating pull requests - #8315

Open
Thaddeus Loke (thloke) wants to merge 3 commits into
masterfrom
copilot/public-al-issue-triage
Open

Run public AL triage without creating pull requests#8315
Thaddeus Loke (thloke) wants to merge 3 commits into
masterfrom
copilot/public-al-issue-triage

Conversation

@thloke

Copy link
Copy Markdown
Contributor

Summary

Fixes public AL issue triage so it cannot create branches or pull requests, and uses the latest BCInsider Platform master sandbox for reproduction.

  • replaces agent_assignment/Copilot coding agent with Copilot CLI running directly in the Windows triage workflow;
  • grants no contents-write or pull-request permission;
  • captures the model response to a file, validates the complete standardized comment contract, and posts exactly one issue comment deterministically;
  • rejects repository modifications and duplicate automated comments;
  • always removes the disposable sandbox;
  • resolves only bcinsider W1 Latest, accepts the insider EULA, and rejects any non-insider artifact URL.

Why

Run 32007823477 proved the environment setup works but failed in Processing Request with:

[runtime:unclassified] Failed to fetch job details: HTTP 500 Internal Server Error

More importantly, assigning Copilot coding agent created unwanted PR #8314 before custom triage instructions ran. That behavior is intrinsic to coding-agent assignment and cannot be disabled by prompt instructions. This PR removes that mechanism entirely.

Verification

Scenario Result
Trigger boundary Only issues.opened and explicit workflow_dispatch; no schedule or retroactive trigger
PR/branch mutation path No agent_assignment, copilot-swe-agent, contents-write, or pull-request permission
Comment mutation path One deterministic gh issue comment after required-section validation and duplicate detection
Workflow YAML Parsed successfully
Embedded PowerShell All blocks parsed successfully
Copilot CLI package Pinned @github/copilot@1.0.79-9 exists
Latest BCInsider resolution 29.0.53721.0/w1 resolved from bcinsider
Diff hygiene git diff --check passed

The PR is draft until the replacement workflow receives one live manual validation run.

Provision the public issue triager's repro container exclusively from the latest BCInsider Platform master W1 artifact and reject public artifact fallback.

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

Copilot-Session: 3828f007-4f8d-494d-80d3-b83a70071398
Execute Copilot CLI directly in the Windows BCInsider repro job, validate its standardized output, and post one issue comment without branch or pull-request permissions.

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 17, 2026 09:06
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.

2 participants