📊 Agentic Workflow Lock File Statistics - 2025-11-02 #2976
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.
-
📊 Agentic Workflow Lock File Statistics - 2025-11-02
Executive Summary
This comprehensive analysis examines 69 agentic workflow lock files (
.lock.yml) in thegh-awrepository, totaling 13.46 MB of configuration. The average lock file is 199.74 KB, with the largest beingpoem-bot.lock.ymlat 371 KB and the smallest beingopencode.lock.ymlat 23 KB.Key Findings:
Full Report Details
File Size Distribution
Statistics:
opencode.lock.yml(22.76 KB) - shared MCP configurationpoem-bot.lock.yml(371.38 KB) - creative content generation workflowObservation: The vast majority (65%) of lock files exceed 200 KB, indicating comprehensive configurations with extensive prompt instructions, multiple jobs, and rich MCP integrations.
Trigger Analysis
Most Popular Triggers
workflow_dispatchschedulepull_requestissue_commentissuesworkflow_rundiscussion_commentdiscussionpull_request_review_commentpushKey Insights:
workflow_dispatch, enabling on-demand executionschedulefor proactive monitoring and maintenanceCommon Trigger Combinations
schedule, workflow_dispatchpull_request, schedule, workflow_dispatchpull_request, workflow_dispatchissue_comment, issues, workflow_dispatchpush, workflow_dispatchMost Versatile Workflows:
scout.lock.yml- 7 triggers: discussion, discussion_comment, issue_comment, issues, pull_request, pull_request_review_comment, workflow_dispatchq.lock.yml- 6 triggers: Same as scout minus workflow_dispatchSchedule Patterns
0/10 * * * *0 9 * * 1Note: Most scheduled workflows use GitHub's default schedule handling rather than explicit cron expressions in the analyzed content.
Safe Outputs Analysis
Safe Output Types Distribution
All workflows support the safeoutputs MCP server for GitHub integration. The following safe output types are available in 58 workflows (84%):
create_discussioncreate_issueadd_commentcreate_pull_requestupdate_issuecreate_pull_request_review_commentmissing_toolKey Insight: The uniform adoption (84%) indicates workflows are built on a common template that includes all safe output capabilities, even if not all are used in practice.
Discussion Categories Usage
auditsAuditsideasartifactsdevdaily-newssecurityresearchObservation: The "audits" category (14 total with both casings) is the primary destination for workflow outputs, aligning with the audit-focused nature of many workflows.
Structural Characteristics
Job Complexity
Interpretation: Workflows are moderately complex with multiple jobs coordinating different aspects of analysis. The high step count indicates detailed, multi-phase operations within each job.
Timeout Configuration
Insight: Conservative timeout settings (under 15 minutes on average) suggest workflows are optimized for quick feedback. The 30-minute maximum accommodates intensive analysis tasks.
Average Lock File Structure
Based on statistical analysis, a typical .lock.yml file has:
Permission Patterns
Most Common Permissions
contents: readpull-requests: readissues: readissues: writediscussions: writepull-requests: writeactions: readcontents: writediscussions: readsecurity-events: readPermission Distribution
Security Posture: Workflows follow least-privilege principles with heavy emphasis on read access. Write permissions are primarily for creating discussions and issues (safe outputs) rather than code changes.
Tool & MCP Patterns
MCP Server Usage
githubplaywrightdeepwikiarxivObservations:
Firewall-Protected Workflows
4 workflows implement firewall protection:
dev.firewall.lock.ymldaily-firewall-report.lock.ymlfirewall.lock.ymlsmoke-copilot.firewall.lock.ymlPurpose: Firewall workflows add security layers for sensitive operations or external integrations.
Interesting Findings
1. Universal Concurrency Control
All 69 workflows (100%) implement concurrency settings, preventing duplicate runs and resource conflicts. This demonstrates mature workflow orchestration practices.
2. Template-Driven Development
The uniform distribution of safe output types (58 workflows with all 7 types) suggests workflows are generated from or follow consistent templates, promoting best practices and maintainability.
3. Schedule vs. Manual Balance
With 27 workflows using
schedule + workflow_dispatchcombination, there's a clear pattern of "automated by default, manual when needed" - allowing proactive monitoring with manual override capability.4. Size Inflation
65% of lock files exceed 200 KB, significantly larger than typical GitHub Actions workflows. This is attributed to:
5. Read-Heavy Permission Model
With read permissions outnumbering write permissions significantly for core resources (contents, PRs, issues), workflows emphasize analysis and reporting over modification, aligning with agentic assistant use cases.
6. Minimal Cron Diversity
Only 2 distinct cron patterns detected, with most schedules likely using GitHub's schedule feature without explicit cron expressions. The "every 10 minutes" pattern (3 workflows) indicates high-priority monitoring tasks.
7. Scout & Q: Super Workflows
scout.lock.ymlandq.lock.ymlstand out as universal assistants responding to 6-7 different event types, making them the most versatile workflows in the repository.Historical Trends
Comparing with the previous analysis (2025-11-01):
Trend Analysis:
example-permissions-warning.lock.ymlor similar)Recommendations
1. Standardize Discussion Categories
With "audits" and "Audits" both in use, consider standardizing on lowercase "audits" for consistency across all workflows.
2. Optimize Lock File Sizes
With 65% of files exceeding 200 KB, investigate:
3. Expand MCP Server Diversity
With 93% GitHub MCP usage, explore opportunities to integrate:
4. Document Trigger Patterns
Create a decision matrix for when to use:
scheduleonly (fully automated monitoring)workflow_dispatchonly (on-demand tools)5. Right-Size Timeouts
With average timeout at 14.7 minutes but max at 30, review workflows approaching the limit to:
6. Leverage Historical Data
The cache memory now contains trend data from 2025-10-26 onwards. Implement automated trend reporting to:
Methodology
Data Collection
.lock.ymlfiles in.github/workflows/,.github/workflows/shared/, and.github/workflows/shared/mcp/Analysis Techniques
Cache Memory
Analysis scripts and historical data are persisted in
/tmp/gh-aw/cache-memory/:scripts/analyze_lockfiles.py(main analysis)history/2025-11-02.json(today's results)Limitations
Generated by Lockfile Statistics Analysis Agent on 2025-11-02 at 03:27 UTC
Analysis based on 69 .lock.yml files totaling 13.46 MB
Cache:
/tmp/gh-aw/cache-memory/| History:history/2025-11-02.jsonBeta Was this translation helpful? Give feedback.
All reactions