📊 Lockfile Statistics Analysis - 2025-10-14 #1664
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-14
Executive Summary
This comprehensive analysis examines all
.lock.ymlfiles in the.github/workflows/directory to identify usage patterns, popular triggers, safe outputs, structural characteristics, and other interesting insights about agentic workflows in thegithubnext/gh-awrepository.File Size Distribution
Statistics:
Key Insight
All lock files are substantial in size (>100KB), indicating rich, fully-compiled workflow definitions with comprehensive safety checks, permission management, and agent instructions embedded within.
Trigger Analysis
Most Popular Triggers
Key Findings
workflow_dispatch, giving users manual control over when agents runCommon Trigger Combinations
The most common trigger combination patterns:
Schedule Patterns
0 10 * * *0 9 * * 10 9 * * 1-50 0 * * *0 11 * * *0 6 * * *0 3 * * *Pattern: Most scheduled workflows run daily during business hours (UTC morning), with staggered times to distribute load.
Safe Outputs Analysis
Safe Output Types Distribution
Based on grep analysis of all lock files:
Key Insights
create-pull-requestis the most common safe output (691 occurrences), indicating agents primarily operate by proposing code changes through PRscreate-discussionshow agents use discussions for publishing reports and summariesDiscussion Categories
Based on repository categories, agents can publish to:
Structural Characteristics
Job Complexity
Step Complexity
Average Lock File Structure
Based on statistical analysis, a typical
.lock.ymlfile has:Timeout Analysis
Permission Patterns
Most Common Permissions
Permission Distribution
Key Insights
contentspermission appears in 90 instances, essential for repository operationsTool & MCP Patterns
Most Used MCP Servers
Key Insights
githubMCP server is overwhelmingly the most used (1,242 occurrences), appearing in virtually all workflowsnotionMCP server shows targeted use for specific workflow needsConcurrency Patterns
gh-aw-${{ github.workflow }}(26 workflows)This ensures:
Interesting Findings
1. Six-Job Standard Architecture
Most workflows follow a consistent 6-job pattern:
This standardization suggests:
2. Size Consistency Despite Complexity
Despite different purposes (code analysis, documentation, issue triage), most lock files cluster around 180-190 KB. This suggests:
3. Manual Control Preferred
79% of workflows support manual dispatch despite many being suitable for full automation. This indicates:
4. PR-First Safety Model
With 691 PR creation operations vs. 141 direct comments, the repository strongly favors:
5. Tiered Timeout Strategy
Clear separation between 5-minute and 10-minute timeouts shows:
Historical Context
This is a comprehensive baseline analysis of the repository's agentic workflow infrastructure. Key metrics for future trend tracking:
Recommendations
1. Documentation Standards
2. Performance Optimization
3. Safety Enhancements
4. Developer Experience
5. Cost Management
Methodology
/tmp/gh-aw/cache-memory/for script persistence.github/workflows/*.lock.ymlAnalysis Scripts Stored
The following reusable scripts are available in
/tmp/gh-aw/cache-memory/scripts/:analyze_lockfiles.py- Comprehensive YAML parser and statistics generatoranalyze_structure.py- Structural analysis helperextract_triggers.sh- Trigger pattern extractionextract_safe_outputs.sh- Safe output type extractionextract_mcp_servers.sh- MCP server usage analysisAppendix: Complete File Listing
Generated by Lockfile Statistics Analysis Agent on 2025-10-14
Analysis powered by:
/tmp/gh-aw/cache-memory/Beta Was this translation helpful? Give feedback.
All reactions