📊 Agentic Workflow Lock File Statistics - 2026-02-13 #15353
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-20T08:35:11.002Z.
|
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 statistical analysis examines all 149 agentic workflow lock files (
.lock.yml) in the repository's.github/workflows/directory, providing insights into structure, patterns, and usage characteristics.Executive Summary
Key Findings:
workflow_dispatchfor manual triggeringFile Size Distribution
Size Statistics:
View Size Analysis
The tight clustering around 50-75 KB suggests:
The two outliers >100KB are smoke test workflows with extensive test matrices and step sequences.
Trigger Analysis
Most Popular Triggers
workflow_dispatchscheduleissue_commentpull_requestissuespull_request_review_commentdiscussion_commentdiscussionworkflow_runpushCommon Trigger Combinations
The most frequent multi-trigger patterns:
schedule, workflow_dispatch- 100 workflows (67.1%)pull_request, schedule, workflow_dispatch- 6 workflowspull_request, workflow_dispatch- 3 workflowsMulti-event responders - 3 workflows
View All Trigger Combinations
Schedule Patterns
Most Common Schedule Times (weekday business hours):
0 14 * * 1-50 13 * * 1-50 11 * * 1-50 9 * * 1-50 15 * * 1-50 10 * * 1-50 16 * * 1-5Schedule Distribution:
0 * * * *)*/30 * * * *)View All 91 Unique Schedule Patterns
The repository uses 91 distinct cron schedules, with times distributed throughout the day to:
Most schedules avoid the top of the hour (minute 0) by using random minute offsets (e.g.,
43 11 * * *,54 7 * * *), which helps distribute GitHub Actions runner load.Safe Outputs Analysis
Safe Outputs enable workflows to communicate results back to GitHub in structured ways. The system uses the
mcp__safeoutputs__*toolset.Safe Output Types Distribution
Key Observations:
Discussion Categories
When workflows create discussions, they're organized into these categories:
Total: 55 workflows specify explicit discussion categories (39% of discussion-creating workflows)
The "audits" category dominates, reflecting the repository's focus on automated code analysis and quality monitoring.
Structural Characteristics
Job Complexity
Understanding workflow structure and computational complexity:
Job Count Distribution:
Average Lock File Structure
Based on statistical analysis, a typical
.lock.ymlfile has:Timeout Configuration
Permission Patterns
Workflows request specific GitHub API permissions. Here's what they need access to:
Most Common Permissions
Permission Distribution
Analysis:
View Permission Strategy
The permission model follows these patterns:
The high read:write ratio (56:44) suggests a security-conscious approach with explicit write permissions only where needed.
Tool & MCP Patterns
Model Context Protocol (MCP) servers provide tools and capabilities to agentic workflows.
Most Used MCP Servers
MCP Adoption:
Common Tool Configurations
From observed patterns:
Standard Toolset (all workflows):
Extended Toolset (94% of workflows):
Specialized Tools (subset):
Concurrency Patterns
Concurrency controls prevent multiple workflow runs from interfering with each other.
$\{\{ github.workflow }}- One run per workflow type$\{\{ github.ref }}- One run per branch/tagAnalysis:
group: $\{\{ github.workflow }}-$\{\{ github.ref }}Interesting Findings
Standardization is High
Dual-Trigger Design Dominates
schedule + workflow_dispatchSchedule Time Diversity
Error Handling is Universal
Discussion-First Reporting
Permission Precision
Timeout Consistency
Minimal File Count Growth
Historical Trends
Comparing to previous analysis (2026-02-11):
Key Observations:
View Historical Safe Outputs Comparison
Notable: add_comment capability increased significantly (+68%), suggesting more workflows are gaining interactive commenting features.
Recommendations
Based on this comprehensive analysis:
Maintain Standardization
Optimize Schedule Distribution
Monitor Safe Output Usage
Permission Auditing
Size Monitoring
Category Organization
Historical Tracking
/tmp/gh-aw/cache-memory/history/Documentation
Methodology
Data Collection:
.lock.ymlfiles in.github/workflows/directoryAnalysis Process:
Data Accuracy:
Reproducibility:
/tmp/gh-aw/agent/analyze_lockfiles.pypython3 /tmp/gh-aw/agent/analyze_lockfiles.py .github/workflows/tmp/gh-aw/agent/report.jsonCache Memory Usage:
/tmp/gh-aw/cache-memory/scripts//tmp/gh-aw/cache-memory/history/2026-02-13.jsonAppendix: Technical Details
View Lock File Structure
A typical lock file contains:
View Safe Outputs Configuration Example
Safe outputs are configured in the workflow like this:
{ "create_discussion": { "category": "audits", "close_older_discussions": true, "expires": 168, "fallback_to_issue": true, "max": 1 }, "create_issue": { "max": 5 }, "missing_data": {}, "missing_tool": {}, "noop": {"max": 1} }This config allows:
Report Generated: 2026-02-13
Workflow Run: §21979911385
Analysis Agent: Lockfile Statistics Analysis Agent
Beta Was this translation helpful? Give feedback.
All reactions