Skip to content

chore: sync workflow templates - #247

Closed
stranske wants to merge 1 commit into
mainfrom
sync/workflows-8c7e6f62db72
Closed

stranske wants to merge 1 commit into
mainfrom
sync/workflows-8c7e6f62db72

Conversation

@stranske

Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • agents-weekly-metrics.yml: Weekly metrics - aggregates auto-pilot, keepalive, autofix and verifier metrics into summary reports
  • bot_comment_auth_coverage.js: Warning-only bot-comment App auth coverage preflight
  • weekly_metrics_artifacts.js: Bounded weekly metrics artifact selection contract

Files Skipped

  • pr-00-gate.yml: File exists and sync_mode is create_only
  • ci.yml: File exists and sync_mode is create_only
  • dependabot.yml: File exists and sync_mode is create_only
  • llm_slots.json: None

Review Checklist

  • CI passes with updated workflows
  • No repo-specific customizations were overwritten

Source: stranske/Workflows
Manifest: .github/sync-manifest.yml

Automated sync from stranske/Workflows
Template hash: 8c7e6f62db72

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings April 25, 2026 16:43
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Apr 25, 2026
@agents-workflows-bot

Copy link
Copy Markdown
Contributor

⚠️ Action Required: Unable to determine source issue for PR #247. The PR title, branch name, or body must contain the issue number (e.g. #123, branch: issue-123, or the hidden marker ).

@agents-workflows-bot

agents-workflows-bot Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

🤖 Keepalive Loop Status

PR #247 | Agent: Codex | Iteration 0/5

Current State

Metric Value
Iteration progress [----------] 0/5
Action wait (missing-agent-label)
Disposition skipped (transient)
Gate success
Tasks 0/7 complete
Timeout 45 min (default)
Timeout usage 6m elapsed (13%, 39m remaining)
Keepalive ❌ disabled
Autofix ❌ disabled

🔍 Failure Classification

| Error type | infrastructure |
| Error category | resource |
| Suggested recovery | Confirm the referenced resource exists (repo, PR, branch, workflow, or file). |

@agents-workflows-bot

agents-workflows-bot Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor
Keepalive Work Log (click to expand)
# Time (UTC) Agent Action Result Files Tasks Progress Commit Gate
0 2026-04-25 16:45:41 Codex wait (missing-agent-label-transient) skipped 0 0/7 cancelled
0 2026-04-25 16:47:39 Codex wait (missing-agent-label-transient) skipped 0 0/7 cancelled
0 2026-04-25 16:49:26 Codex wait (missing-agent-label-transient) skipped 0 0/7 success

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Syncs workflow templates from stranske/Workflows, extending the weekly metrics aggregation workflow to include bot-comment auth coverage reporting and artifact selection support.

Changes:

  • Add a bot-comment auth coverage preflight step to the weekly metrics workflow and publish its summary/artifacts.
  • Extend weekly metrics artifact selection to recognize/prioritize bot-comment auth coverage artifact families.
  • Introduce .github/scripts/bot_comment_auth_coverage.js to compute and render the bot-comment auth coverage summary.

Reviewed changes

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

File Description
.github/workflows/agents-weekly-metrics.yml Checks out the new script, runs a new preflight step, uploads new summary artifacts, and gates on both coverage exit statuses.
.github/scripts/weekly_metrics_artifacts.js Adds artifact family prefixes and priority families for bot-comment auth coverage artifacts.
.github/scripts/bot_comment_auth_coverage.js New script to scan downloaded artifacts for auth coverage records and emit JSON/Markdown summaries with optional hard-block behavior.

BOT_COMMENT_AUTH_COVERAGE_MD: bot-comment-auth-coverage-summary.md
BOT_COMMENT_AUTH_COVERAGE_MODE: ${{ vars.BOT_COMMENT_AUTH_COVERAGE_MODE || 'warning-only' }}
BOT_COMMENT_AUTH_HARD_BLOCK_APPROVED: ${{ vars.BOT_COMMENT_AUTH_HARD_BLOCK_APPROVED || 'false' }}
BOT_COMMENT_WRAPPER_EXPECTED_AUTH_MODE: ${{ vars.BOT_COMMENT_WRAPPER_EXPECTED_AUTH_MODE || 'client-id' }}

Copilot AI Apr 25, 2026

Copy link

Choose a reason for hiding this comment

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

The workflow passes BOT_COMMENT_WRAPPER_EXPECTED_AUTH_MODE / BOT_COMMENT_REUSABLE_ALLOWED_AUTH_MODES, but it never exports BOT_COMMENT_WRAPPER_ALLOWED_AUTH_MODES. Since .github/scripts/bot_comment_auth_coverage.js reads process.env.BOT_COMMENT_WRAPPER_ALLOWED_AUTH_MODES for wrapper policy configuration, any repo/org variable with that name won’t take effect here. Consider adding it to this env: block (from vars.BOT_COMMENT_WRAPPER_ALLOWED_AUTH_MODES) or removing that unused configuration path from the script to avoid a confusing/partially-configurable setup.

Suggested change
BOT_COMMENT_WRAPPER_EXPECTED_AUTH_MODE: ${{ vars.BOT_COMMENT_WRAPPER_EXPECTED_AUTH_MODE || 'client-id' }}
BOT_COMMENT_WRAPPER_EXPECTED_AUTH_MODE: ${{ vars.BOT_COMMENT_WRAPPER_EXPECTED_AUTH_MODE || 'client-id' }}
BOT_COMMENT_WRAPPER_ALLOWED_AUTH_MODES: ${{ vars.BOT_COMMENT_WRAPPER_ALLOWED_AUTH_MODES }}

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated sync from Workflows sync Automated sync from Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants