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. |
After safe outputs create CI incident issues, dispatch Issue Monster with every created issue number using the existing workflow_dispatch entry point. Allow the github-actions bot dispatch through Issue Monster's activation gate. Validated end to end with investigator run https://github.com/nagilson/sdk/actions/runs/31825069177, orchestrator run https://github.com/nagilson/sdk/actions/runs/31825453260, assigner run https://github.com/nagilson/sdk/actions/runs/31825738905, and created issue #170. Co-authored-by: Copilot <[email protected]> Copilot-Session: f0e9fdc4-8cf7-4010-8e09-cbed86757c2f
nagilson
force-pushed
the
nagilson/ci-quality-monitor-dispatch-issue-monster
branch
from
August 14, 2026 18:34
43238f5 to
4f8f3fa
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Dispatches newly created CI incident issues directly to Issue Monster, avoiding the scheduled queue delay.
Changes:
- Adds deterministic dispatching for all created issues with token fallback.
- Allows workflow-originated Issue Monster activation.
- Adds tests and updates workflow documentation.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/issue-monster.md |
Allows automated workflow dispatch activation. |
.github/workflows/issue-monster.lock.yml |
Regenerates the Issue Monster workflow. |
.github/workflows/ci-quality-monitor.README.md |
Documents immediate dispatch behavior. |
.github/workflows/ci-quality-monitor.md |
Dispatches Issue Monster after issue creation. |
.github/workflows/ci-quality-monitor.lock.yml |
Regenerates the investigator workflow. |
.github/ci-quality-monitor/test/workflow-policy.test.mjs |
Verifies dispatch policy and authentication. |
.github/ci-quality-monitor/test/issue-monster-dispatch.test.mjs |
Tests issue collection and dispatching. |
.github/ci-quality-monitor/README.md |
Documents the dispatch sequence. |
.github/ci-quality-monitor/issue-monster-dispatch.js |
Implements multi-issue workflow dispatching. |
Use the complete safe-output temporary ID map as the authority for whether issues were created. This avoids gating dispatch on the singular first-created issue output and safely performs no dispatches when the map is empty. Co-authored-by: Copilot <[email protected]> Copilot-Session: f0e9fdc4-8cf7-4010-8e09-cbed86757c2f
nagilson
commented
Aug 14, 2026
|
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. |
Co-authored-by: Copilot <[email protected]> Copilot-Session: b8cf6607-ad87-4194-917a-61fe89dc6b13
mthalman
approved these changes
Aug 14, 2026
nagilson
had a problem deploying
to
copilot-pat-pool
August 14, 2026 22:16 — with
GitHub Actions
Failure
This branch had an error being deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The issue monster is immediately dispatched following the discovery of a
live-build-incident.Currently it is a limited schedule. This enables the 'fix' to be generated right after an 'incident' is detected - this is a large part of the feedback loop, because the fix can be verified in CI, ideally before an engineer is even blocked by the incident.
Interesting components:
The issue monster orchestrator prevents assigning issues in the same area group to try to avoid merge conflicts. I accepted the risk of merge conflicts from several different infrastructure/ci flake fixes.
The
gh-awAPI only returns the first issue number, and the temporary id map is what contains all issue numbers. We must resolve the map to allow multiple issues to be filed if there are multiple flakes, so a script was added to map the temporary ids to the actual created issue ids.Why this approach
#55786 was the initial experiment. It triggered Issue Monster from
issues.openedwhen alive-build-incidentissue was created, but it was closed because issues created bygithub-actions [bot]do not trigger another workflow's issue event. Removing the issue-author restriction would not avoid that GitHub event-suppression behavior.This change instead performs an explicit
workflow_dispatchafter Safe Outputs has created the issue. That avoids coupling the investigator agent prompt to Issue Monster while using one of the workflow events GitHub permits repository automation to dispatch.Token separation
The credentials remain separated by purpose:
COPILOT_PAT_*is selected bypat_poolfor Copilot inference.GH_AW_GITHUB_TOKEN, falling back toGITHUB_TOKEN, performs the Issue Monster workflow dispatch and matches the existing orchestrator-to-assigner dispatch pattern.ISSUE_MONSTER_ASSIGNMENT_TOKENremains scoped to theissue-monsterenvironment and is still used by Issue Monster Assigner'sassign-to-agentSafe Output. This branch does not replace or broaden that assignment credential.Validation
The complete chain succeeded on the fork:
The workflow-policy tests also require the production dispatch token fallback, and the dispatch helper covers multiple created issues and the first-created-issue fallback.