Skip to content

chore: sync workflow templates - #645

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

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

Conversation

@stranske

Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • aggregate_agent_metrics.py: Aggregates downloaded weekly agent metrics - required by agents-weekly-metrics.yml
  • source_context.js: Classifies PR workflow source context for issue, local, automation, sync, Dependabot, review follow-up, and direct GitHub work
  • coverage_monitor_summary.js: Machine-readable weekly coverage monitor checkpoint
  • weekly_metrics_artifacts.js: Bounded weekly metrics artifact selection contract
  • agents_pr_meta_keepalive.js: PR metadata handling for keepalive
  • agents_pr_meta_update_body.js: Updates PR body with agent metadata

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
Source SHA: 070765783f4b6e6598f86787bcb556d788335077
Template hash: 76ebdcce08bb
Sync branch: sync/workflows-76ebdcce08bb
Consumer repo: stranske/Template
Manifest: .github/sync-manifest.yml

Automated sync from stranske/Workflows
Template hash: 76ebdcce08bb

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

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 consumer templates from stranske/Workflows into this repo, updating the weekly metrics / PR metadata automation scripts and their related contracts.

Changes:

  • Tighten/extend weekly metrics artifact selection to optionally backfill “priority” artifact families from specific workflow runs.
  • Add “no automation” detection to PR source-context resolution and propagate it to PR meta/keepalive automation behavior.
  • Harden contract/report parsing (typing improvements in Python metrics aggregation; safer fs stat handling in coverage monitor summary).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/aggregate_agent_metrics.py Adds stronger typing for Counter fields and sanitizes missing_priority_families in the artifact-selection contract output.
.github/scripts/weekly_metrics_artifacts.js Adds priority workflow sources + bounded workflow-run scanning to backfill missing priority metrics families; adds dedupe/satisfaction helpers and config plumbing.
.github/scripts/source_context.js Introduces explicit “no automation” detection via markers/labels/template checkboxes and threads it through resolved source context.
.github/scripts/coverage_monitor_summary.js Wraps fs.statSync in a try/catch to avoid failures on transient/stat errors after existence checks.
.github/scripts/agents_pr_meta_update_body.js Skips PR body/comment automation when noAutomation is set; improves behavior around explicit non-issue source contexts vs issue-backed syncing; resolves existing “missing issue” warning comment when an issue is present.
.github/scripts/agents_pr_meta_keepalive.js Prevents keepalive dispatch when PR source context opts out of automation.

@stranske

Copy link
Copy Markdown
Owner Author

Closing as stale: newer sync workflow templates PR #657 is open for this repo.

@stranske stranske closed this Apr 29, 2026
@agents-workflows-bot
agents-workflows-bot Bot deleted the sync/workflows-76ebdcce08bb branch May 14, 2026 19:30
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