Thanks guys! The comments on the PRs are all super helpful and help make that even better!
On Fri, Dec 4, 2026 at 2:36 PM Prithvi S <[email protected]> wrote: > Hi Robert, > > +1 on the direction, and thanks for the detailed breakdown. > > Thanks, > Prithvi > > On Fri, Dec 4, 2026 at 7:00 PM vignesh a <[email protected]> wrote: > > > Hi Robert, > > > > +1, thanks for splitting it into separate PRs. The trade-offs > > look acceptable to me.. > > > > Thanks, > > Vignesh > > > > On Fri, 4 Dec 2026 at 18:35, Alex Dutra via dev <[email protected]> > > wrote: > > > > > Hi Robert, > > > > > > Thank you for the detailed proposals. I reviewed all PRs and approved > > > most of them, also leaving a few minor comments. Overall, this goes in > > > the good direction. > > > > > > Thanks, > > > Alex > > > > > > On Fri, Dec 4, 2026 at 12:28 PM Robert Stupp <[email protected]> wrote: > > > > > > > > The PRs are up: > > > > > > > > Cache the Spark distribution used by the site guide tests: > > > > https://github.com/apache/polaris/pull/6333 > > > > > > > > Run the site guide tests on PRs only for guide changes: > > > > https://github.com/apache/polaris/pull/6334 > > > > > > > > Test all Helm and Kubernetes versions in a single Helm job: > > > > https://github.com/apache/polaris/pull/6335 > > > > > > > > Test all Python versions in a single Python client job: > > > > https://github.com/apache/polaris/pull/6336 > > > > > > > > Merge the license, changelog and build-logic checks into one job: > > > > https://github.com/apache/polaris/pull/6337 > > > > > > > > Run the Markdown link check only for PRs that change checked files: > > > > https://github.com/apache/polaris/pull/6338 (depends on 6334) > > > > > > > > On Fri, Dec 4, 2026 at 12:12 PM Robert Stupp <[email protected]> wrote: > > > > > > > > > Hi all, > > > > > > > > > > I'd like to propose a set of changes to our CI workflow > > > > > (.github/workflows/ci.yml) to reduce the number of jobs per run and > > the > > > > > runner time they use. > > > > > > > > > > The GitHub-hosted runners in the apache org are shared by all ASF > > > projects. > > > > > The ASF GitHub Actions policy [1] puts it this way: "Runners are a > > > shared > > > > > resource, so a project can slow every other project down while > > staying > > > > > inside these limits." > > > > > In practice the runners are busy around the clock, so every job we > > > start > > > > > also waits in a queue before it runs. > > > > > That makes the number of jobs per run matter, not only their > > duration. > > > > > > > > > > Where we are today (from recent CI/PR and CI/main runs): > > > > > - A full CI run has 26 jobs and uses ~1.7h of runner time when the > > > Gradle > > > > > build > > > > > cache hits and ~2.7-3.4h when it does not. > > > > > - The longest job takes 30-40+ minutes. > > > > > - ~20-35% of each run is per-job setup (checkout, JDK, Gradle, > > caches, > > > > > Minikube, ...) rather than actual checks. > > > > > - The site guide tests ("test-site-guides") run on every backend PR > > and > > > > > take > > > > > 15-17 minutes, and up to 42 minutes when the uncached Spark > > download > > > from > > > > > an ASF mirror is slow (~25 minutes for ~380 MB in one run). > > > > > - The Helm tests use 3 matrix jobs of ~4.5 minutes each, of which > `ct > > > > > install` > > > > > takes ~1.5 minutes. > > > > > - The Python client tests use 5 matrix jobs; the tests themselves > > take > > > > > ~20-30 > > > > > seconds per job. > > > > > - 9 of the 17 failed CI/main runs in the last 7 days had a failing > > > Markdown > > > > > link check, mostly caused by external sites. > > > > > > > > > > Proposed changes (one commit each, so they can be reviewed or > dropped > > > > > individually): > > > > > 1. Cache the Spark distribution used by the site guide tests. > > > > > 2. Run the site guide tests on PRs only when the guides or their > > > tooling > > > > > change. > > > > > Pushes to main and release branches still always run them. > > > > > 3. Run the Helm tests in one job instead of 3. > > > > > Static checks run once, the Helm/Kubernetes version pairs run > one > > > after > > > > > the other. > > > > > PRs that only touch backend code test only the latest pair; PRs > > > touching > > > > > the chart and all pushes test all pairs. > > > > > 4. Run the Python client tests for all Python versions in one job > > > instead > > > > > of 5. > > > > > 5. Merge the RAT, changelog-fragments and build-logic jobs into one > > > "Quick > > > > > Checks" job. > > > > > 6. Run the Markdown link check only on PRs that change one of the > > > checked > > > > > Markdown files, and no longer on pushes. > > > > > > > > > > Expected effect: > > > > > - A backend PR goes from 25 to 15 jobs, and a push to main from 26 > to > > > 17. > > > > > - A backend PR that does not touch the guides saves ~15-40 minutes > of > > > > > runner > > > > > time from the guide tests alone. > > > > > - The longest job no longer depends on ASF mirror download speed. > > > > > - The single Helm and Python jobs take longer than each former > matrix > > > job > > > > > (my estimate: ~12 and ~5-7 minutes), but stay well below the > > longest > > > > > jobs, > > > > > so the overall CI duration should not increase. > > > > > I will report measured numbers on the PR. > > > > > > > > > > What we give up: > > > > > - A backend change that breaks a guide, or that breaks only an > older > > > Helm > > > > > version, is detected by the push build after merge, not on the > PR. > > > > > - A link that breaks later because an external site changed is no > > > longer > > > > > detected automatically. > > > > > If people want that, a nightly link check would be an easy > > addition. > > > > > > > > > > Not part of this proposal: > > > > > The long Gradle test tasks (polaris-runtime-service, polaris-admin, > > and > > > > > the Gradle build checks) are the other big part of our runner > usage. > > > > > > > > > > Questions: > > > > > - Are the trade-offs above acceptable, especially running the guide > > > tests > > > > > on > > > > > PRs only for guide changes? > > > > > - Should the Markdown link check also run nightly? > > > > > - Any job you think should not be touched, or other jobs worth > > looking > > > at? > > > > > > > > > > I plan to open a PR with these changes in the next days, and to > merge > > > it > > > > > after review if there are no objections here. > > > > > > > > > > Thanks, > > > > > Robert > > > > > > > > > > [1] https://infra.apache.org/github-actions-policy.html > > > > > > > > > > > > > > > >
