Repository navigation
[lockfile-stats] Lockfile Statistics Audit — 2026-10-14 #68822
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Lockfile Statistics Analysis Agent. A newer discussion is available at Discussion #69101. |
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
Methodology: single-script compact JSON analysis (cached analyzer
lockfile_stats_v4.py, reused from prior runs; self-checks on discussion-category and engine/permission resolution passed).File size distribution
Trigger analysis
Top trigger combinations:
schedule+workflow_dispatch(214),workflow_dispatchonly (71),pull_request+schedule+workflow_dispatch(33),pull_request+workflow_dispatch(9).Most common cron:
0 0 */2 * *(every 2 days) — 60 workflows, up from 57 yesterday.Safe outputs analysis
Every workflow carries the baseline safe-output set (
missing_data,missing_tool,noop,report_incomplete,create_report_incomplete_issue— 337 each). Beyond baseline, the most common write types:Discussion categories (93 workflows configure
create_discussion; 92 resolved to a category, 1 unresolved:pr-sous-chef.lock.ymlhas no detectableGH_AW_SAFE_OUTPUTS_CONFIG/category — same gap as prior runs, within the 10% self-check tolerance):Structural characteristics
run:)Timeout distribution (job
timeout-minutes): 10min ×386, 45min ×341, 60min ×333, with a long tail (2–300min) across 11 remaining workflows.Permission patterns
Derived from
jobs.agent.permissions(top-levelpermissions: {}carries no signal) — all granted scopes in the agent job areread; no agent-job scope is grantedwritedirectly:Union across all jobs in each workflow (where write access actually happens, e.g. in a separate safe-outputs job): 342/344 workflows (99.4%) grant some write scope, most commonly
issues(342),contents(228),discussions(96),pull-requests(151),copilot-requests(166 — Copilot engine billing/usage scope).Engine distribution
Tool & MCP patterns
7 lockfiles lack a
mcp_serversmanifest entry and were resolved via the legacy# - mcp__...comment fallback.Interesting findings
writedirectly — confirming the safe-outputs pattern (agent proposes, a separate job executes) is consistently applied fleet-wide.copilot-requests: writeappears in 166 workflows, closely tracking the Copilot engine count (141) plus some margin — likely workflows using Copilot as a secondary/fallback engine.0 0 */2 * *) scheduling dominates cron usage (60 workflows, 17% of all lockfiles), suggesting a strong fleet convention for low-frequency audits.create_discussionworkflows (pr-sous-chef.lock.yml) has an unresolved discussion category — a persistent, stable gap (unchanged for at least 2 days), likely a workflow using a non-standard safe-outputs config path rather than an extraction bug.Historical trends (vs 2026-10-13)
0 0 */2 * *The +3 lockfile growth is consistent across nearly every metric (triggers, jobs, engines), indicating 3 new workflows added using the standard scaffolding (schedule+workflow_dispatch, bi-daily cron, safe-outputs job split) rather than structural drift in existing workflows.
Recommendations
pr-sous-chef.lock.yml's safe-outputs config to close the one remaining unresolved discussion category (low priority, stable over time).copilot-requests: write(166) exceeds thecopilotengine count (141), confirm whether non-Copilot-engine workflows correctly need this scope, or if it's over-granted as a default.References:
All reactions