Skip to content

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

Merged
paulk-asert merged 1 commit intoapache:masterfrom
paulk-asert:GROOVY_9381_6
Apr 13, 2026
Merged

GROOVY-9381: Add native async/await support (updated proposal)#2437
paulk-asert merged 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.5986%. Comparing base (165bfd1) to head (af1e9c8).
⚠️ Report is 3 commits behind head on master.

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.5002%   66.5986%   +0.0984%     
- Complexity      30418      30731       +313     
==================================================
  Files            1420       1435        +15     
  Lines          118577     119504       +927     
  Branches        21044      21159       +115     
==================================================
+ Hits            78854      79588       +734     
- Misses          33204      33355       +151     
- Partials         6519       6561        +42     
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 2 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
@paulk-asert paulk-asert force-pushed the GROOVY_9381_6 branch 2 times, most recently from 28b3d77 to f83d1a8 Compare April 6, 2026 12:40
Co-authored-by: Paul King <paulk@asert.com.au>
@paulk-asert paulk-asert merged commit 7ab0aa8 into apache:master Apr 13, 2026
22 checks passed
@paulk-asert paulk-asert deleted the GROOVY_9381_6 branch April 13, 2026 19:56
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