chore: sync workflow templates - #619
Conversation
Automated sync from stranske/Workflows Template hash: a038a7cee71c Changes synced from sync-manifest.yml
There was a problem hiding this comment.
Pull request overview
Syncs workflow templates from stranske/Workflows into this consumer repo, updating a verification workflow and the weekly metrics aggregation helper.
Changes:
- Pin
actions/github-script,actions/checkout, andactions/upload-artifactto full commit SHAs inagents-verify-to-new-pr.yml. - Adjust parse-error detail aggregation logic in
scripts/aggregate_agent_metrics.pyto better handle overflow beyond the stored-detail limit.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
scripts/aggregate_agent_metrics.py |
Updates parse-error detail consolidation behavior when the in-memory limit is reached. |
.github/workflows/agents-verify-to-new-pr.yml |
Pins previously floating GitHub Actions references to full SHAs. |
| details[index] = replace(existing, line=None, count=existing.count + detail.count) | ||
| return | ||
|
|
||
| details[-1] = replace(detail, line=None, count=details[-1].count + detail.count) |
There was a problem hiding this comment.
When the detail limit is reached and no existing entry matches, the fallback details[-1] = replace(detail, ...) overwrites the last stored detail’s path/artifact/reason with the new one while also carrying over the previous last entry’s count. This mixes counts and can misattribute parse errors in the summary/counters. Consider aggregating overflow into the existing last entry (preserving its fields) or reserving a dedicated "overflow/other" bucket entry instead of replacing an arbitrary detail with a different one.
| details[-1] = replace(detail, line=None, count=details[-1].count + detail.count) | |
| details[-1] = replace(details[-1], line=None, count=details[-1].count + detail.count) |
Sync Summary
Files Updated
Files Skipped
Review Checklist
Source: stranske/Workflows
Source SHA:
2f8e368aab2513497f1f5b5bd504618e94efae53Template hash:
a038a7cee71cSync branch:
sync/workflows-a038a7cee71cConsumer repo:
stranske/TemplateManifest:
.github/sync-manifest.yml