Skip to content

Compare daily JDK version reports across setup-java main, v6, and v5 - #1331

Merged
brunoborges merged 1 commit into
mainfrom
brunoborges-latest-jdk-versions-report
Nov 20, 2026
Merged

brunoborges merged 1 commit into
mainfrom
brunoborges-latest-jdk-versions-report

Conversation

@brunoborges

Copy link
Copy Markdown
Contributor

Description:
Expand the daily JDK report to show what setup-java@main, setup-java@v6, and setup-java@v5 would select for each distribution, Java major, and platform/architecture. Each revision uses its own installer code and locked dependencies to query metadata without downloading or installing a JDK. The report links to each revision’s commit and distinguishes unsupported requests, failed lookups, and missing platform results.

Related issue:
No linked issue. Follow-up to #1329.

Check list:

  • Ran npm run check locally (format, lint, build, test) and all checks pass. All 1,739 tests passed.
  • Mark if documentation changes are required. Updated the README’s daily report section.
  • Mark if tests were added or updated to cover the changes. Added coverage for revision-specific resolution, legacy v5 behavior, and incomplete reports.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@brunoborges
brunoborges requested a review from a team as a code owner November 20, 2026 00:38
Copilot AI balanced review requested due to automatic review settings November 20, 2026 00:38

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.

🟢 Approval recommended

No active review issues were identified for the revision-aware JDK version reporting changes.

No open issues 🎉

What changed in this PR

Extends the daily JDK version report to compare setup-java@main, @v6, and @v5, using each revision’s own installers and locked dependencies without downloading JDKs.

Changes:

  • Builds revision-specific resolvers and runs them across the report’s platform matrix.
  • Groups results by revision with commit links, lookup failures, missing-platform indicators, and an artifact fallback for oversized summaries.
  • Updates documentation and adds tests for legacy behavior, resolver loading, and incomplete reports.
File Description
src/​reports/​resolver.ts Defines revision-aware resolvers, architecture probes, and bundle loading.
src/​reports/​latest-versions.ts Adds revision-specific resolution, request timeouts, and grouped reporting.
scripts/​build-report-resolver.mjs Bundles each checkout’s installers and dependencies with revision metadata.
README.md Documents revision comparisons and full-report artifacts.
.github/​workflows/​latest-jdk-versions.yml Builds and runs resolvers for all three revisions across platforms.
__tests__/​latest-versions-report.test.ts Covers revision isolation, legacy behavior, safeguards, and incomplete reports.

Review effort: Balanced

@brunoborges
brunoborges merged commit 60d2c8e into main Nov 20, 2026
121 checks passed
@brunoborges
brunoborges deleted the brunoborges-latest-jdk-versions-report branch November 20, 2026 01:05
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.

2 participants