Skip to content

chore: sync workflow templates - #565

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

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

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: cab249988e6a

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

Copy link
Copy Markdown

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

@stranske-keepalive

stranske-keepalive Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

🤖 Keepalive Loop Status

PR #565 | 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). |

@stranske-keepalive

stranske-keepalive 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:35:17 Codex wait (missing-agent-label-transient) skipped 0 0/7
0 2026-04-25 16:37:46 Codex wait (missing-agent-label-transient) skipped 0 0/7 success

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 by extending the weekly metrics aggregation workflow to include bot-comment App auth coverage reporting, and updating artifact selection to recognize the new metric artifact families.

Changes:

  • Add a bot-comment auth coverage preflight step to the weekly metrics workflow, upload its summary artifacts, and enforce it via the existing hard-block gate.
  • Extend weekly metrics artifact selection to include bot-comment-auth-coverage-* artifact families.
  • Introduce a new script to summarize bot-comment auth coverage records into JSON + Markdown outputs.

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 Runs bot-comment auth coverage preflight, uploads its outputs, and includes it in the final hard-block enforcement.
.github/scripts/weekly_metrics_artifacts.js Recognizes/selects bot-comment auth coverage artifacts as part of weekly metrics collection.
.github/scripts/bot_comment_auth_coverage.js New summarizer that scans downloaded artifacts for auth-coverage JSON records and produces a coverage report.

Comment on lines +458 to +460
fs.writeFileSync(options.output, `${JSON.stringify(report, null, 2)}\n`);
fs.writeFileSync(options.markdown, formatBotCommentAuthCoverageMarkdown(report));
process.stdout.write(`${JSON.stringify(report, null, 2)}\n`);

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.

main() writes the full pretty-printed JSON report to stdout in addition to writing it to BOT_COMMENT_AUTH_COVERAGE_JSON. This can make Actions logs noisy; consider printing only the markdown summary (or a 1-line status) to stdout and relying on the uploaded JSON artifact for the detailed payload.

Suggested change
fs.writeFileSync(options.output, `${JSON.stringify(report, null, 2)}\n`);
fs.writeFileSync(options.markdown, formatBotCommentAuthCoverageMarkdown(report));
process.stdout.write(`${JSON.stringify(report, null, 2)}\n`);
const markdown = formatBotCommentAuthCoverageMarkdown(report);
fs.writeFileSync(options.output, `${JSON.stringify(report, null, 2)}\n`);
fs.writeFileSync(options.markdown, markdown);
process.stdout.write(markdown.endsWith('\n') ? markdown : `${markdown}\n`);

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.

3 participants