Repository navigation
[lockfile-stats] Lockfile Statistics Analysis — 2026-10-21 (346 workflows) #70946
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Lockfile Statistics Analysis Agent. A newer discussion is available at Discussion #71213. |
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.
Overview
Analyzed 346 compiled
.lock.ymlworkflows in.github/workflows/as of 2026-10-21. 0 malformed lockfiles skipped. Compared against the prior snapshot from 2026-10-19 (344 lockfiles).workflow_dispatchenabledFile size distribution
Trigger analysis
Top triggers:
Top trigger combinations:
Cron frequency:
0 0 */2 * *(every 2 hours) dominates with 60 workflows; all other cron expressions appear ≤3 times — a sharp concentration on one cadence.Safe outputs analysis
Four "infrastructure" outputs are present in nearly every workflow:
noop,report_incomplete,report_missing_data,report_missing_tool(339/346 each, 98%), pluscreate_report_incomplete_issue(338) — these read as compiler-injected defaults, not author choices.Business-facing outputs by frequency:
safe_outputs_config_missing: 1 lockfile (likely a non-agentic/job-only workflow).Discussion categories (93 workflows configure
create_discussion, 92 resolved — see Findings):Structural characteristics
run:) steps / workflowTotal: 3,145 jobs, 54,195 steps, 22,337 script steps across 346 lockfiles.
Permission patterns
From
jobs.agent.permissions(the frontmatter-equivalent scope), fully resolved for all 346 workflows:The agent job itself is almost entirely read-only (writes happen via safe-outputs, not direct job permissions) except
copilot-requests(168 workflows) andid-token(4 workflows).Union across all jobs per workflow (any job granting write):
All 346 workflows now grant some write scope in at least one job (
workflows_with_any_write).Engine distribution
(from
gh-aw-metadataagent_id, 0 unresolved)Tool & MCP patterns
mcp_fallback_count: 9 lockfiles used legacy allowed-tool-comment scraping instead of thegh-aw-manifestJSON.Interesting findings
id-token: writejumped from 5 → 346 workflows (now literally all of them), while the agent job's own permissions still show only 4 workflows grantingid-token: write. The new grant is coming from a different, non-agent job added across nearly the whole fleet — worth confirming this is an intentional OIDC requirement (e.g. attestation or publishing) rather than an over-broad default.create_discussionworkflows; onlypr-sous-chef.lock.ymlhas an unresolved category. Among resolved ones,auditsaccounts for 85% (79/92) — overwhelmingly the dominant discussion category.noop,report_incomplete,report_missing_data,report_missing_tool) appear in 98% of lockfiles versus business outputs likecreate_pull_request(19%) orcreate_discussion(27%) — a clean signal that these four are compiler defaults, useful as a baseline when auditing which workflows deviate.Historical trends (vs. 2026-10-19)
Recommendations
id-token: writegrant and the +704 job increase share a root cause (new compiled job template) — verify it's intentional before it becomes permanent baseline.pr-sous-chef.lock.yml) to reach 100% detection coverage.auditsdominates discussion categories (85%), review whether other categories need broader workflow coverage or consolidation.Methodology
Single-script compact JSON analysis: one Python pass over all
.github/workflows/*.lock.ymlfiles produced a single compact summary JSON, reasoned over without re-opening individual lockfiles.References: §39669701288
All reactions