Skip to content

Conversation

@sgammon
Copy link
Member

@sgammon sgammon commented Oct 8, 2025

Fixes: #1686
Signed-off-by: Sam Gammon <sam@elide.dev>
Fixes: #1689
Signed-off-by: Sam Gammon <sam@elide.dev>
Fixes: #1688
Signed-off-by: Sam Gammon <sam@elide.dev>
Fixes: #1687
Signed-off-by: Sam Gammon <sam@elide.dev>
@sgammon sgammon added this to the Release R18: Beta milestone Oct 8, 2025
@sgammon sgammon requested review from a team and Copilot October 8, 2025 02:19
@sgammon sgammon self-assigned this Oct 8, 2025
@sgammon sgammon requested review from natehak and removed request for natehak October 8, 2025 02:19
@sgammon sgammon added this to Elide Oct 8, 2025
@sgammon sgammon added bug Something isn't working lang:java Issues relating to Java language support lang:kotlin Related to Kotlin lang support labels Oct 8, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes several issues discovered in elide kotlinc and elide native-image commands by improving metadata configuration and argument handling.

  • Updates reachability metadata for Kotlin CLI tools to use broader method and constructor reflection
  • Enhances native-image output path detection to support both -H:Path and -o flags
  • Adds source file existence filtering to the Java compiler tool

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
reachability-metadata.json Simplifies Kotlin CLI reflection metadata and adds Kotlin class resources
NativeImageAdapter.kt Improves output path argument detection for native-image
JavaCompiler.kt Adds file existence check for Java source files

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sgammon sgammon changed the title Fix/kotlinc issues beta9 fix: kotlinc/native-image bugs Oct 8, 2025
@sgammon sgammon moved this to In Progress in Elide Oct 8, 2025
@codecov
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.26%. Comparing base (b16a10e) to head (8ec657b).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...ool/cli/cmd/tool/nativeImage/NativeImageAdapter.kt 0.00% 4 Missing ⚠️
.../src/main/kotlin/elide/tooling/jvm/JavaCompiler.kt 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1690   +/-   ##
=======================================
  Coverage   40.25%   40.26%           
=======================================
  Files         820      820           
  Lines       38603    38608    +5     
  Branches     5522     5523    +1     
=======================================
+ Hits        15541    15544    +3     
- Misses      21200    21201    +1     
- Partials     1862     1863    +1     
Flag Coverage Δ
jvm 40.26% <0.00%> (+<0.01%) ⬆️
lib 40.26% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
.../src/main/kotlin/elide/tooling/jvm/JavaCompiler.kt 0.00% <0.00%> (ø)
...ool/cli/cmd/tool/nativeImage/NativeImageAdapter.kt 1.92% <0.00%> (-0.06%) ⬇️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b16a10e...8ec657b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sgammon sgammon merged commit cac7c1f into main Oct 8, 2025
17 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Elide Oct 8, 2025
@sgammon sgammon mentioned this pull request Oct 30, 2025
32 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lang:java Issues relating to Java language support lang:kotlin Related to Kotlin lang support

Projects

Status: Done

3 participants