[lockfile-stats] Lockfile Statistics Audit — 2026-06-14 (246 workflows, 27.6 MiB compiled) #39283
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Lockfile Statistics Analysis Agent. A newer discussion is available at Discussion #39456. |
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 246 compiled
.github/workflows/*.lock.ymlfiles on 2026-06-14. None malformed (0 skipped).run:scripts (total)File Size Distribution
Compiled lockfiles are uniformly large — every file exceeds 50 KB, and 95% exceed 100 KB.
Largest:
smoke-copilot-aoai-entra(176.6 KB),smoke-copilot-aoai-apikey(176.2 KB),smoke-copilot(175.5 KB),smoke-claude(173.4 KB),smoke-copilot-arm(163.3 KB).Smallest:
test-workflow(77.9 KB),example-permissions-warning(78.6 KB),codex-github-remote-mcp-test(79.4 KB),firewall(79.8 KB).Trigger Analysis
workflow_dispatchschedulepull_requestissuesissue_commentpushworkflow_run/discussion/discussion_comment/pull_request_review_commentTop trigger combinations:
schedule+workflow_dispatch(161),workflow_dispatchonly (47),pull_request+workflow_dispatch(26). The scheduled-plus-manual pattern dominates (65% of all workflows), confirming this fleet is overwhelmingly cron-driven agentic automation with a manual escape hatch.Schedule cadence: 165 scheduled triggers across ~30 distinct cron lines; nearly all run once daily, a handful
*/4–*/6hourly, and several weekday-only (* * 1-5). Cron minutes are well-jittered (no clustering on:00), which is good for avoiding API thundering-herd.Safe Outputs Analysis
Structural Characteristics
firewall-escapesmoke-copilotCompiled workflows are structurally heavy: a typical agentic workflow expands to ~8 jobs and ~116 steps. Total fleet footprint is ~28.4k steps and ~12.8k inline scripts.
Permission Patterns
Tool & MCP Patterns
Engines (per compiled job/config occurrence):
copilot(164),claude(63),codex(14), plus one each ofantigravity,crush,gemini,opencode,pi. Copilot is the majority engine (~68%), Claude second (~26%).MCP servers (occurrence frequency):
github(6,552 — overwhelmingly dominant),playwright(168),sentry(64),ruflo(16),grafana(14),arxiv(6),deepwiki(6).MCP tool surface: the GitHub MCP read toolset is uniformly mounted — 30+
github::*tools each appear in exactly 126 workflows (e.g.get_pull_request,list_issues,search_code,get_workflow_run_logs). That flat 126 count indicates a shared default GitHub toolset template applied to roughly half the fleet.Interesting Findings
smoke-copilot-*variants (Entra, API-key, ARM, AOAI) are also the four largest lockfiles, so Copilot config expansion is the single biggest size contributor.test-workflow) means the marginal cost of any workflow is high — worth investigating shared-template extraction.firewall-escapeis the structural outlier at 12 jobs (fleet max), 50% above the 8-job average.:00clustering, reducing API burst risk for 165 scheduled workflows.Historical Trends
Comparing latest prior day 2026-06-13 → 2026-06-14 (both 246 lockfiles):
Read: workflow count is flat, but compiled size and step counts are creeping up — 5 workflows crossed from the 50–100 KB band into 100 KB+ in one day, and the fleet gained ~492 steps with no new jobs. This is compiler/template growth, not new automation.
Longer arc (2026-05-20 → 2026-06-14, ~25 days): lockfiles 233 → 246 (+13), total size 22.4 MiB → 27.6 MiB (+23%), avg size 96 KB → 117 KB (+22%). Per-file expansion is outpacing file-count growth — the compiled footprint is growing faster than the number of workflows.
Recommendations
lockfile_stats_v2to restore safe-output, permission, and discussion-category extraction (descend into job-levelpermissions:and parse the safe-outputs config block). These three sections are currently unmeasured.Methodology
Single-script compact JSON analysis: one cached Python analyzer (
lockfile_stats_v1.py) parsed all 246 lockfiles in one pass and emitted a compact (~4.8 KB) JSON summary; all insights derive from that summary plus historical snapshots in cache-memory. No lockfiles were opened individually for analysis. Empty-field caveats above reflect genuine v1 extractor gaps, surfaced honestly rather than fabricated.References: §27511358251
Beta Was this translation helpful? Give feedback.
All reactions