Skip to content

chore: sync workflow templates - #839

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

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

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

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

Copy link
Copy Markdown
Contributor

⚠️ Action Required: Unable to determine source issue for PR #839. 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 #839 | 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 (14%, 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:16:07 Codex wait (missing-agent-label-transient) skipped 0 0/7
0 2026-04-25 16:19:07 Codex wait (missing-agent-label-transient) skipped 0 0/7 cancelled
0 2026-04-25 16:20:17 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 repository workflow templates from stranske/Workflows, extending the weekly metrics workflow to include bot-comment App authentication coverage reporting alongside existing terminal disposition coverage checks.

Changes:

  • Add a bot-comment auth coverage preflight step to the weekly metrics workflow and upload its summary artifacts.
  • Extend weekly metrics artifact selection to include bot-comment auth coverage artifact families.
  • Introduce .github/scripts/bot_comment_auth_coverage.js to summarize/enforce bot-comment auth coverage and generate JSON/Markdown reports.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/agents-weekly-metrics.yml Runs the new bot-comment auth coverage preflight, includes outputs in artifacts, and honors coverage hard-blocks.
.github/scripts/weekly_metrics_artifacts.js Adds bot-comment auth coverage artifact prefixes/families to weekly artifact selection and priority selection.
.github/scripts/bot_comment_auth_coverage.js New script that scans downloaded artifacts, summarizes bot-comment auth coverage, and emits JSON/Markdown reports with optional enforcement.


function summarizeBotCommentAuthCoverage(records = [], options = {}) {
const policy = normalizePolicy(options);
const parseErrors = Number(options.parse_errors || options.parseErrors || 0);

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.

parse_errors is derived with options.parse_errors || options.parseErrors || 0, which treats an explicit 0 as falsy and can incorrectly fall back to options.parseErrors. Use nullish coalescing (??) or an explicit undefined check so 0 is preserved.

Suggested change
const parseErrors = Number(options.parse_errors || options.parseErrors || 0);
const parseErrors = Number(options.parse_errors ?? options.parseErrors ?? 0);

Copilot uses AI. Check for mistakes.
name.startsWith('bot-comment-auth-coverage-');
});
return {
schema: cleanString(report.schema),

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.

In normalizeArtifactSelectionSummary, the success-path returns schema: cleanString(report.schema) without a fallback. If the selector report omits schema, downstream output will have an empty schema value; the missing/parse-error paths already provide a default. Consider applying the same default schema in the success path for consistency and robustness.

Suggested change
schema: cleanString(report.schema),
schema: cleanString(report.schema) || 'workflows-weekly-metrics-artifact-selection/v1',

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