📊 Agentic Workflow Lock File Statistics - February 2026 #15656
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-21T08:26:44.089Z.
|
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.
-
Executive Summary
This comprehensive statistical analysis examines 150 agentic workflow lock files (
.lock.yml) in thegithub/gh-awrepository, providing insights into usage patterns, structural characteristics, and configuration trends across the workflow ecosystem.Key Highlights:
workflow_dispatch(135 workflows, 90%)File Size Distribution
Size Statistics:
codex-github-remote-mcp-test.lock.ymlsmoke-copilot.lock.ymlInsight: The overwhelming majority (92%) of workflows fall in the 50-100 KB range, indicating a consistent and well-optimized workflow structure across the repository.
Trigger Analysis
Most Popular Triggers
workflow_dispatchschedulepull_requestissue_commentissuespull_request_review_commentdiscussion_commentdiscussionworkflow_runpushCommon Trigger Combinations
schedule+workflow_dispatch: 100 workflows (66.7%)workflow_dispatchonly: 18 workflows (12.0%)pull_request+schedule+workflow_dispatch: 6 workflows (4.0%)issuesonly: 4 workflows (2.7%)Multi-event listeners (discussion, issue, PR, comments): 3 workflows (2.0%)
Insight: The dominance of
workflow_dispatch(90%) andschedule(72.7%) indicates a preference for controlled, predictable workflow execution rather than event-driven automation.Schedule Patterns
View Detailed Cron Schedule Analysis
Most Common Schedule Frequencies
0 14 * * 1-50 13 * * 1-50 11 * * 1-50 9 * * 1-50 15 * * 1-50 16 * * 1-50 10 * * 1-50 */6 * * **/30 * * * *Scheduling Insights:
1-5(Monday-Friday) pattern, respecting business daysSafe Outputs Analysis
Safe outputs are the primary mechanism for workflows to produce user-visible results (issues, discussions, comments, etc.).
Safe Output Type Distribution
noopadd-commentImportant Finding: The overwhelming use of
noop(1,859 occurrences vs. 98 foradd-comment) suggests that:Workflows Using Multiple Safe Output Types
26 workflows use multiple safe output types, combining
noop(for status) withadd-comment(for findings):View Workflows with Multiple Safe Outputs
Pattern: These workflows typically:
noopto report "all clear" statusadd-commentto report findings when issues are detectedStructural Characteristics
Job Complexity
Insight: The uniform single-job architecture indicates a standardized workflow pattern, where complexity is managed within job steps rather than through multiple parallel jobs.
Step Complexity
daily-copilot-token-report.lock.yml)codex-github-remote-mcp-test.lock.yml)Step Count Distribution:
Average Lock File Structure
Based on statistical analysis, a typical
.lock.ymlfile has:workflow_dispatch+schedulenoopprimary,add-commentconditionalPermission Patterns
Finding: No explicit job-level permissions were detected in the analysis (empty permissions object).
Interpretation:
permissions: {}(empty permissions)Tool & MCP Patterns
MCP Server Usage
githubplaywrightarxivdeepwikiKey Insights:
Engine Distribution
The repository uses multiple AI engines to power agentic workflows:
Engine Strategy Insights:
Concurrency & Timeout Patterns
Concurrency Control
gh-aw-$\{\{ github.workflow }}orgh-aw-copilot-$\{\{ github.workflow }}Benefit: Prevents resource waste and ensures only one instance of each workflow runs at a time.
Timeout Configuration
Timeout Strategy:
Interesting Findings
Standardized Architecture: 100% of workflows follow a consistent pattern:
"Progressive Disclosure" Pattern: Extensive use of
noop(1,859 occurrences) demonstrates a mature pattern where workflows report status even when no action is needed, improving transparency and debuggability.Weekday Scheduling: Many scheduled workflows explicitly target weekdays (
1-5pattern), respecting business hours and reducing weekend noise.Engine Diversity: Despite Copilot's dominance (68.7%), the repository maintains 4 different engines, enabling A/B testing and specialized capabilities.
Conservative MCP Adoption: Only 28% of workflows use MCP servers, suggesting most tasks can be accomplished with built-in tools and GitHub API access.
Size Consistency: 92% of workflows fall in the 50-100 KB range, indicating predictable resource requirements and consistent workflow patterns.
Minimal Permissions: Empty top-level permissions with job-level grants follow security best practices.
Recommendations
Based on the analysis, here are actionable recommendations:
Standardize Schedule Distribution: Consider load-balancing scheduled workflows more evenly across UTC hours to prevent potential bottlenecks during peak times (9 AM - 4 PM UTC).
MCP Server Expansion: With only 28% of workflows using MCP servers, there may be opportunities to:
Engine Performance Tracking: With 4 different engines, establish metrics to compare:
Safe Output Expansion: Consider adding more safe output types beyond
noopandadd-comment:create-issuefor findings requiring trackingcreate-discussionfor analysis reportsupdate-issuefor status updates on existing issuesTimeout Optimization: Review the ~22-minute average timeout:
Size Optimization: Investigate the 2 workflows over 100 KB:
smoke-copilot.lock.yml(108 KB)Methodology
.github/workflows/*.lock.yml/tmp/gh-aw/cache-memory/for reusecache-memory/history/2026-02-14.jsonTechnical Approach:
.lock.ymlfiles in workflows directoryReferences:
Analysis generated on 2026-02-14 by Lockfile Statistics Analysis Agent
Beta Was this translation helpful? Give feedback.
All reactions