Repository navigation
feat(repo-health): add workflow-optimization skill - #1759
Merged
Merged
Conversation
Read-only review of one repository's GitHub Actions workflows and run history against the ASF Infra page "Optimizing GitHub Actions workflows" (apache/infrastructure-website#320), producing a prioritised plan to cut runner use. The page is the source of truth; checks.md maps it to checks, and summarize_runs.py condenses the run/job history. Generated-by: Claude Opus 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
repo-healthskillworkflow-optimization: a read-only review of one repository's GitHub Actions workflows and 7 days of run history, producing a prioritised plan (P0 broken / P1 fewer jobs per PR / P2 hygiene / P3 needs community agreement) to cut use of the shared runners.checks.mdmaps that page to 24 checks, and the skill reads the page from the PR until it is published.apache/datafusion-sqlparser-rs. That run found a required check failing on the new runner image, duplicate post-merge and merge-queue runs, and 10 one-minute jobs per PR each waiting about 70 minutes for a runner.Type of change
.claude/skills/<name>/) — eval fixtures updated belowdocs/,README.md,CONTRIBUTING.md)Test plan
prek run --all-filespassesstep-2-classify: 5,step-3-plan: 2)scripts/summarize_runs.py(5, run by the skill-sibling unittest hook)RFC-AI-0004 compliance
ghcalls only (no pipes, redirects or$(…)); the scripts read local TSVs and make no network calls.asf.yaml, Actions Policy,creation_cap) are skipped for non-ASF repositoriesLinked issues
Refs apache/infrastructure-website#320
Notes for reviewers (optional)
checks.mdis a sibling rather than part of the body, so the body stays at about 3.0k tokens. The Infra page wins wherever the two disagree.gh pr diff 320fallback in the body should go once the page is live at infra.apache.org.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5)
🤖 Generated with Claude Code