Skip to content

Conversation

@sgammon
Copy link
Member

@sgammon sgammon commented Jul 10, 2025

Ready for review Powered by Pull Request Badge

Summary

Some light cleaning and dependency updates.

  • Cleanup
    • Drop elide-uuid, which is no longer needed
  • Dependency Updates
    • micronaut → 4.9.7
    • oxc → latest
    • ruff → latest
    • uv → latest
    • orogene → latest (+ upstream updates)
    • General NPM updates
    • General Maven updates

sgammon added 5 commits July 10, 2025 15:01
Signed-off-by: Sam Gammon <sam@elide.dev>
Signed-off-by: Sam Gammon <sam@elide.dev>
Signed-off-by: Sam Gammon <sam@elide.dev>
Signed-off-by: Sam Gammon <sam@elide.dev>
@sgammon sgammon self-assigned this Jul 10, 2025
@sgammon sgammon added this to Elide Jul 10, 2025
@sgammon sgammon added the dependencies Pull requests that update a dependency file label Jul 10, 2025
@sgammon sgammon moved this to Done in Elide Jul 10, 2025
@sgammon sgammon requested a review from Copilot July 10, 2025 23:10
@socket-security
Copy link

socket-security bot commented Jul 10, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​esbuild@​0.25.5 ⏵ 0.25.69110071 +192100
Updatednpm/​bun@​1.2.17 ⏵ 1.2.18911007897100
Updatednpm/​bun-types@​1.2.17 ⏵ 1.2.1810010083 +198100
Updatednpm/​prettier-plugin-toml@​2.0.5 ⏵ 2.0.610010010087 +8100
Updatednpm/​@​prettier/​plugin-xml@​3.4.1 ⏵ 3.4.2100 +110010091 +7100
Updatednpm/​@​biomejs/​biome@​2.0.6 ⏵ 2.1.1100 +110010099 +2100

View full report

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 removes the custom elide-uuid module, transitions UUID and timestamp handling in the CLI tools to built-in types, and bumps numerous dependencies across the build scripts, NPM packages, and Rust crates.

  • Drop elide-uuid and switch all code to use elide.util.UUID (String) and epoch-millisecond timestamps.
  • Update Kotlin build constants (JVM_DEFAULT, GRAALVM_METADATA) and Micronaut versions.
  • Bump NPM (esbuild, @biomejs/biome, etc.), Cargo (orogene, oxc, uv, ruff, sysinfo), and Bun versions.

Reviewed Changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/elide-build/src/main/kotlin/elide/internal/conventions/Constants.kt Lowered JVM_DEFAULT to “21” and bumped GRAALVM_METADATA.
packages/cli/src/main/kotlin/elide/tool/err/PersistedError.kt Changed timestamp from Instant to Long and id to String.
packages/cli/src/main/kotlin/elide/tool/err/ErrorTests.kt Replaced uuid4() with UUID.random().
packages/cli/src/main/kotlin/elide/tool/err/ErrorHandler.kt Switched uuid to String and timestamp to Long.
packages/cli/src/main/kotlin/elide/tool/err/DefaultStructuredErrorRecorder.kt Updated error‐file naming to use raw millisecond timestamp.
packages/base/src/jvmMain/kotlin/elide/util/UUID.kt Replaced dev.elide.uuid.uuid4() with java.util.UUID.randomUUID().
packages/base/build.gradle.kts Removed elide.uuid dependency.
package.json Bumped various NPM dependencies (esbuild, @biomejs/biome, etc.).
package-lock.kdl Synced lockfile entries with NPM bumps.
gradle/elide.versions.toml Dropped elide-uuid entries; bumped GraalVM metadata, CSS wrappers, Micronaut.
gradle.properties Bumped micronautVersion to 4.9.1.
crates/js/src/precompiler.rs Switched to new CommentOptions API for Oxc codegen.
config/bun-version Bumped Bun CLI image to 1.2.18.
Cargo.toml Updated orogene, oxc, uv, ruff, and sysinfo revisions.
Comments suppressed due to low confidence (2)

packages/base/src/jvmMain/kotlin/elide/util/UUID.kt:24

  • [nitpick] This change causes UUIDs to be emitted in uppercase; consider adding a KDoc comment or noting in the README that consumers should expect uppercase (with hyphens) to avoid interoperability confusion.
    return java.util.UUID.randomUUID().toString().uppercase()

gradle.properties:86

  • [nitpick] Consider updating micronautCatalogVersion to match the bumped micronautVersion (4.9.1) to keep your BOM and actual dependency versions in sync.
micronautCatalogVersion = 4.5.4

@codecov
Copy link

codecov bot commented Jul 10, 2025

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 41.04%. Comparing base (d6f2180) to head (cbc69a9).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
...n/elide/tool/err/DefaultStructuredErrorRecorder.kt 0.00% 7 Missing ⚠️
...cli/src/main/kotlin/elide/tool/err/ErrorHandler.kt 0.00% 4 Missing ⚠️
...i/src/main/kotlin/elide/tool/err/PersistedError.kt 0.00% 3 Missing ⚠️
...s/cli/src/main/kotlin/elide/tool/err/ErrorTests.kt 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1529      +/-   ##
==========================================
- Coverage   41.04%   41.04%   -0.01%     
==========================================
  Files         733      733              
  Lines       34525    34531       +6     
  Branches     4862     4862              
==========================================
  Hits        14172    14172              
- Misses      18663    18669       +6     
  Partials     1690     1690              
Flag Coverage Δ
jvm 41.04% <0.00%> (-0.01%) ⬇️
lib 41.04% <0.00%> (-0.01%) ⬇️

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

Files with missing lines Coverage Δ
...s/cli/src/main/kotlin/elide/tool/err/ErrorTests.kt 0.00% <0.00%> (ø)
...i/src/main/kotlin/elide/tool/err/PersistedError.kt 0.00% <0.00%> (ø)
...cli/src/main/kotlin/elide/tool/err/ErrorHandler.kt 0.00% <0.00%> (ø)
...n/elide/tool/err/DefaultStructuredErrorRecorder.kt 37.03% <0.00%> (-10.59%) ⬇️

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 d6f2180...cbc69a9. 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 added 3 commits July 10, 2025 19:20
Signed-off-by: Sam Gammon <sam@elide.dev>
chore: upgrade micronaut → `4.9.7`
fix: hold `micronaut-http-netty` back at `4.8.18`

Relates-to: micronaut-projects/micronaut-core#11941
Signed-off-by: Sam Gammon <sam@elide.dev>
Signed-off-by: Sam Gammon <sam@elide.dev>
@sgammon sgammon force-pushed the chore/updates-remove-elide-uuid branch from a7ba583 to cbc69a9 Compare July 11, 2025 02:20
@sgammon sgammon requested a review from a team July 11, 2025 03:34
@sgammon sgammon merged commit ba615fe into main Jul 11, 2025
18 checks passed
@sgammon sgammon removed the request for review from a team July 11, 2025 05:02
@elidebot elidebot mentioned this pull request Jul 19, 2025
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants