Skip to content

chore(deps): bump actions/setup-java from 5 to 6 - #39

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/actions/setup-java-6
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/actions/setup-java-6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown

Bumps actions/setup-java from 5 to 6.

Release notes

Sourced from actions/setup-java's releases.

v6.0.0

What's Changed

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 5 to 6.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependency updates major Breaking API or behaviour change labels Aug 31, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: github-actions. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@srpatcha srpatcha left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approving. Target version verified to exist and be current, and the failing CI
here is not caused by this bump.

I checked every target in this batch against the upstream release list rather
than assuming Dependabot picked a real tag:

mymindstorm/setup-emsdk   v16   latest v16        exists
actions/setup-java        v6    latest v6.0.0     exists
pnpm/action-setup         v6    latest v6.0.10    exists
actions/checkout          v7    latest v7.0.1     exists

All current majors.

The red CI is not yours

Every job in this run fails with:

apps/epdf/epdf.h:5:10: fatal error: eapps_core.h: No such file or directory

master does not build, and has not for a while — 48 fatal errors from a clean
clone. The cause is .gitignore:61, a bare core rule intended for Unix core
dumps, which matches any file or directory named core at any depth and
therefore excluded core/, the source tree. core/common/include/eapps_core.h
is included by all 44 app targets and was never committed:

$ git ls-files | grep -c eapps_core.h
0

#42 fixes that. Once it lands, re-run these and the result will mean something.
Merging this before #42 is harmless — it cannot make a build that already fails
fail differently — but the check will stay red until #42 is in.

Worth noting for whoever triages these: a major-version bump of a GitHub Action
can carry breaking changes, and the usual way to find out is CI. That signal is
currently unavailable in this repository for reasons unrelated to any of these
four PRs, so approval here rests on the version existing and the diff being a
pure version string change — not on a green run.

@srpatcha srpatcha left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review — eApps#39 "chore(deps): bump actions/setup-java from 5 to 6"

head: 98a0043 author: app/dependabot ci: fail (11 of 11 jobs) — pre-existing on master and unreachable from this diff, see below

Verdict: The bump is clean. One call site, and I checked every user-facing change in v6 against it: the renamed input is not used, the distribution API change affects only zulu, and upstream documents the ESM migration as non-breaking. The finding worth acting on is not the bump — it is that the job being bumped cannot fail, so nothing could tell you if the bump were wrong.

Findings

# Severity File:line Finding Recommended fix
1 High .github/workflows/weekly.yml:186-190 The job whose JDK provisioning this PR changes has continue-on-error: true on both its build and its test step: run: ./gradlew build at :186-187 and run: ./gradlew test at :189-190. .ai/reviewer.md names this directly — "a || true on a build or test step, a verification whose result is discarded. Treat these as findings regardless of the reason given" — and the brief adds "do not round severity down". The concrete consequence for this PR: gradle-build reports success whatever setup-java@v6 provisions. If v6 hands the job a JDK that Gradle rejects, the step fails, continue-on-error swallows it, and the job is green. This bump is unfalsifiable by the only check that exercises it. Remove continue-on-error: true from both steps. If the Gradle build is known to be broken and the job is being kept as an aspiration, say so where a reader will see it — STATUS.md-style, per §28's claims policy — rather than encoding it as a check that always passes. This is pre-existing and not this PR's to fix, but it is the reason this PR cannot be validated.
2 Low .github/workflows/weekly.yml:1-8 Reachability: weekly.yml triggers on schedule plus workflow_dispatch only, so nothing on this pull request runs setup-java at any version. The bump first executes in a scheduled run on the default branch, after merge. Combined with finding 1, its first execution also cannot report a failure. Nothing to change in this PR. Worth knowing before merging: the merge is the test.

Nothing else. The change is mechanically complete — grep -rn "setup-java@" .github/workflows/ finds exactly one occurrence and this PR converts it.

CI state

All 11 required checks are red, and the diff cannot have caused any of them. Verified:

  • This PR edits one line of weekly.yml. All 11 failing jobs — Native (ubuntu/windows/macos), Category (web/media/games/security/productivity/connectivity), Sanitizers, JS/TS lane — are defined in ci.yml (:20, :45, :75, :95). No change to weekly.yml can affect a job in ci.yml.
  • Master run 32813232464 (2026-08-25, six days before this PR was opened) failed on the identical 11 jobs at the identical 11 steps. That is the state of the branch point.
  • Master has since partly recovered: run 33501131456 (2026-09-01) fails on only 2 jobs — Native (windows-latest) :: Build and JS/TS lane :: desktop-apps lint+build.

Rebasing onto current master should reduce this from 11 red to 2. It will not make the bump testable — see findings 1 and 2.

Architecture conformance

Conforms. §21 places CI configuration in the Infrastructure tier; a JDK-provisioning action is build-time only and never a runtime dependency, so §5.1's dependency law is untouched and no eApps source changes. The Gradle/KMP job is Tier-5 application tooling (§21, eBrowser/eOffice as reference applications; §20.1 makes them capability proofs rather than pillars), so a weekly Kotlin build is correctly weekly rather than PR-gating. §28's evidence policy is the section finding 1 sits under: a job that reports success without having verified anything produces no evidence for any status claim, which is the same failure mode as the EOS_ERR_NOT_SUPPORTED-as-success pattern .ai/security.md warns about, in CI form.

Proposed changes

  1. Merge the bump. It is correct and the alternative — staying on v5 — has no advantage.
  2. Separately, remove the two continue-on-error: true lines at weekly.yml:187 and :190 (finding 1), and let the resulting failure be visible. Whatever it reports is information the repository does not currently have.
  3. Separately, rebase this branch onto current master so its check summary is interpretable.

No fix PR opened. Finding 1 is High and the edit is two lines, but removing continue-on-error from a build that is very likely broken turns a green weekly job red without anyone having diagnosed it, and the brief's bar for an unattended fix is a defect whose fix I can verify by running something. I cannot run this repository's Gradle build, so the honest move is to report it and leave the timing to a maintainer.

Verification I ran

  • Upstream v6.0.0 release notes (2026-08-24), checked change by change against the one call site:
    • "Rename jdkFile input to jdk-file with deprecated alias" — the call site passes only distribution and java-version (weekly.yml:181-183). Not affected, and the alias is retained anyway.
    • "Migrate from Zulu Discovery API to Azul Metadata API" and "Map Zulu x86 architecture to i686" — these affect distribution: zulu. This call site uses distribution: temurin. grep -rn -A4 "setup-java@" .github/workflows/*.yml confirms temurin is the only distribution used anywhere in the repository.
    • "Migrate to ESM and upgrade dependencies" — upstream shipped a companion doc change in the same release, PR #1090, titled "clarify V6 ESM migration is not a user-facing breaking change".
    • Everything else in the release is additive: .mvn/extensions.xml in the Maven cache key, cache-primary-key output, asdf .tool-versions inference, a Maven compiler problem matcher, multi-field versions like 18.0.1.1, java-version: latest. None is used here and none changes a default this call site relies on.
    • java-version: "17" is a long-term-support release and is provisioned by Temurin under both majors.
  • Runner floor. v5 was the release that moved to Node 24; this PR crosses v5 → v6, so no new runtime floor is introduced. Either way every runs-on: in eApps is a GitHub-hosted label (ubuntu-latest, windows-latest, macos-latest, or a matrix of those), so no self-hosted runner needs upgrading.
  • Finding 1: read weekly.yml:170-191 in full. gradle-build is a three-OS matrix; checkout@v4, setup-java, gradle/actions/setup-gradle@v4, then Build and Test, each with continue-on-error: true.
  • Finding 2 and CI attribution: read the on: block of weekly.yml and the job definitions in ci.yml; compared the failing job/step sets on this PR against master runs 32813232464 and 33501131456 via gh run view.

Not checked

  • The bump in action. Nothing on this PR runs setup-java, and I did not dispatch weekly.yml by hand. I have not observed @v6 provision a JDK in this repository; the assessment above is an audit of the changelog against the call site, not an execution.
  • Whether the Gradle build passes at any JDK version. This is the substance of finding 1: continue-on-error: true means the repository has no record of it either. Whether ./gradlew build currently succeeds is Unknown, and it will stay unknown until those two lines come out.
  • The Kotlin/KMP project itself. I did not look for build.gradle.kts, a Gradle wrapper version, or a sourceCompatibility setting, so I cannot say whether Java 17 is the right target for it or whether a Gradle version compatible with it is what setup-gradle@v4 installs.
  • The root cause of the 11 pre-existing failures. I established that they pre-date this PR and are unreachable from it; I did not read the logs or diagnose them.
  • gradle/actions/setup-gradle@v4, the next step in the same job, was not evaluated — it is not part of this diff, and no dependabot PR for it is open.

Automated architecture review of 98a0043982ec — scheduled, model claude-opus-5, checked against the EmbeddedOS Master Design v2.0. Advisory only: this reviewer never approves, requests changes, or merges. Reply here to discuss or push back — a wrong finding is a bug worth reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates major Breaking API or behaviour change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant