Skip to content

chore: sync workflow templates - #894

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

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

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

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 20:58
@agents-workflows-bot

Copy link
Copy Markdown
Contributor

⚠️ Action Required: Unable to determine source issue for PR #894. 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 #894 | 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). |

@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 20:59:42 Codex wait (missing-agent-label-transient) skipped 0 0/7
0 2026-04-25 21:02:14 Codex wait (missing-agent-label-transient) skipped 0 0/7 cancelled
0 2026-04-25 21:04:15 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 and weekly-metrics helper scripts to the latest upstream contract, focusing on Node setup, artifact selection, and bot-comment auth coverage enforcement behavior.

Changes:

  • Adds explicit Node 20 setup to the weekly metrics workflow and tweaks hard-block failure annotation messaging.
  • Updates weekly metrics artifact selection to treat bot-comment auth coverage artifacts as patterned families (regex-based) rather than simple prefixes.
  • Tightens and expands bot-comment auth coverage preflight reporting (eligibility, read/parse/non-auth counts) and adds per-component override plumbing.

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 Adds Node setup, passes wrapper allowed auth modes env, and improves hard-block error annotation text.
.github/scripts/weekly_metrics_artifacts.js Introduces regex-based artifact family detection for bot-comment auth coverage artifacts.
.github/scripts/bot_comment_auth_coverage.js Refactors policy overrides, improves robustness/telemetry, and enforces a stricter artifact file discovery contract.

Comment on lines +599 to +600
const artifactDir = path.basename(path.dirname(normalized));
return contract.artifact_dir_pattern.test(artifactDir);

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.

isPotentialAuthCoverageFile() now requires wrapper.json/reusable.json to live directly under a directory whose basename matches bot-comment-auth-coverage-(wrapper|reusable)-\d+. If the artifact contains these files under a subdirectory (e.g. .../<artifact-name>/agent-metrics/wrapper.json), they will be skipped even though collectJsonFiles() walks recursively. Consider matching the artifact dir pattern against any ancestor directory in the path (or against the first directory under rootDir) so nested layouts still work.

Suggested change
const artifactDir = path.basename(path.dirname(normalized));
return contract.artifact_dir_pattern.test(artifactDir);
let currentDir = path.posix.dirname(normalized);
while (currentDir && currentDir !== '.' && currentDir !== '/') {
const artifactDir = path.posix.basename(currentDir);
if (contract.artifact_dir_pattern.test(artifactDir)) {
return true;
}
const parentDir = path.posix.dirname(currentDir);
if (parentDir === currentDir) break;
currentDir = parentDir;
}
return false;

Copilot uses AI. Check for mistakes.
@stranske

Copy link
Copy Markdown
Owner Author

Superseded by newer Workflows sync PR #920 (sync/workflows-daec38e5dbf4). Closing this duplicate sync lane so review and verification can focus on the latest template hash.

@agents-workflows-bot
agents-workflows-bot Bot deleted the sync/workflows-dd5f725f6d03 branch May 14, 2026 19:29
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