Repository navigation
ci(inkless): tighten upstream CI triggers and build edge tarball once - #926
Merged
Merged
Conversation
jeqo
force-pushed
the
jeqo/ci-tier3-hygiene
branch
from
December 1, 2026 15:23
2e8ac09 to
45ae25c
Compare
jeqo
force-pushed
the
jeqo/ci-tier3-hygiene
branch
from
December 1, 2026 16:16
45ae25c to
cbf3ba9
Compare
jeqo
force-pushed
the
jeqo/ci-tier3-hygiene
branch
from
December 1, 2026 16:19
cbf3ba9 to
72b3022
Compare
gqmelo
force-pushed
the
jeqo/ci-tier3-hygiene
branch
from
December 2, 2026 14:39
72b3022 to
68fe5a7
Compare
gqmelo
reviewed
Dec 2, 2026
Comment on lines
+24
to
+26
| - 'inkless-4.*' | ||
| # Release-prep and sync branches (inkless-4.x-0.y, inkless-4.x-sync-*) get CI from their PRs. | ||
| - '!inkless-4.*-*' |
Collaborator
There was a problem hiding this comment.
We could use some of the regex-like syntax to be more specific and future-proof: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#filter-pattern-cheat-sheet
For example something like inkless-[0-9].[0-9]+ and inkless-[0-9].[0-9]+-*
Contributor
Author
There was a problem hiding this comment.
Good catch! Agree, this is a better match. Adding change on last commit.
…, and build edge tarball once Three repo-wide workflow inefficiencies waste runner capacity and add unnecessary cache entries: - `ci.yml` matches `inkless-*` on push without excluding release-prep or sync branches (unlike `inkless.yml`), and does not cancel superseded push runs on `main`, letting burst merges run multiple 450-minute upstream builds in parallel. - `inkless-vale.yml` triggers on `ready_for_review` even though it already runs on draft PRs, re-running on the same SHA. - `inkless-edge.yml` runs `make build_release` twice (on `amd64` and `arm64`) for an architecture-independent Kafka tarball, and writes Gradle caches from both architectures into the 10 GB repository pool. Update all three workflows: - Scope `ci.yml` push triggers to `inkless-4.*` with `!inkless-4.*-*`, and enable `cancel-in-progress: true` keyed by workflow, ref, and event name so pushes cancel superseded pushes without canceling scheduled or manual runs. - Drop `ready_for_review` from `inkless-vale.yml`. - Extract `build-dist` in `inkless-edge.yml` to build the Kafka distribution once on `ubuntu-latest` with a read-only Gradle cache, upload it as a 1-day artifact, and share it across both native Docker build jobs. Assisted-by: Gemini 4 Neon
gqmelo
force-pushed
the
jeqo/ci-tier3-hygiene
branch
from
December 2, 2026 14:58
68fe5a7 to
4da8ff4
Compare
GitHub Actions branch filters match the full branch name and support `[0-9]+`. Using `inkless-[0-9]+.[0-9]+` in both `ci.yml` and `inkless.yml` stays future-proof beyond Kafka 4.x and excludes release-prep and sync branches without a separate negation rule. Assisted-by: Gemini 4 Neon
gqmelo
approved these changes
Dec 2, 2026
jeqo
marked this pull request as ready for review
December 2, 2026 15:14
jeqo
enabled stacked auto-merge (squash)
December 2, 2026 15:14
This was referenced Dec 3, 2026
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.
Two repo-wide workflow inefficiencies consume nearly half of all runner minutes and add unnecessary cache entries:
ci.ymlmatchesinkless-*on push without excluding release-prep or sync branches (unlikeinkless.yml), and does not cancel superseded push runs onmain, letting burst merges run multiple 450-minute upstream builds in parallel.inkless-edge.ymlrunsmake build_releasetwice (onamd64andarm64) for an architecture-independent Kafka tarball, and writes Gradle caches from both architectures into the 10 GB repository pool.Update both workflows:
ci.ymlpush triggers toinkless-4.*with!inkless-4.*-*, and enablecancel-in-progress: truekeyed by workflow, ref, and event name so pushes cancel superseded pushes without canceling scheduled or manual runs.build-distininkless-edge.ymlto build the Kafka distribution once onubuntu-latestwith a read-only Gradle cache, upload it as a 1-day artifact, and share it across both native Docker build jobs.