Repository navigation
Conversation
|
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. |
There was a problem hiding this comment.
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: openedtrigger path forlive-build-incidentincidents and passgithub.event.issue.numberinto the orchestrator’s requested-issue flow. - Regenerate the compiled
.lock.ymlworkflow 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”. |
| 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 }} |
There was a problem hiding this comment.
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.
9f9024c to
e70b5b8
Compare
|
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. |
e70b5b8 to
8ac57c3
Compare
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
8ac57c3 to
8740fcf
Compare
|
The problem with this is that issues authored by copilot might not actually cause an issue creation trigger. Need to look more closely. |
|
So this is not going to work. We should just dispatch the flow from the ci investigator. |
Summary
live-build-incidentfrom issues filed by [Experiment] Add CI Quality Investigator workflow #55467github-actions[bot]issues to activate the workflowThe 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