Add on.pull_request_reviewer: slash_command synthetic trigger and reviewer lifecycle routing#33273
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
on.pull_request_reviewer: slash_command synthetic trigger and reviewer lifecycle routing
on: that is compiled as a centralized slash command
|
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot slash command id should be inferred if missing |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Implemented in |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Implemented in |
|
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Addressed in e348900.
|
|
@copilot refactor reviewer agentic workflows to use this trigger: ADR, Matt pollock, |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Updated in |
Fixed in
Fixed in |
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
🚀 Smoke Gemini MISSION COMPLETE! Gemini has spoken. ✨ Caution agentic threat detected |
|
✅ Smoke OTEL completed successfully! |
|
🚀 Smoke Pi MISSION COMPLETE! Pi delivered. 🥧 |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
Commit pushed:
|
|
Caution agentic threat detected Smoke test results: FAIL (Build failed). See issue for details. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "localhost"See Network Configuration for more information.
|
Agent Container Tool Check
Result: 12/12 tools available ✅
|
|
Smoke Test Codex 26125419171: FAIL Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
|
✅ Smoke Test Complete - 26125419161 Results: 16/17 tests pass (1 tool unavailable)
Status: PASS ✅ Caveman approve! Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
|
🎉 Update from cave: Me still here! Discussion created successful! Me dance around fire now. Code spirits happy. Test pass like mammoth through valley! 🔥🦣✨ Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
There was a problem hiding this comment.
✅ Smoke Test PASS - Run 26125419161
- GitHub MCP: ✅
- MCP Scripts: ✅
- Serena CLI: ✅
- Playwright: ✅
- Build: ✅ (27M binary)
- All test: ✅
Caveman happy! @pelikhan @Copilot
Warning
Firewall blocked 6 domains
The following domains were blocked by the firewall during workflow execution:
accounts.google.comandroid.clients.google.comclients2.google.comcontentautofill.googleapis.comsafebrowsingohttpgateway.googleapis.comwww.google.com
To allow these domains, add them to the
network.allowedlist in your workflow frontmatter:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
📰 BREAKING: Report filed by Smoke Copilot · ● 5.5M
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
Smoke Test: Claude — Run 26125419230Core #1–12: ✅ all pass Overall: ✅ PASS Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
There was a problem hiding this comment.
💥 Automated smoke test review - all systems nominal!
Warning
Firewall blocked 6 domains
The following domains were blocked by the firewall during workflow execution:
accounts.google.comandroid.clients.google.comclients2.google.comcontentautofill.googleapis.comsafebrowsingohttpgateway.googleapis.comwww.google.com
To allow these domains, add them to the
network.allowedlist in your workflow frontmatter:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
💥 [THE END] — Illustrated by Smoke Claude · ● 7.1M
| } | ||
|
|
||
| // add_comment uses snake_case fields. camelCase and kebab-case aliases are | ||
| // accepted for compatibility with forwarded/legacy payload variants. |
There was a problem hiding this comment.
Smoke test review: Consider double-checking the discussion_number/pr alias normalization path here. 🤖
|
|
||
| type commandsHeaderMetadata struct { | ||
| PayloadVersion string `json:"payload_version"` | ||
| SchemaVersion string `json:"schema_version"` |
There was a problem hiding this comment.
Smoke test review: ensure CommandOtherEvents lifecycle routing covers all reviewer events. 🛡️
This introduces a synthetic reviewer trigger to support fill-PR-reviewer lifecycle dispatch through centralized command routing. It adds reviewer-aware concurrency, lifecycle event routing, PR-closed startup cancellation, and marker-based workflow resolution for review events.
Trigger model + schema
on.pull_request_reviewerto the main workflow schema withslash_commandas the supported mode.Compiler defaults for reviewer lifecycle
pull_request(ready_for_review) andpull_request_review.Central router generation (
agentic_commands.yml)GH_AW_REVIEWER_ROUTING) and reviewer section in generated routing metadata/comments.Runtime dispatch (
route_slash_command.cjs)pull_requestready_for_review.pull_request_reviewactions (submitted,edited,dismissed) by resolving the target workflow from XML markers in review body.Special resolution path for review events
extractWorkflowId) to map review/resolution activity back to the correct workflow owner/creator context.pr-sous-chef: request to update branch (run id: 26122348307)
Changeset
on.pull_request_reviewertrigger support and reviewer lifecycle routing for pull request review workflows.✨ PR Review Safe Output Test - Run 26125419230
Warning
Firewall blocked 6 domains
The following domains were blocked by the firewall during workflow execution:
accounts.google.comandroid.clients.google.comclients2.google.comcontentautofill.googleapis.comsafebrowsingohttpgateway.googleapis.comwww.google.comSee Network Configuration for more information.