Skip to content

Conversation

rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Sep 24, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings September 24, 2025 16:07
Copy link

github-actions bot commented Sep 24, 2025

Copyright Validation Results
Total: 4 | Passed: 1 | Failed: 0 | Skipped: 3 | at: 2025-09-24 16:23:36 UTC | commit: a4617bc

⏭️ Skipped (Excluded) Files

  • build.gradle
  • examples/getting-started/build.gradle
  • flux-cli/build.gradle

✅ Valid Files

  • flux-cli/src/main/java/com/marklogic/flux/impl/SparkUtil.java

✅ All files have valid copyright headers!

Copy link
Contributor

@Copilot 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 excludes Jetty dependencies to address medium-severity CVEs and updates several dependency versions. The changes disable the Spark UI to prevent Jetty from being used since there's no current use case for the UI in Flux applications.

  • Disabled Spark UI to avoid Jetty dependency usage
  • Updated test dependencies (json-unit-assertj and xmlunit-core) to newer patch versions
  • Upgraded ml-gradle plugin from version 5.0.0 to 6.0.1

Reviewed Changes

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

File Description
flux-cli/src/main/java/com/marklogic/flux/impl/SparkUtil.java Added configuration to disable Spark UI with explanatory comment
flux-cli/build.gradle Updated json-unit-assertj and xmlunit-core test dependencies to newer versions
examples/getting-started/build.gradle Upgraded ml-gradle plugin version

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

sparkConf.set("spark.sql.session.timeZone", "UTC");

// To avoid the need for Jetty on the classpath, which brings in a number of medium CVEs (as Spark 4 is using
// Jetty 9), the Spark UI is explicitly disabled. Curiously, this doesn't seem to be required - i.e. when
Copy link

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

There's an extra space in 'Spark UI is' - should be 'Spark UI is' with only one space.

Suggested change
// Jetty 9), the Spark UI is explicitly disabled. Curiously, this doesn't seem to be required - i.e. when
// Jetty 9), the Spark UI is explicitly disabled. Curiously, this doesn't seem to be required - i.e. when

Copilot uses AI. Check for mistakes.


// To avoid the need for Jetty on the classpath, which brings in a number of medium CVEs (as Spark 4 is using
// Jetty 9), the Spark UI is explicitly disabled. Curiously, this doesn't seem to be required - i.e. when
// excluding org.eclipse.jetty libaries from the classpath, no failures occur. But this is being done to
Copy link

Copilot AI Sep 24, 2025

Choose a reason for hiding this comment

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

Typo in 'libaries' - should be 'libraries'.

Suggested change
// excluding org.eclipse.jetty libaries from the classpath, no failures occur. But this is being done to
// excluding org.eclipse.jetty libraries from the classpath, no failures occur. But this is being done to

Copilot uses AI. Check for mistakes.

@rjrudin rjrudin merged commit b064dc1 into develop Sep 24, 2025
2 of 3 checks passed
@rjrudin rjrudin deleted the feature/more-bumps branch September 24, 2025 16:33
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.

2 participants