Skip to content

GROOVY-9381: Add native async/await support (updated proposal)#2437

Open
paulk-asert wants to merge 1 commit intoapache:masterfrom
paulk-asert:GROOVY_9381_6
Open

GROOVY-9381: Add native async/await support (updated proposal)#2437
paulk-asert wants to merge 1 commit intoapache:masterfrom
paulk-asert:GROOVY_9381_6

Conversation

@paulk-asert
Copy link
Copy Markdown
Contributor

No description provided.

This comment was marked as outdated.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 5, 2026

Codecov Report

❌ Patch coverage is 78.96440% with 195 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.6703%. Comparing base (5895ec5) to head (f83d1a8).

Files with missing lines Patch % Lines
.../org/apache/groovy/runtime/async/AsyncSupport.java 67.5497% 84 Missing and 14 partials ⚠️
...apache/groovy/runtime/async/DefaultAsyncScope.java 81.1594% 22 Missing and 4 partials ⚠️
...va/groovy/concurrent/AwaitableAdapterRegistry.java 72.5806% 11 Missing and 6 partials ⚠️
...ache/groovy/runtime/async/DefaultAsyncChannel.java 88.1890% 7 Missing and 8 partials ⚠️
...odehaus/groovy/transform/AsyncTransformHelper.java 78.7234% 7 Missing and 3 partials ⚠️
...va/org/apache/groovy/parser/antlr4/AstBuilder.java 83.0189% 6 Missing and 3 partials ⚠️
...g/apache/groovy/runtime/async/GeneratorBridge.java 86.2069% 7 Missing and 1 partial ⚠️
...org/apache/groovy/runtime/async/GroovyPromise.java 82.8571% 5 Missing and 1 partial ⚠️
src/main/java/groovy/concurrent/AwaitResult.java 93.3333% 0 Missing and 2 partials ⚠️
src/main/java/groovy/concurrent/Awaitable.java 92.8571% 2 Missing ⚠️
... and 1 more
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##               master      #2437        +/-   ##
==================================================
+ Coverage     66.5725%   66.6703%   +0.0978%     
- Complexity      30324      30635       +311     
==================================================
  Files            1404       1419        +15     
  Lines          117571     118498       +927     
  Branches        20848      20963       +115     
==================================================
+ Hits            78270      79003       +733     
- Misses          32903      33056       +153     
- Partials         6398       6439        +41     
Files with missing lines Coverage Δ
src/main/java/groovy/concurrent/AsyncChannel.java 100.0000% <100.0000%> (ø)
src/main/java/groovy/concurrent/AsyncScope.java 100.0000% <100.0000%> (ø)
...java/groovy/concurrent/ChannelClosedException.java 100.0000% <100.0000%> (ø)
...apache/groovy/reactor/ReactorAwaitableAdapter.java 100.0000% <100.0000%> (ø)
...g/apache/groovy/rxjava/RxJavaAwaitableAdapter.java 100.0000% <100.0000%> (ø)
src/main/java/groovy/concurrent/AwaitResult.java 93.3333% <93.3333%> (ø)
src/main/java/groovy/concurrent/Awaitable.java 92.8571% <92.8571%> (ø)
.../main/java/groovy/concurrent/AwaitableAdapter.java 0.0000% <0.0000%> (ø)
...org/apache/groovy/runtime/async/GroovyPromise.java 82.8571% <82.8571%> (ø)
...g/apache/groovy/runtime/async/GeneratorBridge.java 86.2069% <86.2069%> (ø)
... and 6 more

... and 3 files with indirect coverage changes

🚀 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.

@paulk-asert paulk-asert changed the title GROOVY-9381: Add native async/await support GROOVY-9381: Add native async/await support (updated proposal) Apr 5, 2026
Co-authored-by: Paul King <paulk@asert.com.au>
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