Repository navigation
Compare daily JDK version reports across setup-java main, v6, and v5 - #1331
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 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
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.
Description:
Expand the daily JDK report to show what
setup-java@main,setup-java@v6, andsetup-java@v5would 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:
npm run checklocally (format, lint, build, test) and all checks pass. All 1,739 tests passed.