Skip to content

TCK tests for async invokers#706

Open
Ladicek wants to merge 2 commits intojakartaee:mainfrom
Ladicek:async-invokers
Open

TCK tests for async invokers#706
Ladicek wants to merge 2 commits intojakartaee:mainfrom
Ladicek:async-invokers

Conversation

@Ladicek
Copy link
Copy Markdown
Member

@Ladicek Ladicek commented Apr 13, 2026

Fixes #698

@Ladicek Ladicek added this to the CDI 5.0 milestone Apr 13, 2026
@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented Apr 13, 2026

Draft because the TCK audit already contains changes from jakartaee/cdi#961. Otherwise this is ready for review and then merge.

@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented Apr 16, 2026

Rebased. Since jakartaee/cdi#961 was merged, this is ready for review.

@Ladicek Ladicek marked this pull request as ready for review April 16, 2026 11:43
@manovotn manovotn requested review from Azquelt and manovotn April 16, 2026 13:51
Copy link
Copy Markdown
Contributor

@manovotn manovotn left a comment

Choose a reason for hiding this comment

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

We should also add a test for AfterDeploymentValidation.ensureAsyncHandlerExists()

@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented Apr 20, 2026

We should also add a test for AfterDeploymentValidation.ensureAsyncHandlerExists()

If anything, we should add a copy of this PR for Portable Extensions. I don't see the need to add a test for this one method, without testing the rest of the infrastructure through PEs.

@manovotn
Copy link
Copy Markdown
Contributor

We should also add a test for AfterDeploymentValidation.ensureAsyncHandlerExists()

If anything, we should add a copy of this PR for Portable Extensions. I don't see the need to add a test for this one method, without testing the rest of the infrastructure through PEs.

That would be even better for sure :)

@manovotn
Copy link
Copy Markdown
Contributor

@Ladicek do you want to address the PE counterpart in this PR should we open a new one?
Because as far as BCEs are concerned, I am happy with this PR.

@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented Apr 20, 2026

To be honest, I'd love someone else to do the PE part 😆

@manovotn
Copy link
Copy Markdown
Contributor

manovotn commented Apr 20, 2026

To be honest, I'd love someone else to do the PE part 😆

I have added a PE variant of the three positive test cases - is that OK with you @Ladicek?

@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented Apr 21, 2026

Just about perfect, thanks!

Copy link
Copy Markdown
Contributor

@manovotn manovotn left a comment

Choose a reason for hiding this comment

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

LGTM.

@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented Apr 27, 2026

Added a 2nd commit that contains TCK tests for the respecified async handlers (jakartaee/cdi#967). Before merging, the commits should be squashed.

Asked for a new review.

@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented Apr 29, 2026

@manovotn I think I screwed up by force-pushing the new TCK, because that dropped your commit with PEs tests. Do you by any chance still have them locally? Thanks! :-)

@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented May 4, 2026

Squashed and rebased.

@manovotn could you please take a look if you still have your PE tests locally? Sorry I dropped them.

@manovotn
Copy link
Copy Markdown
Contributor

manovotn commented May 4, 2026

Squashed and rebased.

@manovotn could you please take a look if you still have your PE tests locally? Sorry I dropped them.

Pushed

Copy link
Copy Markdown
Contributor

@manovotn manovotn left a comment

Choose a reason for hiding this comment

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

I went over the tests as I was implementing it in Weld and it LGTM 👍

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.

Create TCK coverage for async invokers

3 participants