Skip to content

ci: pin JDK 17 for workspace format and test jobs - #2358

Merged
Nesopie merged 1 commit into
devfrom
fix/workspace-ci-pin-jdk17
Nov 30, 2026
Merged

Nesopie merged 1 commit into
devfrom
fix/workspace-ci-pin-jdk17

Conversation

@Nesopie

@Nesopie Nesopie commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

workspace-format-check and workspace-test have been failing on dev and on every PR since at least 2026-11-24. They run the kmp-sdk Gradle tasks (ktlintFormat, :shared:jvmTest, :composeApp:testDebugUnitTest) without setting up Java, so they get the runner's default JDK, which is now 25.0.5. Kotlin 2.1.0 on Gradle 8.13 can't parse that version, so the build stops immediately with What went wrong: 25.0.5.

This PR adds actions/setup-java@v4 (Temurin 17) to both jobs, matching every job in kmp-ci.yml.

Evidence

  • Latest dev Workspace CI run (6e05b571, 2026-11-27): both jobs fail with @selfxyz/kmp-sdk format: ./gradlew ktlintFormat and @selfxyz/kmp-sdk-test-app test: ./gradlew :composeApp:testDebugUnitTest, each with "What went wrong: 25.0.5".
  • kmp-ci.yml runs the same Gradle setup on Temurin 17.
  • Validation: this PR's own Workspace CI run.

Unblocks #2352 and other PRs into dev.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated workspace checks to use Java 17.

workspace-format-check and workspace-test run the kmp-sdk Gradle tasks
(ktlintFormat, jvmTest, testDebugUnitTest) without setting up Java, so they
use the runner's default JDK, which is now 25.0.5. Kotlin 2.1.0 on Gradle
8.13 cannot parse that version and the build fails before running any task,
on dev and on every PR. Use Temurin 17, matching kmp-ci.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
self-webview-app Ignored Ignored Preview Nov 30, 2026 4:06am UTC

Request Review

@Nesopie

Nesopie commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T04:08:27.888762Z caf62f2 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The workspace-format-check and workspace-test jobs in the workspace CI workflow now set up Temurin Java 17.

Changes: Workspace CI

Layer / File(s) Summary
Set up Java in workspace jobs
.github/workflows/workspace-ci.yml
The format-check and test jobs now set up Temurin Java 17.

Estimated code review effort: 1 (Trivial) | ~5 minutes

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: caf62f25a5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Nesopie
Nesopie merged commit 2fbea88 into dev Nov 30, 2026
30 of 32 checks passed
@Nesopie
Nesopie deleted the fix/workspace-ci-pin-jdk17 branch November 30, 2026 04:08
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.

1 participant