Skip to content

Trigger Issue Monster for live build incidents - #55786

Closed
nagilson wants to merge 1 commit into
dotnet:mainfrom
nagilson:nagilson/issue-monster-live-incident-trigger
Closed

nagilson wants to merge 1 commit into
dotnet:mainfrom
nagilson:nagilson/issue-monster-live-incident-trigger

Conversation

@nagilson

@nagilson nagilson commented Aug 14, 2026 •

Copy link
Copy Markdown
Member

Summary

  • trigger Issue Monster when an issue is opened with live-build-incident from issues filed by [Experiment] Add CI Quality Investigator workflow #55467
  • pass the triggering issue directly through the existing single-issue path instead of searching the normal queue
  • allow investigator-created github-actions[bot] issues to activate the workflow

The point here is that the fix for a build issue should ideally run checks in CI before someone sees the issue so we want to try the proposed fix sooner rather than waiting 12hr.

Validation

Copilot AI lite review requested due to automatic review settings August 14, 2026 15:58
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Issue Monster orchestrator workflow to react immediately to newly opened “live build incident” issues (including ones created by github-actions[bot]) by passing the triggering issue number through the existing single-issue path, and adds a regression test intended to validate that bypass behavior.

Changes:

  • Add an issues: opened trigger path for live-build-incident incidents and pass github.event.issue.number into the orchestrator’s requested-issue flow.
  • Regenerate the compiled .lock.yml workflow to reflect the new trigger and activation wiring.
  • Add a test asserting that requested live incidents bypass the normal candidate search.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/issue-monster.md Adds issues-opened trigger configuration and routes the triggering issue number into the search script.
.github/workflows/issue-monster.lock.yml Regenerated compiled workflow reflecting the new trigger path and activation behavior.
.github/scripts/issue-monster-search.test.js Adds a regression test for “requested live incidents bypass candidate search”.

Comment thread .github/workflows/issue-monster.md Resolved
Comment on lines 1794 to 1799
env:
GH_AW_RUNTIME_FEATURES: ${{ vars.GH_AW_RUNTIME_FEATURES }}
outputs:
activated: ${{ steps.check_membership.outputs.is_team_member == 'true' && steps.check_skip_if_match.outputs.skip_check_ok == 'true' && steps.check_skip_if_no_match.outputs.skip_no_match_check_ok == 'true' }}
activated: ${{ steps.check_skip_if_match.outputs.skip_check_ok == 'true' && steps.check_skip_if_no_match.outputs.skip_no_match_check_ok == 'true' }}
has_issues: ${{ steps.search.outputs.has_issues }}
issue_context: ${{ steps.search.outputs.issue_context }}

@nagilson nagilson Aug 14, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is still a label check and you need repo perms to add the labels. Ideally threat_detection + agentic limits + issue filing limits on GH would also help remedy this. I think the membership gate would probably block the copilot filed issues from getting picked up but want to double check there's no better alternative first.

@nagilson
nagilson force-pushed the nagilson/issue-monster-live-incident-trigger branch from 9f9024c to e70b5b8 Compare August 14, 2026 16:28
@nagilson nagilson closed this Aug 14, 2026
@nagilson nagilson reopened this Aug 14, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@nagilson
nagilson force-pushed the nagilson/issue-monster-live-incident-trigger branch from e70b5b8 to 8ac57c3 Compare August 14, 2026 16:38
Route newly opened live-build-incident issues through the orchestrator's single-issue path so they are assigned immediately without scanning the normal queue.

Validated end-to-end with the successful orchestrator run https://github.com/nagilson/sdk/actions/runs/31816308296 and assigner run https://github.com/nagilson/sdk/actions/runs/31816615532 for #164.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: f0e9fdc4-8cf7-4010-8e09-cbed86757c2f
@nagilson
nagilson force-pushed the nagilson/issue-monster-live-incident-trigger branch from 8ac57c3 to 8740fcf Compare August 14, 2026 16:45
@nagilson
nagilson marked this pull request as draft August 14, 2026 17:00
@nagilson

Copy link
Copy Markdown
Member Author

The problem with this is that issues authored by copilot might not actually cause an issue creation trigger. Need to look more closely.

@nagilson

Copy link
Copy Markdown
Member Author

So this is not going to work. We should just dispatch the flow from the ci investigator.

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