📊 Agentic Workflow Lock File Statistics - November 24, 2025 #4628
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.
-
This comprehensive analysis examines all 100 lock files in the githubnext/gh-aw repository to understand patterns, usage trends, and structural characteristics of agentic workflows.
Executive Summary
Full Statistical Analysis
File Size Distribution
Statistics:
Observations:
Trigger Analysis
Most Popular Triggers
Note: 82 files (82%) have triggers defined; 18 files (18%) have no triggers.
Trigger Subtypes Analysis
Discussion Triggers:
created: 4 workflowsedited: 4 workflowsIssue Triggers:
opened: 10 workflowsedited: 7 workflowsreopened: 7 workflowslabeled: 2 workflowsPull Request Triggers:
opened: 5 workflowsedited: 5 workflowsreopened: 5 workflowslabeled: 4 workflowsSchedule Triggers:
Common Trigger Combinations
Key Insight: The dominant pattern (42%) is combining scheduled automation with manual override capability (schedule + workflow_dispatch).
Schedule Patterns
Sample of unique cron patterns found:
0 0,6,12,18 * * *0/10 * * * *0 11 * * 1-50 14 * * 1-50 15 * * 10 22 * * *0 9 * * *Total: 45 workflows use schedule triggers with various cron patterns ranging from every 10 minutes to weekly.
Files Without Triggers (18 total)
These workflows likely serve as reusable components or are triggered via other mechanisms:
Pattern: Many of these are test workflows or MCP server configurations (shared/mcp/).
Safe Outputs Analysis
Safe Output Types Distribution
Total Safe Output Instances: 87 (some workflows use multiple safe output types)
Discussion Categories
For workflows using
create-discussion, the following categories are specified:Observation: "audits" (lowercase) is by far the most common category, used for workflow analysis reports and automated audits.
Structural Characteristics
Timeout Configuration
Analysis of
timeout-minutesvalues across all workflows:Note: Count exceeds 100 because each job within a workflow can have its own timeout setting.
Key Findings:
Concurrency Settings
Common Patterns:
group: "gh-aw-${{ github.workflow }}"- Per-workflow groupinggroup: "gh-aw-${{ github.workflow }}-${{ github.event.issue.number }}"- Per-issue groupingcancel-in-progress: true- Some workflows cancel in-progress runsJob Complexity
Common Job Names (across all workflows):
Typical Workflow Structure:
activation- Check if workflow should runpre_activation(optional) - Additional setupagent- Main AI agent taskdetection- Analyze resultscreate_discussion/add_comment/create_issue- Safe outputmissing_tool(conditional) - Report missing toolsconclusion- Final cleanupEstimated Average:
Permission Patterns
Most Common Permissions
Permission Scope Analysis:
contents,pull-requests, andissues(read access)actionspermission for workflow artifact accessdiscussionspermissionPermission Distribution
security-eventspermissionTool & MCP Patterns
MCP Server Usage
Finding: No MCP servers are configured in any of the analyzed lock files.
This is surprising given the repository's focus on agentic workflows. Possible explanations:
AI Engine Distribution
Based on comments and configuration hints found in lock files:
Note: Most workflows don't specify an engine, likely using system defaults.
Common Tool Patterns
Based on safe outputs and workflow structure:
Average Lock File Structure
Based on statistical analysis, a typical .lock.yml file has:
Interesting Findings
Manual Override is Standard: 73% of workflows support manual triggering via
workflow_dispatch, indicating operational flexibility is prioritized.Discussion Creation Dominates: 30% of workflows create discussions, making it the most popular safe output. This suggests a strong preference for threaded, collaborative communication over simple issue creation.
Automated Reporting is Common: 42% combine scheduled runs with manual override (schedule + workflow_dispatch), pointing to heavy use of automated daily/periodic reporting.
No MCP Integration: Surprisingly, none of the 100 lock files configure MCP servers, despite MCP being a key technology for agentic workflows.
Consistent Timeouts: 65% use 10-minute timeouts, suggesting most agentic tasks complete quickly or are designed to be time-bounded.
Universal Concurrency Control: 100% of workflows implement concurrency management, preventing resource waste and race conditions.
"audits" Category Leadership: The "audits" discussion category is used 4x more than any other category, indicating this repository heavily focuses on automated auditing and analysis.
Test Workflows Have No Triggers: 18 workflows lack triggers, with many being test workflows that are likely called programmatically or serve as reusable components.
Historical Trends
First Analysis: This is the initial comprehensive analysis of lock files in this repository. Future runs will compare against this baseline to track:
Baseline Metrics (November 24, 2025):
Recommendations
Based on this comprehensive analysis:
Standardize Discussion Categories: Consider consolidating "audits", "Audits", and "audit" into a single canonical category to improve organization.
Investigate MCP Integration: With 0% MCP adoption in lock files, evaluate whether MCP integration should be documented or encouraged for enhanced agent capabilities.
Document Trigger Patterns: The schedule + workflow_dispatch pattern (42% adoption) could be documented as a best practice for automated workflows with manual override.
Optimize File Sizes: With 63% of files in the 200-300 KB range, consider whether there are opportunities to reduce duplication or extract common patterns.
Review No-Trigger Workflows: Audit the 18 workflows without triggers to ensure they're intentionally designed as components or properly integrated into the workflow ecosystem.
Timeout Guidelines: Document the rationale for 10-minute vs 20-minute timeouts to help workflow authors choose appropriate values.
Safe Output Best Practices: With create-discussion being dominant (30%), document when to prefer discussions over issues or PRs.
Methodology
.github/workflows/**/*.lock.yml/tmp/gh-aw/cache-memory/Generated by Lockfile Statistics Analysis Agent on November 24, 2025
Beta Was this translation helpful? Give feedback.
All reactions