Skip to content

chore(deps): bump org.awaitility:awaitility from 4.3.0 to 4.4.0 - #3735

Merged
csviri merged 1 commit into
mainfrom
dependabot/maven/org.awaitility-awaitility-4.4.0
Dec 1, 2026
Merged

csviri merged 1 commit into
mainfrom
dependabot/maven/org.awaitility-awaitility-4.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps org.awaitility:awaitility from 4.3.0 to 4.4.0.

Changelog

Sourced from org.awaitility:awaitility's changelog.

Changelog 4.4.0 (2026-11-27)

  • Added an Automatic-Module-Name to the jar manifests, which changes the module names for module-path users: awaitility -> org.awaitility awaitility.kotlin -> org.awaitility.kotlin awaitility.scala -> org.awaitility.scala awaitility.groovy -> org.awaitility.groovy (issue 205, thanks to Piotr P. Karwasz for the original pull request).

  • awaitility-groovy can now be used on the module path. Its Groovy extension module descriptor moved from META-INF/services to META-INF/groovy, where Groovy 2.5 and later look for it, because the module system rejected the old file.

  • Added failFast to the Kotlin DSL (issue 206). For example:

    await atMost Duration.ofMinutes(1) failFast { workflow.phase == "Failed" } until { workflow.phase == "Done" } Also available are failFastWithReason("reason") { .. } and failFastAsserted { .. } (with an optional reason).

  • Added Awaitility.getDefaultTimeout(), getDefaultPollInterval() and getDefaultPollDelay() that return the current defaults. getDefaultPollDelay() returns null when no default poll delay is set, and setDefaultPollDelay(Duration) now accepts null to go back to that, so you can save and restore all three (issue 269, thanks to Alexander Schmidt for the original pull request).

  • Awaitility's internal polling executor is now a plain ThreadPoolExecutor instead of Executors.newSingleThreadExecutor(..), so each await statement no longer creates the finalizable wrapper that newSingleThreadExecutor adds (a cleaner registration from Java 21). On Java 8 ThreadPoolExecutor itself has a finalizer, so the saving there is one finalizable object instead of two (issue 168). Executors passed in by users and the existing InternalExecutorServiceFactory.create(..) methods are unchanged.

  • fieldIn(..) no longer relies on the compiler's synthetic this$0 field to build its timeout message (issue 223).

  • Upgraded assertj-core to 3.27.7 (thanks to Ian Hundere for pull request).

  • Updated the README example to use the Duration overload in await().atMost(..) (thanks to Kurt Alfred Kluever for pull request).

  • Added support for configuring the default timeout, poll interval and poll delay using ISO-8601 system properties. For example:

    -Dawaitility.defaultTimeout=PT5S -Dawaitility.defaultPollInterval=PT0.1S -Dawaitility.defaultPollDelay=PT0.2S

    (thanks to Henning Hoefer for pull request).

  • Clarified fail-fast documentation so that it correctly states that terminal failure happens when the fail-fast condition evaluates to true, and cleaned up related Javadocs (thanks to Mustafa Ulu for pull request).

  • Added failFastWithReason(Supplier, Callable) and failFastWithReason(Supplier, ThrowingRunnable) so that the fail-fast failure reason is created only when the fail-fast condition triggers, and can include the current state (issue 240). For example:

    await().failFastWithReason(() -> "Order failed, last known state: " + order.state(), () -> order.state() == FAILED).until(() -> order.state() == SHIPPED);

    If the supplier throws, the TerminalFailureException is still thrown and the supplier's exception is added to it as a suppressed exception.

  • Added untilThrown(..) and untilThrownExactly(..) that wait until some code throws an exception of a given type and return that exception (issue 129). For example: IOException e = await().atMost(5, SECONDS).untilThrown(() -> client.fetch("/status"), IOException.class); untilThrown also matches subclasses, untilThrownExactly only the exact class. Both take a Callable or a ThrowingRunnable. If the code returns normally Awaitility keeps polling, and any other exception fails the wait right away unless it's ignored with e.g. ignoreException(..). A method reference to an overloaded method is ambiguous here, so use a lambda for those. The Kotlin DSL has "await.untilThrown { client.fetch("/status") }" and untilThrownExactly.

  • Added timeoutMessage(Supplier) to the DSL. The supplier is only called if the await times out, and its text is appended on a new line after the standard timeout message, so the alias and the mismatch description are kept. For example: await().atMost(5, SECONDS) .timeoutMessage(() -> "Order state was " + orders.stateOf(orderId)) .until(() -> orders.stateOf(orderId) == SHIPPED); Kotlin users can write "await withTimeoutMessage { .. } until { .. }" (pull request 195, thanks to James Agnew for the original pull request).

  • Added ConditionFactory#onTimeout(..) that takes a callback which is called once when the await times out, just before the ConditionTimeoutException is thrown. Use it to print extra diagnostics when a test is about to fail. For example: await().atMost(10, SECONDS).onTimeout(event -> env.printErrors()).until(..); The callback receives the TimeoutEvent and is called in the same cases as ConditionEvaluationListener#onTimeout (a timeout or an atLeast violation), not when the condition throws or a fail-fast condition fails. It is kept when conditionEvaluationListener(..) or logging(..) is called afterwards. If the callback throws, its exception is added as suppressed to the ConditionTimeoutException. The callback is still called if a listener's onTimeout throws. Also available in the Kotlin DSL as "await atMost 10.seconds onTimeout { .. } until { .. }" (issue 283, thanks to Burak KALAYCI for pull request).

  • during(..) can now succeed with the default timeout (issues 91, 165, 186 and 264). If you don't set atMost yourself, the default timeout is extended by the during period, so await().during(10, SECONDS).until(..) now works with the default 10 second timeout. If you do set atMost and it is not larger than the poll delay plus the during period, the await now fails at once with a ConditionTimeoutException that explains why, instead of polling until the timeout. When the condition is fulfilled at the timeout but has not held for the whole during period, the error message now says so (thanks to arimu1 for the timeout message work in pull request 309).

  • Added untilOrTimeout(..) and untilAssertedOrTimeout(..) that return an AwaitResult instead of throwing ConditionTimeoutException when the condition is not fulfilled in time. Other exceptions, such as fail fast failures, are still thrown. For example: AwaitResult result = await().atMost(Duration.ofSeconds(2)).untilOrTimeout(repository::count, is(greaterThan(2))); if (!result.isSuccess()) { log.warn("Got {} items: {}", result.getValue(), result.getCause().getMessage()); } Kotlin users can write "await atMost 2.seconds untilOrTimeout { repository.count() > 2 }" (issue 48, thanks to Jonatan Ivanov for the design).

  • fieldIn(..) error messages now work for fields declared in a superclass. Before, the timeout message said "Internal error" (issue 247, thanks to Jaya Dileep for pull request).

  • JavaVersionDetector now reads the major version from java.version strings like "25+36" and "25+36-ea" instead of throwing (issue 296, thanks to arimu1 for pull request).

  • Clarified in the Javadoc that during(..) needs the condition to hold continuously, not for a total of that time (issue 298, thanks to Jaya Dileep for pull request).

... (truncated)

Commits
  • e85d9f6 [maven-release-plugin] prepare release awaitility-4.4.0
  • a5e0f46 [ci skip] Make the release script stop on failure and check before it changes...
  • 89aa813 Merge pull request #348 from awaitility/claude/4.4.0-onfailure-310
  • 6223513 Call the onTimeout callback even when a listener's onTimeout throws
  • 0b64281 Merge pull request #310 by kalayciburak, keeping master's onTimeout API
  • 18ce9f6 Merge pull request #336 from awaitility/claude/4.4.0-tryuntil
  • 653b941 Merge pull request #335 from awaitility/claude/4.4.0-during
  • d0c20f7 Merge pull request #334 from awaitility/claude/4.4.0-onfailure
  • e58692f Merge pull request #333 from awaitility/claude/4.4.0-timeoutmessage
  • ad18606 Merge pull request #337 from awaitility/claude/4.4.0-untilthrown
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated the version of an internal testing library used by the project and its Tomcat operator. This maintenance change does not alter application features or user-visible behavior.

Bumps [org.awaitility:awaitility](https://github.com/awaitility/awaitility) from 4.3.0 to 4.4.0.
- [Changelog](https://github.com/awaitility/awaitility/blob/master/changelog.txt)
- [Commits](awaitility/awaitility@awaitility-4.3.0...awaitility-4.4.0)

---
updated-dependencies:
- dependency-name: org.awaitility:awaitility
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 1, 2026
Copilot AI balanced review requested due to automatic review settings December 1, 2026 03:36
@dependabot dependabot Bot added the java Pull requests that update Java code label Dec 1, 2026
@openshift-ci
openshift-ci Bot requested review from csviri and xstefank December 1, 2026 03:36
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The managed Awaitility version and the Tomcat operator’s Awaitility test dependency version change from 4.3.0 to 4.4.0.

Changes: Awaitility version update

Layer / File(s) Summary
Update Awaitility version
pom.xml, sample-operators/tomcat-operator/pom.xml
The managed Awaitility version and the Tomcat operator test dependency version change to 4.4.0.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested labels: dependencies, java

Suggested reviewers: csviri, metacosm

Merge Risk: Minimal · up to df98e

This updates the Awaitility test library from 4.3.0 to 4.4.0 in two build files. It is unlikely to affect production behavior and is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title states the main change: the org.awaitility:awaitility dependency is bumped from 4.3.0 to 4.4.0. The raw summary confirms the awaitility.version property in pom.xml and the tomcat-operator te…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: the org.awaitility:awaitility dependency is bumped from 4.3.0 to 4.4.0. The raw summary confirms the awaitility.version property in pom.xml and the tomcat-operator test dependency both move from 4.3.0 to 4.4.0. The title is specific, follows the conventional chore(deps) format, and matches the changeset.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

OSV Scanner (2.7.0)

pom.xml

OSV Scanner exited with code 128 without a usable report

sample-operators/tomcat-operator/pom.xml

OSV Scanner exited with code 127; dependency analysis is incomplete

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 872f72aa-3de4-448b-a92f-182500435b96
Commits

Reviewing files that changed from the base of the PR and between 07e1af3 and df98eb5.

Files selected for processing: 2

  • pom.xml
  • sample-operators/tomcat-operator/pom.xml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block the Awaitility dependency update.

No open issues 🎉

What changed in this PR

Updates Awaitility from 4.3.0 to 4.4.0 for Java Operator SDK’s testing dependencies, including the published JUnit extension and Tomcat sample.

Changes:

  • Bumps the centrally managed Awaitility version.
  • Aligns the Tomcat sample’s explicit test dependency with that version.
File Description
sample-operators/​tomcat-operator/​pom.xml Updates the test-scoped Awaitility dependency to 4.4.0.
pom.xml Updates the shared awaitility.version property to 4.4.0.

Review effort: Balanced

@csviri
csviri merged commit 2654109 into main Dec 1, 2026
47 of 53 checks passed
@csviri
csviri deleted the dependabot/maven/org.awaitility-awaitility-4.4.0 branch December 1, 2026 08:30
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 java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants