Skip to content

Consolidate duplicate jobs in e2e-versions workflow#1125

Merged
brunoborges merged 2 commits into
mainfrom
brunoborges-consolidate-e2e-version-jobs
Jul 15, 2026
Merged

Consolidate duplicate jobs in e2e-versions workflow#1125
brunoborges merged 2 commits into
mainfrom
brunoborges-consolidate-e2e-version-jobs

Conversation

@brunoborges

Copy link
Copy Markdown
Contributor

What

Consolidates duplicate jobs in .github/workflows/e2e-versions.yml using matrix include, with zero change to test coverage — every distribution × version × OS combination that runs today still runs.

Merges

  1. Early-access (EA) jobssetup-java-ea-versions

    • Merges setup-java-ea-versions-zulu, setup-java-ea-versions-temurin, and setup-java-ea-versions-sapmachine.
    • Because the macOS runner differs by distribution (zulu uses macos-15-intel, the others use macos-latest), the matrix is built entirely from an include: list — one entry per os × version × distribution combo, with no base matrix keys.
    • Preserved combos (15 total): 6 zulu + 3 temurin + 6 sapmachine.
  2. Signature-verification jobssetup-java-signature-verification

    • Merges setup-java-temurin-signature-verification and setup-java-microsoft-signature-verification.
    • Adds a distribution: [temurin, microsoft] matrix dimension over os {macos-latest, windows-latest, ubuntu-latest} × version {21, 17} (12 combos).

Coverage

Unchanged. Combination counts verified:

  • EA: 15 combos (6 zulu + 3 temurin + 6 sapmachine)
  • Signature: 12 combos (3 os × 2 versions × 2 distributions)

No other jobs were touched; check-latest and multiple-jdks are unchanged. YAML validated with yaml.safe_load.

Merge the three EA jobs (zulu, temurin, sapmachine) into a single
setup-java-ea-versions job driven by a matrix include list, and merge
the two signature-verification jobs (temurin, microsoft) into a single
setup-java-signature-verification job with a distribution matrix
dimension. Test coverage is unchanged: all 15 EA combos and all 12
signature combos still run.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9924b163-0ad2-4f8c-b038-0f00220a3157
Copilot AI review requested due to automatic review settings July 15, 2026 02:21
@brunoborges
brunoborges requested a review from a team as a code owner July 15, 2026 02:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the .github/workflows/e2e-versions.yml GitHub Actions workflow to reduce duplicated job definitions by consolidating equivalent jobs into matrix-driven jobs, while keeping the same distribution × version × OS execution coverage.

Changes:

  • Consolidates the three EA-version jobs into a single setup-java-ea-versions job using a pure matrix.include list to preserve per-distribution runner differences.
  • Consolidates the two signature-verification jobs into a single setup-java-signature-verification job by adding a distribution: [temurin, microsoft] matrix dimension.
Show a summary per file
File Description
.github/workflows/e2e-versions.yml Consolidates duplicated EA and signature-verification jobs using matrix strategies while preserving existing execution combinations.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@brunoborges
brunoborges merged commit cc8cded into main Jul 15, 2026
439 of 440 checks passed
@brunoborges
brunoborges deleted the brunoborges-consolidate-e2e-version-jobs branch July 15, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants