ci: add a CI usage report script #362
No reviewers
Labels
No labels
dependencies
major
security-pin
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
trails-cool/trails!362
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/usage-report"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
node scripts/ci-usage.mjs [days]prints runner minutes per job, median and p90 job time, and the wall time of green CI runs. It needs no token: it reads the public Forgejo API. Job times come from commit statuses, because the Actions API has no per-job timing.Rebased on main after #360, #361 and #363 merged. The only conflict was one row in
scripts/README.md.Baseline
The 30 days before 2026-11-18, before those three PRs:
How to use it
Run
node scripts/ci-usage.mjs 30on or after 2026-12-18 and compare with the table. The replays predict a saving of about 100 minutes in 30 days: about 63 from the path rule (#361) and about 43 from the identical-tree rule (#363). Most of the runner time is Renovate, which these PRs do not change.🤖 Generated with Claude Code
97b0e825d062eb9f41c1