Skip to content

chore: sync workflow templates - #861

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

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

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
  • aggregate_agent_metrics.py: Aggregates downloaded weekly agent metrics - required by agents-weekly-metrics.yml
  • 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: d1961cf6ac32

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 21:43
@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 #861. 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 #861 | Agent: Codex | Iteration 0/5

Current State

Metric Value
Iteration progress [----------] 0/5
Action wait (missing-agent-label)
Disposition skipped (transient)
Gate cancelled
Tasks 0/8 complete
Timeout 45 min (default)
Timeout usage 0m elapsed (1%, 45m 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 21:45:10 Codex wait (missing-agent-label-transient) skipped 0 0/8
0 2026-04-25 21:47:17 Codex wait (missing-agent-label-transient) skipped 0 0/8 cancelled
0 2026-04-25 21:48:59 Codex wait (missing-agent-label-transient) skipped 0 0/8 failure
0 2026-04-25 22:12:45 Codex wait (missing-agent-label-transient) retry skipped 0 0/8 cancelled
0 2026-04-25 23:17:47 Codex wait (missing-agent-label-transient) retry skipped 0 0/8 cancelled
0 2026-04-26 00:34:45 Codex wait (missing-agent-label-transient) retry skipped 0 0/8 cancelled

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 in updated weekly metrics workflow + supporting scripts from the shared Workflows templates, adding a new bot-comment auth coverage preflight and an agent-metrics markdown aggregator.

Changes:

  • Add scripts/aggregate_agent_metrics.py to aggregate NDJSON artifacts into a weekly markdown summary.
  • Extend agents-weekly-metrics.yml to use setup-node + setup-api-client and to run/upload a new bot-comment auth coverage preflight.
  • Update .github/scripts/weekly_metrics_artifacts.js to recognize/prioritize bot-comment auth coverage artifacts; add new .github/scripts/bot_comment_auth_coverage.js preflight implementation.

Reviewed changes

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

File Description
scripts/aggregate_agent_metrics.py New aggregator that buckets metrics records and generates the weekly markdown summary.
.github/workflows/agents-weekly-metrics.yml Workflow updates to set up Node properly, run bot-comment auth coverage preflight, upload new artifacts, and honor multiple hard-blocks.
.github/scripts/weekly_metrics_artifacts.js Expands artifact family detection to include bot-comment auth coverage artifacts and prioritizes them.
.github/scripts/bot_comment_auth_coverage.js New warning-only/hard-block capable preflight that summarizes bot-comment auth mode coverage from downloaded artifacts.

Comment on lines +329 to +333
for key in ("timestamp", "created_at", "time", "run_started_at"):
ts = _parse_timestamp(entry.get(key))
if ts is not None:
timestamps.append(ts)
break
Comment on lines +430 to +431
print("No metrics files found to aggregate.", file=sys.stderr)
return 1
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