Conversation
Automated sync from stranske/Workflows Template hash: aa87958cbd5c Changes synced from sync-manifest.yml
Contributor
|
Health 45 Agents Guard stopped this pull request. What we found
Next steps
Files seen in this run
|
There was a problem hiding this comment.
Pull request overview
Syncs this repo’s GitHub Actions “agents” automation to the latest workflow templates by consolidating legacy workflows into the newer PR event hub + gate followups pattern, while updating docs to reference the new entrypoints.
Changes:
- Remove deprecated per-feature workflows (PR meta, keepalive loop, autofix loop, bot-comment handler, verify-to-issue v1/v2) after the stated deprecation deadline.
- Update auto-pilot + docs to use the consolidated workflows (
agents-80-pr-event-hub.yml,agents-81-gate-followups.yml). - Enhance keepalive gate runner logic for label normalization, draft routing, and limited “self-healing” of missing labels.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/LABELS.md | Updates workflow references for labels to point at consolidated workflows. |
| docs/CODEX_TOKEN_REFRESH.md | Updates token refresh verification instructions to use gate followups dispatch inputs. |
| WORKFLOW_USER_GUIDE.md | Updates troubleshooting guidance to reference the PR event hub workflow. |
| .github/workflows/agents-verify-to-issue.yml | Removes deprecated verify-to-issue v1 workflow. |
| .github/workflows/agents-verify-to-issue-v2.yml | Removes deprecated verify-to-issue v2 workflow. |
| .github/workflows/agents-pr-meta.yml | Removes deprecated PR-meta workflow (superseded by PR event hub). |
| .github/workflows/agents-keepalive-loop.yml | Removes deprecated keepalive loop workflow (superseded by gate followups). |
| .github/workflows/agents-bot-comment-handler.yml | Removes deprecated bot comment handler workflow (superseded by PR event hub). |
| .github/workflows/agents-autofix-loop.yml | Removes deprecated autofix loop workflow (superseded by gate followups). |
| .github/workflows/agents-autofix-dispatcher.yml | Converts autofix dispatcher into an informational no-op acknowledging consolidated handling. |
| .github/workflows/agents-auto-pilot.yml | Dispatches consolidated PR event hub + gate followups instead of legacy workflows. |
| .github/workflows/agents-81-gate-followups.yml | Updates internal tracking to treat this workflow as the autofix attempt “loop” source. |
| .github/workflows/agents-80-pr-event-hub.yml | Consolidates PR-meta + bot-comment + verify-to-issue triggers into a single handler workflow. |
| .github/scripts/keepalive_orchestrator_gate_runner.js | Adds label normalization, agent inference, label “self-healing”, and draft disposition routing. |
Comments suppressed due to low confidence (1)
.github/workflows/agents-81-gate-followups.yml:897
- The autofix attempt counter is now keyed off
agents-81-gate-followups.ymlruns. Since this workflow can be triggered by multiple event types (e.g., pull_request label events, manual workflow_dispatch, keepalive followups),listWorkflowRunswill count unrelated completed runs for the same head SHA and can inflateattemptCount, causing autofix to hitmax_attemptsearly. Consider filtering the workflow runs down to only the autofix-relevant invocations (e.g., event=workflow_run for Gate failures and/or a recognizable marker in the run name/inputs), or tracking attempts via a PR label/comment marker instead of counting all workflow runs.
const workflowFile = 'agents-81-gate-followups.yml';
// Reduce attempts for auto-escalated PRs (they weren't agent-initiated)
const isEscalated = labels.includes('autofix:escalated');
const maxAttempts = isEscalated
? Math.min(2, Number(outputs.max_attempts))
: Number(outputs.max_attempts);
const previousRuns = await paginateWithRetry(github.rest.actions.listWorkflowRuns, {
owner,
repo,
workflow_id: workflowFile,
head_sha: run.head_sha,
per_page: 100,
status: 'completed',
});
Comment on lines
+63
to
+64
| headRef.startsWith('claude/') || | ||
| /^feat\/\d+/.test(headRef) |
Comment on lines
+44
to
45
| - name: Acknowledge consolidated autofix handling | ||
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 |
Owner
Author
|
Closing as stale because a newer sync workflow templates PR exists for this repository in the current cleanup campaign. |
16 tasks
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.
Sync Summary
Files Updated
Files Skipped
Review Checklist
Source: stranske/Workflows
Source SHA:
a7734417f00b3989ec261d80c03d9cbf1439e5cdTemplate hash:
aa87958cbd5cSync branch:
sync/workflows-aa87958cbd5cConsumer repo:
stranske/ReadyManifest:
.github/sync-manifest.yml