📊 Agentic Workflow Lock File Statistics - October 2025 #2065
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-21
Executive Summary
File Size Distribution
Statistics:
Trigger Analysis
Most Popular Triggers
Common Trigger Combinations
schedule + workflow_dispatch: 11 workflows (28.2%)
discussion + discussion_comment + issue_comment + issues + pull_request + pull_request_review_comment + workflow_dispatch: 1 workflow
issue_comment + issues + workflow_dispatch: 1 workflow
push + workflow_dispatch: 1 workflow
issue_comment + schedule + workflow_dispatch: 1 workflow
Key Insight: 82% of workflows support manual dispatch (workflow_dispatch), indicating a strong preference for human-in-the-loop execution alongside automation.
Schedule Patterns
0 10 * * *0 9 * * *0 9 * * 1-50 10 * * 10 0 * * *0 3 * * *0 11 * * *0 9 * * 10 9 * * 0Scheduling Trends:
Safe Outputs Analysis
Safe outputs are configured through the
GH_AW_SAFE_OUTPUTS_CONFIGenvironment variable, enabling workflows to create GitHub content safely.Safe Output Types Distribution
Key Findings:
Safe Output Configurations
Most Common Configurations (from
GH_AW_SAFE_OUTPUTS_CONFIGanalysis):Discussion-focused (18 workflows):
{"create_discussion":{"max":1},"missing_tool":{}}Issue-focused (24 workflows):
{"create_issue":{"max":1},"missing_tool":{}} {"create_issue":{"max":1,"min":1},"missing_tool":{}}Comment-focused (9 workflows):
{"add_comment":{"max":1},"missing_tool":{}}Pull Request workflows (8 workflows):
{"create_pull_request":{},"missing_tool":{}}Multi-output configuration (poem-bot):
Discussion Categories
Based on workflow analysis, discussion categories commonly used:
(Note: Category is dynamically determined from GitHub API in most workflows)
Structural Characteristics
Job Complexity
Job Distribution Analysis
Key Insight: The standard workflow structure uses 6 jobs, which typically include:
Average Lock File Structure
Based on statistical analysis, a typical .lock.yml file has:
gh-aw-{engine}-${{ github.workflow }}Permission Patterns
Most Common Permissions
Permission Distribution
Security Analysis:
write-allpermissionsConcurrency Patterns
Concurrency groups prevent parallel executions of the same workflow:
gh-aw-copilot-${{ github.workflow }}gh-aw-claude-${{ github.workflow }}gh-aw-codex-${{ github.workflow }}gh-aw-custom-${{ github.workflow }}Engine Distribution:
gh-aw-${{ github.workflow }})Timeout Configuration
Timeout Statistics
Distribution:
Pattern: Most agent execution jobs use 10-minute timeouts, while pre-activation and simple jobs use 5 minutes.
Tool & MCP Patterns
MCP Server Usage
Based on workflow configuration analysis, common MCP servers include:
Note: MCP servers are configured inline within lock files as Node.js modules rather than external dependencies.
Common Tool Configurations
Based on step analysis:
Bash tools: 39 workflows (100%)
GitHub API tools: 39 workflows (100%)
Agent-specific tools:
Interesting Findings
1. Standardized Structure with Engine Flexibility
All workflows follow a consistent 6-job structure (pre_activation → activation → agent → detection → output → feedback), but support multiple AI engines (Copilot, Claude, Codex, custom). This enables easy engine swapping while maintaining workflow consistency.
2. Universal Manual Override
82% of workflows include
workflow_dispatchtrigger, showing a strong "human-in-the-loop" philosophy. Even automated scheduled workflows can be manually triggered for testing or immediate execution.3. Size Consistency Despite Functional Diversity
Despite workflows performing vastly different tasks (from poem generation to security fixes), 87% fall within the 100-300KB range. This suggests standardized tooling and instruction patterns.
4. poem-bot is an Outlier
The poem-bot workflow is unique in multiple dimensions:
5. Balanced Permission Model
The near 50/50 split between read and write permissions demonstrates careful security design. Workflows request only necessary permissions, avoiding broad access grants.
6. Morning-Centric Automation
Scheduled workflows heavily favor morning execution (9-11 AM UTC), likely optimized for European/US timezone awareness and beginning-of-day visibility.
7. Agent Job Dominates Complexity
The "agent" job consistently contains the most steps (26-50 steps), as it includes the full AI agent execution environment setup, MCP configuration, and prompt injection.
Historical Trends
Previous Analysis Context (from cache memory):
Comparing with historical data from
/tmp/gh-aw/cache-memory/history/:Growth Indicators:
Recommendations
1. Workflow Optimization
2. Security Best Practices
3. Scheduling Optimization
4. Safe Outputs Standardization
max:1for outputs; document when multiple outputs are appropriate5. Documentation Opportunities
6. Monitoring & Observability
Methodology
Analysis Tools
Data Sources
.github/workflows/*.lock.yml(39 files)Cache Memory Usage
/tmp/gh-aw/cache-memory/scripts//tmp/gh-aw/cache-memory/history//tmp/gh-aw/cache-memory/patterns/Accuracy Notes
Appendix: Workflow Catalog
By Size (Top 10)
By Function Category
Generated by Lockfile Statistics Analysis Agent
Analysis Date: 2025-10-21
Repository: githubnext/gh-aw
Workflow Run: #18671806802
Total Analysis Time: ~2 minutes
Files Analyzed: 39 lock files (7.23 MB)
Beta Was this translation helpful? Give feedback.
All reactions