📊 Agentic Workflow Lock File Statistics - November 2025 #3408
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it was created by an agentic workflow more than 1 week 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-11-07
This comprehensive analysis examines all 71 agentic workflow lock files in the
.github/workflows/directory, revealing usage patterns, structural characteristics, and architectural insights into how GitHub Agentic Workflows are being utilized in this repository.Key Findings
workflow_dispatch(76% adoption)Full Statistical Analysis
Executive Summary
.github/workflows/File Size Distribution
Size Statistics
test-claude-oauth-workflow.lock.yml(76.3 KB)poem-bot.lock.yml(385.5 KB)Insight: The overwhelming majority (82%) of lock files exceed 100 KB, indicating that agentic workflows have substantial configuration overhead, likely due to comprehensive job definitions, safety mechanisms, and integration logic.
Trigger Analysis
Most Popular Triggers
Key Insight: Manual triggering (
workflow_dispatch) is nearly universal (80%), enabling on-demand agent execution. Half of all workflows (49%) combine scheduled automation with manual override capability.Common Trigger Combinations
schedule + workflow_dispatchworkflow_dispatch(only)pull_request + schedule + workflow_dispatchissues(only)Pattern Analysis:
Schedule Patterns
Analysis of 35 scheduled workflows reveals:
0 0 * * *0 9 * * *0 15 * * *0 18 * * *0 * * * *(multiple times/day)Schedule Insights:
Safe Outputs Analysis
Safe outputs enable workflows to create GitHub artifacts (issues, discussions, PRs, comments) in a controlled, auditable manner.
Safe Output Types Distribution
Safe Output Insights:
Safe Output Combinations
Common patterns observed:
Structural Characteristics
Job Architecture
Architectural Insight: Every single workflow follows a single-job architecture. This remarkable consistency indicates:
Step Distribution Analysis
Standard Agent Flow (8 steps typical):
Average Lock File Structure
Based on statistical analysis, a typical .lock.yml file has:
Permission Patterns
Most Common Permissions
Permission Insights
actions:write, preventing workflow self-modificationPermission Distribution Patterns
Tool & MCP Integration Analysis
Most Used MCP Servers
MCP Adoption Insights:
Runner Distribution
Runner Strategy: Strong preference (66%) for
ubuntu-slimsuggests cost optimization and faster startup times are prioritized.Concurrency Management
Concurrency Group Patterns
gh-aw-${workflow}gh-aw-${workflow}-${issue/pr}gh-aw-copilot-${context}Concurrency Insights:
Interesting Findings
1. Universal Single-Job Architecture
Every workflow uses exactly 1 job. This is remarkable standardization and suggests the gh-aw compiler enforces this pattern. Benefits:
2. PR-Centric Output Strategy
87% of workflows can create pull requests, making code modification the dominant output type. This positions agentic workflows as "code suggestion engines" rather than just reporting tools.
3. Schedule + Manual Trigger Dominance
44% of workflows use the exact pattern
schedule + workflow_dispatch. This "automated with override" pattern provides:4. Minimal MCP Server Usage
Despite 20 available MCP servers, most workflows (78%) use 0-1 servers. This suggests:
5. Size Consistency Despite Complexity
Files range from 76 KB to 385 KB, but 80% fall within 150-280 KB range (130 KB spread), indicating standardized structure despite varied functionality.
6. Zero Write Access to Actions
No workflow has
actions:writepermission, preventing workflows from modifying themselves or other workflows. This is a critical security boundary.7. Discussions as Reporting Channel
38% of workflows use discussions with 83% write permission rate, establishing discussions as the primary "reporting" channel separate from actionable issues/PRs.
8. Business-Hours Scheduling Bias
Scheduled workflows cluster around business hours (9 AM - 6 PM UTC), with multiple weekday-only schedules, suggesting workflows are designed to support human teams rather than 24/7 autonomous operation.
Historical Trends
First analysis - baseline established. Future analyses will track:
Recommendations
1. Documentation for Size Optimization
With 82% of workflows exceeding 100 KB, investigate opportunities to:
2. MCP Server Discovery
Only 22% of workflows use MCP servers. Consider:
3. Safe Output Pattern Library
87% use
create_pull_requestbut patterns vary. Establish:4. Monitoring for Single-Job Limitations
All workflows use single-job architecture. Monitor for cases where:
5. Permission Audit Trail
With 100% of workflows having mixed permissions:
6. Schedule Optimization
35 scheduled workflows create periodic execution load. Consider:
Methodology
Analysis Approach
.lock.ymlfiles in.github/workflows/Tools Used
Data Quality
Limitations
- name:and- uses:patterns)Repository Context
Generated by Lockfile Statistics Analysis Agent on 2025-11-07
Analysis Script:
/tmp/gh-aw/cache-memory/scripts/analyze_all_locks.pyData Snapshot:
/tmp/gh-aw/cache-memory/analysis_output.jsonBeta Was this translation helpful? Give feedback.
All reactions