Repository navigation
ci: pin bats java to 21.0.12 until Temurin 21.0.13 has Windows builds - #1764
Conversation
β¦mise The bats setup task declared `java = "21"` only so google-java-format and ktlint have a JVM for their builtin tests. GitHub-hosted ubuntu-24.04 (default JDK 17) and macOS (default JDK 21) images already put a JDK on PATH, so drop the mise java dependency and its mise.lock entry. This also stops every PR from failing in `mise lock` while Temurin 21.0.13 has no Windows metadata. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M5W5D7JTD0AHSB4K453EAEKN
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Pin Java version mise-tasks/test/bats/setup |
The mise Java version changes from 21 to 21.0.12. |
Priority:
Estimated code review effort: 1 (Trivial) | ~2 minutes
Change: Other
Merge Risk: 
Minimal Β· up to f9086
-
The change pins the Java version used by the builtin Bats tests, which keeps mise installs working until Windows builds exist for Temurin 21.0.13. No actionable merge-blocking risk remains.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
-
- 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.
Comment @coderabbitai help to get the list of available commands.
Finishing Touches: π‘ 1
π οΈ Fix failing CI checks: π‘
-
- Commit to this branch
- Create a new PR
[Low impact] The final change appears safe to merge; no actionable defects were found. SummaryThe final change pins the Bats JDK instead of using the runnerβs JDK, despite the earlier PR description.
Reviews (2) Β· Last reviewed commit: "chore(test): pin bats java to 21.0.12 un..." Β· Reviewed by Greptile |
β¦through mise" This reverts commit d8ede03. Entire-Checkpoint: 01M5W75YDQ3T5TXZ9PVA1NBF7W
β¦ws builds ktlint's mise tool depends on mise-managed java, so the runner's JDK is not used and dropping java breaks the ktlint builtin tests. Pin 21.0.12 instead. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M5W763M3PQPY8MB1A7YS36D4
Dismissed because a newer commit was pushed; Greptile will re-review the current head.
Instruction counts
1 benchmark(s) above the 1% gate: Only instruction counts gate. Wall clock is shown for context β on identical hardware it moves 4-20% run to run. Measured by tak β instruction-counted CLI benchmarks, stored in this repository's git notes.
|
<!-- entire-trail-link-start --> https://entire.com/gh/jdx/-/trails/2720/changes/hk/298 <!-- entire-trail-link-end --> ### π Bug Fixes - **(cache)** write config cache files atomically by [@zachbornheimer](https://github.com/zachbornheimer) in [#1750](#1750) - **(check)** resolve file arguments from the directory hk was run in by [@jdx](https://github.com/jdx) in [#1754](#1754) - **(pkl)** embed the Pkl package in cargo install builds by [@jdx](https://github.com/jdx) in [#1755](#1755) ### π§ͺ Testing - stop macOS CI flaking on fixed bats timeouts by [@jdx](https://github.com/jdx) in [#1756](#1756) ### π‘οΈ Security - **(install)** name the git config file global hooks were written to by [@sahidvelji](https://github.com/sahidvelji) in [#1758](#1758) ### π Other Changes - use the runner's JDK for builtin tests instead of mise java by [@jdx](https://github.com/jdx) in [#1764](#1764) ### π¦οΈ Dependency Updates - update jdx crates by [@renovate[bot]](https://github.com/renovate[bot]) in [#1751](#1751) - update rust crate usage-rs to v7.1.2 by [@renovate[bot]](https://github.com/renovate[bot]) in [#1757](#1757) - update mise tools by [@renovate[bot]](https://github.com/renovate[bot]) in [#1761](#1761) - update jdx crates by [@renovate[bot]](https://github.com/renovate[bot]) in [#1763](#1763) - update github actions by [@renovate[bot]](https://github.com/renovate[bot]) in [#1760](#1760) ### New Contributors - @zachbornheimer made their first contribution in [#1750](#1750) Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
https://entire.com/gh/jdx/-/trails/2898/changes/hk/307
Every open PR is failing in
mise lock/mise installwithfailed to resolve java for windows-arm64: no metadata found for version 21.0.13+9.0.LTS, because Temurin 21.0.13 has no Windows metadata yet. This pins the java that the bats setup installs, so mise stops resolving 21.0.13.mise-tasks/test/bats/setup:java = "21"becomesjava = "21.0.12".mise.lock: the java entry's specifier becomes21.0.12to match; the locked version (21.0.12+101.0.LTS) and checksums are unchanged.google-java-formatandktlintbuiltin tests. Dropping it was tried first and does not work: ktlint's mise tool depends on mise-managed java, so the macOS ktlint tests failed withjava@21.0.13+9.0.LTS not installedinstead of using the runner's JDK.Revert this pin (back to
java = "21") once Temurin 21.0.13 ships Windows metadata. Existing Renovate PRs need a rebase onto main after this lands.π€ Generated with Claude Code
AI-assisted β Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable.
Summary by CodeRabbit