📊 Agentic Workflow Lock File Statistics - 2026-01-27 #12040
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-03T15:05:18.466Z. |
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.
-
This comprehensive analysis examines all 139 .lock.yml files in the
.github/workflows/directory to understand usage patterns, structural characteristics, and common configurations across agentic workflows.Executive Summary
Key Findings
File Size Distribution
Size Analysis
The tight clustering around 50-100 KB suggests a consistent, well-optimized workflow structure across the repository.
Trigger Analysis
Workflow Trigger Distribution
Most Common Trigger Combinations
View Schedule Patterns (Cron Expressions)
Most workflows are scheduled during weekday business hours (UTC):
0 14 * * 1-50 13 * * 1-50 11 * * 1-50 9 * * 1-50 7 * * 1-50 16 * * 1-50 15 * * 1-50 10 * * 1-5Pattern: Workflows are staggered throughout the business day to distribute load and provide continuous monitoring.
Safe Outputs Analysis
Safe outputs define how workflows communicate results back to GitHub (discussions, issues, PRs, comments).
Safe Output Type Distribution
Workflows with Multiple Safe Output Types
These versatile workflows can produce different outputs based on context:
View Workflows with Multiple Output Types
Notable: lockfile-stats.lock.yml uses all 6 safe output types, making it the most versatile workflow.
Safe Output Examples
create-discussion workflows: copilot-agent-analysis, copilot-pr-merged-report, copilot-pr-prompt-analysis
create-issue workflows: cli-consistency-checker, cli-version-checker, craft
add-comment workflows: archie, brave, changeset, copilot-pr-nlp-analysis, craft
create-pull-request workflows: cloclo, daily-doc-updater, daily-workflow-updater, security-fix-pr
Structural Complexity
Jobs per Workflow
Steps per Workflow
Typical Workflow Structure
Based on statistical analysis, a typical .lock.yml file has:
Timeout Patterns
Timeout configurations show conservative, reliable settings:
Average timeout: 17 minutes
Most common: 10-20 minute range (91.5% of all timeout settings)
Workflow Naming Patterns
Category Distribution
daily-**-report,*-analysis*-issue-*,issue-*copilot-*pr-*,*-pr-*code-*,*-analyzerworkflow-*smoke-**-agentMost Common Words in Workflow Names
Name Length Analysis
q.lock.yml(1 character)security-alert-burndown.campaign.lock.yml(32 characters)Campaign Workflows
Campaign workflows are special long-running or iterative workflows designed to systematically address issues across the codebase.
This campaign workflow uses multiple safe output types (add-comment, create-pull-request) to systematically address security alerts.
Interesting Findings
1. Comprehensive Issue Coverage
Nearly every workflow (99.3%) responds to issue events, making the issue tracking system the primary interaction point for agentic workflows. This creates a unified interface where users can trigger complex automation simply by creating or commenting on issues.
2. Balanced Automation Strategy
The repository employs a "scheduled with manual override" pattern (66% of workflows):
3. Staggered Schedule Distribution
Daily workflows are distributed across business hours (7 AM - 4 PM UTC) to:
4. Conservative Timeout Settings
91.5% of timeouts are in the 10-20 minute range, suggesting:
5. Multi-Output Versatility
11 workflows use multiple safe output types, with lockfile-stats.lock.yml supporting all 6 types. This versatility allows workflows to:
6. Consistent Structural Patterns
The tight clustering of file sizes (87% between 50-100 KB) and step counts (average 72 steps) indicates:
7. Semantic Naming Convention
Workflows follow clear naming patterns:
This makes workflows discoverable and their purpose immediately clear.
Recommendations
1. Continue Standardization
The 50-100 KB size range represents an optimal workflow structure. New workflows should target this range to maintain consistency and reusability.
2. Expand Campaign Workflows
With only 1 campaign workflow identified, there's opportunity to create more systematic, iterative workflows for:
3. Permission Patterns Documentation
The analysis found no explicit permissions in the extracted data (likely due to YAML structure). Consider documenting common permission patterns to help workflow authors choose appropriate access levels.
4. Schedule Optimization
Continue the staggered schedule approach. Consider:
5. Safe Output Best Practices
Document when to use each safe output type:
6. Timeout Tuning
The 17-minute average timeout is reasonable, but consider:
Methodology
Data Collection
.github/workflows/Analysis Tools
/tmp/gh-aw/cache-memory/Cache Memory
Analysis scripts and patterns stored in
/tmp/gh-aw/cache-memory/for:Statistical Methods
Future Analysis Opportunities
Trend Analysis: Compare with future runs to track:
Performance Correlation: Correlate workflow characteristics with:
Engine Comparison: Deep dive into engine-specific patterns:
Dependency Analysis: Map workflow dependencies:
Analysis Generated: 2026-01-27
Repository: githubnext/gh-aw
Lock Files Analyzed: 139
Total Size: 10.4 MB
Analysis Engine: Lockfile Statistics Analysis Agent (Claude Sonnet 4.5)
Beta Was this translation helpful? Give feedback.
All reactions