Skip to content

Commit f204c13

Browse files
committed
Sync working groups
1 parent 486cd3b commit f204c13

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

_data/wg.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
---
22
working-groups:
3+
- title: "Test classloading"
4+
board-url: "https://github.com/orgs/quarkusio/projects/30"
5+
short-description: |
6+
The goal of this working group is to rewrite Quarkus's test classloading, so that tests are run in the same classloader as the application under tests, and Quarkus extensions can do "Quarkus-y" manipulations of test classes.
7+
readme: |
8+
<p>At the moment, Quarkus tests are invoked using one classloader, and then executed in a different classloader. This mostly works well, but means some use cases don't work: extensions cannot manipulate test classes in the same way that they do normal application classes. For example, anything run via a JUnit @TestTemplate test case will see the un-transformed class.</p>
9+
<p>It also means we have extra user-facing complexity, such as the QuarkusTest*Callbacks](https://quarkus.io/guides/getting-started-testing#enrichment-via-quarkustestcallback):</p>
10+
<blockquote>
11+
<p>While it is possible to use JUnit Jupiter callback interfaces like BeforeEachCallback, you might run into classloading issues because Quarkus has to run tests in a custom classloader which JUnit is not aware of.</p>
12+
</blockquote>
13+
<p>A final benefit is a reduction in the internal complexity of our code. Hopping between classloaders during test execution takes a lot of work, and adds a lot of code! It also is brittle in places. For example, because the hop between classloaders relies on serialization in some cases, it's becoming harder to do as the JVM tightens up security restrictions. We used to rely on xstream, but that stopped working in Java 17. In https://github.com/quarkusio/quarkus/pull/40601, @dmlloyd moved us to use the JBoss Serializer, which works better, but might still be affected by future restrictions on class access.</p>
14+
<p>The goal of this working group is to allow test classes to fully participate in the 'quarkification' of classes. The mechanism for this is probably just to load the test classes with the classloader we intend to run them with, so that JUnit sees the 'correct' version of the class.</p>
15+
<ul>
16+
<li>Point of contact: @holly-cummins (@<strong>Holly Cummins</strong> on Zulip)</li>
17+
<li>Proposal: https://github.com/quarkusio/quarkus/discussions/41867</li>
18+
<li>Discussion: <a href="https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/WG.20.2330.20Test.20Classloading.20chatter/">Zulip topic</a></li>
19+
</ul>
20+
status: on track
21+
lts: false
22+
completed: false
23+
last-activity: 2025-04-23
24+
last-update-date: 2025-03-25
25+
last-update: |
26+
Major update: The PR which switched from 'load classes with the same classloader as JUnit classes' to 'load classes with the classloader which will be used to run them' has merged. This closes ~8 outstanding issues (while potentially creating some more caused by eager augmention).
27+
point-of-contact: "@holly-cummins (@<strong>Holly Cummins</strong> on Zulip)"
28+
proposal: https://github.com/quarkusio/quarkus/discussions/41867
29+
discussion: https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/WG.20.2330.20Test.20Classloading.20chatter/
330
- title: "Quarkus 3.20 LTS"
431
board-url: "https://github.com/orgs/quarkusio/projects/41"
532
short-description: |
@@ -32,33 +59,6 @@ working-groups:
3259
last-update-date: 2025-04-01
3360
last-update: |
3461
In the last month, the WG - Quarkus 3.15 LTS closed two issues: one regarding the assignment of random ports in the configuration and another updating the Kafka client version to 3.7.2 to address CVE-2024-56128. No new issues were opened, reflecting a commitment to resolving important topics for the upcoming LTS release.
35-
- title: "Test classloading"
36-
board-url: "https://github.com/orgs/quarkusio/projects/30"
37-
short-description: |
38-
The goal of this working group is to rewrite Quarkus's test classloading, so that tests are run in the same classloader as the application under tests, and Quarkus extensions can do "Quarkus-y" manipulations of test classes.
39-
readme: |
40-
<p>At the moment, Quarkus tests are invoked using one classloader, and then executed in a different classloader. This mostly works well, but means some use cases don't work: extensions cannot manipulate test classes in the same way that they do normal application classes. For example, anything run via a JUnit @TestTemplate test case will see the un-transformed class.</p>
41-
<p>It also means we have extra user-facing complexity, such as the QuarkusTest*Callbacks](https://quarkus.io/guides/getting-started-testing#enrichment-via-quarkustestcallback):</p>
42-
<blockquote>
43-
<p>While it is possible to use JUnit Jupiter callback interfaces like BeforeEachCallback, you might run into classloading issues because Quarkus has to run tests in a custom classloader which JUnit is not aware of.</p>
44-
</blockquote>
45-
<p>A final benefit is a reduction in the internal complexity of our code. Hopping between classloaders during test execution takes a lot of work, and adds a lot of code! It also is brittle in places. For example, because the hop between classloaders relies on serialization in some cases, it's becoming harder to do as the JVM tightens up security restrictions. We used to rely on xstream, but that stopped working in Java 17. In https://github.com/quarkusio/quarkus/pull/40601, @dmlloyd moved us to use the JBoss Serializer, which works better, but might still be affected by future restrictions on class access.</p>
46-
<p>The goal of this working group is to allow test classes to fully participate in the 'quarkification' of classes. The mechanism for this is probably just to load the test classes with the classloader we intend to run them with, so that JUnit sees the 'correct' version of the class.</p>
47-
<ul>
48-
<li>Point of contact: @holly-cummins (@<strong>Holly Cummins</strong> on Zulip)</li>
49-
<li>Proposal: https://github.com/quarkusio/quarkus/discussions/41867</li>
50-
<li>Discussion: <a href="https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/WG.20.2330.20Test.20Classloading.20chatter/">Zulip topic</a></li>
51-
</ul>
52-
status: on track
53-
lts: false
54-
completed: false
55-
last-activity: 2025-04-23
56-
last-update-date: 2025-03-25
57-
last-update: |
58-
Major update: The PR which switched from 'load classes with the same classloader as JUnit classes' to 'load classes with the classloader which will be used to run them' has merged. This closes ~8 outstanding issues (while potentially creating some more caused by eager augmention).
59-
point-of-contact: "@holly-cummins (@<strong>Holly Cummins</strong> on Zulip)"
60-
proposal: https://github.com/quarkusio/quarkus/discussions/41867
61-
discussion: https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/WG.20.2330.20Test.20Classloading.20chatter/
6262
- title: "Gizmo 2"
6363
board-url: "https://github.com/orgs/quarkusio/projects/43"
6464
short-description: |

0 commit comments

Comments
 (0)