📊 Agentic Workflow Lock File Statistics - October 11, 2025 #1561
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it was created by an agentic workflow more than 1 month ago. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
📊 Agentic Workflow Lock File Statistics - 2025-10-11
Executive Summary
This analysis examines all
.lock.ymlfiles in the.github/workflows/directory to understand usage patterns, trigger configurations, safe output types, and structural characteristics of agentic workflows in this repository.File Size Distribution
Size Statistics:
Observation: All lock files are substantial in size (>100 KB), reflecting the comprehensive nature of the compiled workflow definitions with inline scripts, error handlers, and multiple job configurations.
Trigger Analysis
Most Popular Triggers
Key Insight: Manual triggering via
workflow_dispatchis the most common pattern (46%), indicating that most workflows are intended for on-demand execution rather than automated triggers.Common Trigger Combinations
schedule + workflow_dispatch (6 workflows, 23.1%)
workflow_dispatch only (6 workflows, 23.1%)
issue_comment only (6 workflows, 23.1%)
push only (3 workflows, 11.5%)
issues only (3 workflows, 11.5%)
Schedule Patterns
0 9 * * 1-50 10 * * *0 11 * * *0 9 * * 10 3 * * *0 0 * * *Pattern Observation: Scheduled workflows prefer morning hours (UTC), with most running daily or weekly. Weekday-only schedules suggest business hour alignment.
Safe Outputs Analysis
Safe Output Types Distribution
Total Safe Output Operations: 1,159 across all workflows
Key Finding: Pull request creation is by far the most common safe output type (51%), indicating that workflows primarily focus on proposing code changes rather than just reporting or commenting.
Multi-Output Workflows
Several workflows use multiple safe output types for flexibility:
This multi-output pattern provides fallback mechanisms and flexible response options based on workflow conditions.
Discussion Categories
Available discussion categories for safe outputs:
Note: Many workflows dynamically select categories based on context rather than hardcoding them.
Structural Characteristics
Job Complexity
Typical Job Structure:
check-membership- Validate user permissionsvalidate-inputs- Validate workflow inputspreflight- Pre-execution checksdetect-tool-errors- Monitor for tool errors during executionrun-agent- Execute the agentic workflowhandle-safe-outputs- Process outputs (PRs, issues, comments)Timeout Configuration
Pattern: Conservative timeout settings with most jobs limited to 10 minutes, suggesting workflows are designed for focused, time-bounded tasks.
Average Lock File Structure
Based on statistical analysis, a typical
.lock.ymlfile has:workflow_dispatch)contents:readwith selective write permissionsPermission Patterns
Most Common Permissions
Permission Distribution
contents:readSecurity Pattern: The permission model follows least-privilege principles, with:
Engine Distribution
Diversity: The repository demonstrates multi-engine support with balanced usage between Copilot (42%) and Claude (38%), showing platform flexibility.
Tool & MCP Patterns
MCP Server Configuration
Based on imports and configuration analysis:
Common Tool Patterns
All workflows include:
Advanced patterns:
Interesting Findings
1. Universal Multi-Output Strategy
All workflows implement multiple safe output types, providing graceful degradation. If a PR can't be created, fall back to issue creation; if that fails, create a discussion or comment.
2. Comprehensive Error Handling
Every workflow includes dedicated
detect-tool-errorsand fallback jobs, showing mature error handling patterns. Approximately 25-30% of workflow code is devoted to error detection and recovery.3. Consistent Job Structure
Despite varied purposes, all workflows follow a consistent pattern:
This standardization suggests a well-designed framework underlying all workflows.
4. Size Consistency
The narrow size range (100-200 KB for 69% of files) despite different workflow purposes suggests:
5. Schedule Timing Intelligence
Scheduled workflows avoid peak hours and include weekday-only options, showing consideration for:
6. Permission Minimization
No workflow requests more permissions than needed. The common pattern:
contents:readRecommendations
1. Template Consolidation Opportunity
With 69% of workflows in the 100-200 KB range and consistent job structures, consider:
2. Documentation Standards
Successful patterns identified:
Document these as best practices for new workflow development.
3. Monitoring & Metrics
Track:
4. Size Optimization
The largest workflow (poem-bot at 299 KB) is 2.5x the average. Investigate:
5. Engine Strategy
With balanced Copilot/Claude usage:
Methodology
/tmp/gh-aw/cache-memory/.github/workflows/*.lock.ymlHistorical Context
This is the initial baseline analysis for the repository. Future analyses will track:
Generated by Lockfile Statistics Analysis Agent on 2025-10-11
Analysis Scripts Preserved: All analysis scripts have been saved to
/tmp/gh-aw/cache-memory/scripts/for future runs and historical comparison.Beta Was this translation helpful? Give feedback.
All reactions