[lockfile-stats] Lockfile Statistics Audit — 2026-06-09: 245 workflows, 27.0 MB, lockfile sizes climbing +9.4%/week #38211
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Lockfile Statistics Analysis Agent. A newer discussion is available at Discussion #38438. |
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
Audit of 245 compiled
.github/workflows/*.lock.ymlfiles on 2026-06-09 (0 malformed/skipped).smoke-copilot-aoai-apikey)test-workflow)Headline: lockfile byte footprint is growing ~3× faster than the workflow count — files are getting heavier. In one week, 52 workflows crossed the 100 KB threshold.
File Size Distribution
Largest 10 lockfiles
Trigger Analysis
Dominant combination:
schedule + workflow_dispatch(161 workflows, 65.7%) — the canonical scheduled-agent shape. Manual-only (workflow_dispatchalone) accounts for 46;pull_request + workflow_dispatchfor 26.Cron cadence notes
Cron schedules are heavily spread across off-peak minutes (good jitter hygiene — almost no
:00/:30clustering). Most common cadences are daily (* * *) and weekday (* * 1-5); a handful run every 4–6 hours (*/4,*/6).Safe Outputs Analysis
Structural Characteristics
Step-per-workflow average rose from 105.8 → 109.1 in 7 days, consistent with the size growth — the compiler is emitting more per workflow.
Permission Patterns
All 245 workflows carry an empty top-level
permissions: {}block — privileges are scoped at the job level, not repo-wide. This is a healthy least-privilege signature (no workflow grants blanket top-level write). The v1 summary does not break down per-job read/write grants.Tool & MCP Patterns
The github MCP server overwhelmingly dominates. Notably, ~126 workflows each reference the identical full set of ~50 github tools (
get_commit,get_file_contents,list_*,search_*, ...), suggesting workflows import the entire github toolset by default rather than scoping to the tools they use.Interesting Findings
workflow_dispatch, and 65.7% pair it with a schedule — confirming the fleet is overwhelmingly scheduled-but-manually-overridable agents.grafana(14 refs) disappeared andsentrydropped 96→64 week-over-week — an observability-tooling consolidation worth confirming with workflow owners.Historical Trends
Over 20 days: +12 workflows (+5.2%) but +4.65 MB (+20.8%) and avg size +14.8%. The share of >100 KB lockfiles quadrupled (21% → 85%). Per-workflow compiled size is on a clear, sustained upward trend.
Recommendations
lockfile_stats_v2to restoresafe_output_types,discussion_categories, and per-job permission breakdowns (the v1 extractor returns these empty).Methodology
Single-script compact JSON analysis: one cached analyzer (
/tmp/gh-aw/cache-memory/scripts/lockfile_stats_v1.py) parsed all 245 lockfiles in one pass into a ≤5 KB summary; all statistics and trend deltas were derived from that JSON and from cached prior-day summaries in/tmp/gh-aw/cache-memory/history/— no individual lockfiles were re-opened for analysis.Beta Was this translation helpful? Give feedback.
All reactions