[lockfile-stats] Lockfile Statistics Audit — 2026-05-30 #35987
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Lockfile Statistics Analysis Agent. A newer discussion is available at Discussion #36151. |
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
Snapshot of all
.github/workflows/*.lock.ymlcompiled agentic workflows as of 2026-05-30.test-workflow) / 181,854 B (smoke-claude)The corpus is large and remarkably uniform: every lockfile sits between 63–182 KB, reflecting a shared compilation template. Generated agent workflows are heavyweight artifacts — averaging ~104 steps and ~8 jobs each.
File Size Distribution
No lockfile falls below 50 KB — the compiler floor. The split is near-even, with the heaviest tier dominated by the
smoke-*engine matrix and report-style agents.Largest 10 lockfiles
Trigger Analysis
Most common combinations:
schedule+workflow_dispatch(157),workflow_dispatchonly (39),pull_request+workflow_dispatch(28). Nearly all workflows keep a manual dispatch escape hatch, and roughly two-thirds run on cron — confirming this repo is dominated by scheduled, autonomous agents rather than event-reactive ones.Cron cadence notes
Most schedules are daily (
m h * * *) with off-peak minutes to avoid the :00 fleet stampede. A handful use weekday-only (* * 1-5), every-4h/6h (*/4,*/6), and weekly (* * 0,* * 1,* * 3) cadences. Minutes are well-distributed (no clustering on :00), which is good API-load hygiene.Safe Outputs Analysis
The v1 extractor did not resolve safe-output type or discussion-category fields from the current lock format (both sections returned empty). This is a known extractor gap rather than an absence of safe outputs — these workflows clearly emit safe outputs at runtime. Flagged below as a methodology limitation to fix in a schema bump.
Structural Characteristics
firewall-escape)smoke-copilot)The narrow job range (5–12) and step range (68–142) again show how templated these artifacts are. The bulk of each lockfile is boilerplate scaffolding (setup, MCP config, safe-output plumbing) rather than task-specific logic.
Timeout distribution (across all jobs)
Most jobs cap at 6–30 minutes — sensible bounds for agentic runs. Only 3 jobs exceed 60 min.
Permission Patterns
Top-level permissions rendered as an empty map (
{}) for all 236 files in the v1 extractor, and read/write scope breakdowns were not captured. Like safe outputs, this is an extractor limitation against the current lock structure, not evidence of unrestricted permissions. Noted for the next schema revision.Tool & MCP Patterns
The GitHub MCP server is ubiquitous — 6,552 references across the corpus, dwarfing all others. The top GitHub tools (
get_commit,get_pull_request,issue_read,list_commits,get_workflow_run, ...) each appear in exactly 126 workflows, indicating a shared read-only GitHub toolset bundled into a large common subset of agents.Engine distribution:
Copilot is the default engine for ~65% of workflows, with Claude the primary alternative.
Interesting Findings
workflow_dispatch; only ~15% react to PRs and <2% to issues. This is a fleet of proactive agents, not reactive bots.smoke-*engine matrix is the heavyweight tier — the four largest files are all engine smoke tests, naturally exercising the broadest tool/config surface.Historical Trends (vs 2026-05-29)
The fleet size held steady while every lockfile grew ~1.2 KB, pushing 17 workflows across the 100 KB threshold. Triggers, engines, MCP usage, and structural counts were otherwise identical — consistent with a uniform compiler/template change (likely the recent regeneration) rather than per-workflow edits.
Recommendations
lockfile_stats_v2.pyonce the lock format mapping is corrected.Methodology
Single-script compact JSON analysis: one cached Python analyzer (
lockfile_stats_v1.py) parsed all 236 lockfiles in a single pass and emitted a ~4.7 KB JSON summary; all insights above derive from that summary plus the cached 2026-05-29 history snapshot. Limitation: safe-output, discussion-category, and permission-scope extraction returned empty under v1 and should be treated as not-captured (not as zero). 0 malformed/skipped files.Beta Was this translation helpful? Give feedback.
All reactions