Skip to content

Update all dependencies to latest versions#260

Merged
torosent merged 4 commits intomainfrom
copilot/update-dependencies-to-latest
Feb 9, 2026
Merged

Update all dependencies to latest versions#260
torosent merged 4 commits intomainfrom
copilot/update-dependencies-to-latest

Conversation

Copy link
Contributor

Copilot AI commented Feb 7, 2026

Issue describing the changes in this PR

Bumps all project dependencies to their latest stable versions while maintaining Java 8 compilation target compatibility.

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes are added to the CHANGELOG.md
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Gradle wrapper: 7.4 → 8.14.4 (required — newer deps ship Java 21 multi-release JARs that Gradle 7.x cannot instrument)

Libraries:

Dependency From To
gRPC 1.59.0 1.78.0
Protobuf 3.12.0 3.25.8
Jackson 2.15.3 2.18.3
OpenTelemetry 1.25.0 1.58.0
Azure Core 1.45.0 1.57.1
Azure Identity 1.11.1 1.18.1
JUnit 5.7.2 / 5.10.0 / 5.6.2 5.14.2
Mockito 5.3.1 5.21.0
REST Assured 5.3.0 5.5.7
Azure Functions Java library 3.0.0 / 3.1.0 3.2.3
Azure Functions Java SPI 1.0.0 1.1.0
Spring Boot 2.5.2 2.7.18
Lombok 1.18.22 1.18.42

Plugins:

Plugin From To
SpotBugs 5.2.1 6.4.8
SpotBugs tool 4.9.2 4.9.8
Protobuf 0.8.16 0.9.6
Test-retry 1.4.1 1.6.4
Azure Functions 1.11.1 1.16.1

Breaking API migrations handled:

  • SpotBugs 6.x: effort and reportLevel changed from strings to enums:
    // Before
    effort = 'max'
    reportLevel = 'high'
    // After
    effort = com.github.spotbugs.snom.Effort.valueOf('MAX')
    reportLevel = com.github.spotbugs.snom.Confidence.valueOf('HIGH')
  • JUnit 5.12+: junit-platform-launcher must now be explicitly declared as testRuntimeOnly in all modules with tests. Version resolution varies by module:
    • client: resolved via org.junit:junit-bom:5.14.2 (already present)
    • azuremanaged: pinned to explicit version 1.14.2 (uses individual JUnit deps)
    • endtoendtests, samples-azure-functions: resolved via newly added org.junit:junit-bom:5.14.2
  • JUnit 5.12+ lifecycle method visibility: @AfterEach method IntegrationTestBase.shutdown() changed from private to package-private, as JUnit 5.12+ warns that private lifecycle methods will be disallowed in a future release

All versions stay within Java 8–compatible lines (Jackson 2.x, JUnit 5.x, Spring Boot 2.x, REST Assured 5.x).


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Update all dependencies to latest version Update all dependencies to latest versions Feb 8, 2026
Copilot AI requested a review from torosent February 8, 2026 00:17
@torosent
Copy link
Member

torosent commented Feb 8, 2026

@copilot the functions-e2e-tests and functions-sample-tests are failing

1 similar comment
@torosent
Copy link
Member

torosent commented Feb 8, 2026

@copilot the functions-e2e-tests and functions-sample-tests are failing

Copilot stopped work on behalf of torosent due to an error February 8, 2026 01:23
@torosent
Copy link
Member

torosent commented Feb 8, 2026

@copilot , review the integration tests and check why they are failing but the check is passing

Copy link
Contributor Author

Copilot AI commented Feb 8, 2026

@copilot the functions-e2e-tests and functions-sample-tests are failing

The functions-e2e-tests and functions-sample-tests failures were already fixed in 7d52da0 (missing junit-platform-launcher dependency). The latest Build Validation run (21789570549) on that commit shows all 3 jobs passing — build ✅, functions-e2e-tests ✅, functions-sample-tests ✅.

@copilot , review the integration tests and check why they are failing but the check is passing

The integration test logs show "76 tests completed, 2 failed, 4 skipped" but the build passes because the test-retry plugin retries flaky tests (up to 3 retries configured). The 2 failed tests passed on retry, so the overall build succeeded.

I also found a JUnit 5.12+ compatibility issue: the @AfterEach shutdown() method in IntegrationTestBase was declared private, which JUnit 5.12+ warns will be disallowed in a future release. Fixed in 569e237 by changing it to package-private visibility.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • rt.services.visualstudio.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@torosent torosent marked this pull request as ready for review February 8, 2026 03:23
@torosent torosent requested a review from a team as a code owner February 8, 2026 03:23
Copilot AI review requested due to automatic review settings February 8, 2026 03:23
Copy link
Contributor

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

Updates the repository’s build tooling and module dependencies to newer stable releases while aiming to preserve Java 8 compilation targets across the multi-module Gradle build.

Changes:

  • Bumped Gradle wrapper to 8.14.4 and updated core library versions (gRPC, Protobuf, Jackson, OpenTelemetry, Azure SDKs, etc.).
  • Upgraded test stack to JUnit 5.14.2 and refreshed related test dependencies (Mockito, REST Assured), plus SpotBugs plugin/tool updates.
  • Updated Azure Functions plugin/library/SPI and Spring Boot version used by samples.

Reviewed changes

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

Show a summary per file
File Description
samples/build.gradle Updates Spring Boot, gRPC, Azure Identity, and Lombok versions for the samples module.
samples-azure-functions/build.gradle Updates Azure Functions plugin/library and test dependencies; adds JUnit platform launcher runtime dep.
gradle/wrapper/gradle-wrapper.properties Bumps Gradle wrapper distribution to 8.14.4.
endtoendtests/build.gradle Updates Azure Functions plugin/library and test dependencies; adds JUnit platform launcher runtime dep.
client/src/test/java/com/microsoft/durabletask/IntegrationTestBase.java Adjusts JUnit lifecycle method visibility for newer JUnit behavior.
client/build.gradle Updates plugin/dependency versions; adds JUnit platform launcher runtime dep; updates SpotBugs config for 6.x.
azuremanaged/build.gradle Updates plugin/dependency versions; adds JUnit platform launcher runtime dep; updates SpotBugs config for 6.x.
azurefunctions/build.gradle Updates Azure Functions library/SPI and SpotBugs/protobuf versions/config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@torosent
Copy link
Member

torosent commented Feb 8, 2026

@copilot apply changes based on the comments in this thread

Copy link
Contributor Author

Copilot AI commented Feb 8, 2026

@copilot apply changes based on the comments in this thread

Applied all three review suggestions in a584003:

  • azuremanaged/build.gradle: pinned junit-platform-launcher to version 1.14.2
  • endtoendtests/build.gradle: added JUnit BOM for version management
  • samples-azure-functions/build.gradle: added JUnit BOM for version management

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • rt.services.visualstudio.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from torosent February 8, 2026 04:04
Copilot AI and others added 3 commits February 9, 2026 10:20
- Gradle: 7.4 → 8.14.4
- gRPC: 1.59.0 → 1.78.0
- Protobuf: 3.12.0 → 3.25.8
- Jackson: 2.15.3 → 2.18.3
- OpenTelemetry: 1.25.0 → 1.58.0
- Azure Core: 1.45.0 → 1.57.1
- Azure Identity: 1.11.1 → 1.18.1
- JUnit: 5.7.2/5.10.0/5.6.2 → 5.14.2
- Mockito: 5.3.1 → 5.21.0
- REST Assured: 5.3.0 → 5.5.7
- SpotBugs plugin: 5.2.1 → 6.4.8
- SpotBugs tool: 4.9.2 → 4.9.8
- Protobuf plugin: 0.8.16 → 0.9.6
- Test-retry plugin: 1.4.1 → 1.6.4
- Azure Functions plugin: 1.11.1 → 1.16.1
- Azure Functions Java library: 3.0.0/3.1.0 → 3.2.3
- Azure Functions Java SPI: 1.0.0 → 1.1.0
- Spring Boot: 2.5.2 → 2.7.18
- Lombok: 1.18.22 → 1.18.42

Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
JUnit 5.12+ requires junit-platform-launcher to be explicitly declared.
This was already added to client and azuremanaged modules but was
missing from endtoendtests and samples-azure-functions, causing the
functions-e2e-tests and functions-sample-tests CI jobs to fail.

Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
JUnit 5.12+ warns that @AfterEach methods should not be private,
and this will be disallowed in a future release. Changed shutdown()
from private to package-private visibility.

Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
…s, and samples-azure-functions

- azuremanaged: Pin junit-platform-launcher to explicit version 1.14.2
- endtoendtests: Add JUnit BOM to resolve launcher version via platform
- samples-azure-functions: Add JUnit BOM to resolve launcher version via platform

Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
@torosent torosent force-pushed the copilot/update-dependencies-to-latest branch from a584003 to 93f1560 Compare February 9, 2026 18:20
@torosent torosent merged commit dd9784e into main Feb 9, 2026
8 checks passed
@torosent torosent deleted the copilot/update-dependencies-to-latest branch February 9, 2026 20:42
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.

4 participants