Hi Tim, I configured GH actions on typedevents repo and when running some updates the build reproduced the error I mentioned: https://github.com/apache/aries-typedevent/actions/runs/46512429699/job/142179006172
pon., 30 lis 2026 o 11:18 Christian Schneider <[email protected]> napisał(a): > +1 > > I found a small bug. > Checked with Tim, that it is fine for RC1 and will be fixed for final > release. > > Christian > --- > > In TypedEventMonitorImpl.java:367–374 > <https://github.com/apache/aries-typedevent/blob/2cb6feb9b6569a21c93dc84d0d928495a2079188/org.apache.aries.typedevent.bus/src/main/java/org/apache/aries/typedevent/bus/impl/TypedEventMonitorImpl.java#L367-L374>, > wildcard reconfiguration removes entries from the map being iterated. > Against the staged binary, this sequence throws > ConcurrentModificationException: > > 1. Configure "*" with RangePolicy.atMost(1). > 2. Publish events on two distinct topics. > 3. Reconfigure "*" with RangePolicy.unlimited(). > > The configuration is changed before the exception, leaving cleanup > incomplete. Use iterator-safe removal or collect affected keys before > mutating, and add a regression test. > > On Thu, 26 Nov 2026 at 21:48, Dominik Przybysz via dev < > [email protected]> wrote: > >> +1 >> >> I run the build several times and some of the runs were failing in tests >> with e.g. >> >> TEST >> >> org.apache.aries.typedevent.bus.osgi.TypedEventMonitorIntegrationTest#testTypedEventMonitor1(org.osgi.service.typedevent.monitor.TypedEventMonitor, >> org.osgi.service.typedevent.TypedEventBus) <<< ERROR: Failed to resolve >> parameter [org.osgi.service.typedevent.monitor.TypedEventMonitor arg0] in >> method [public void >> >> org.apache.aries.typedevent.bus.osgi.TypedEventMonitorIntegrationTest.testTypedEventMonitor1(org.osgi.service.typedevent.monitor.TypedEventMonitor,org.osgi.service.typedevent.TypedEventBus) >> throws >> >> java.lang.InterruptedException,java.lang.reflect.InvocationTargetException]: >> 1/1 services >> (objectClass=org.osgi.service.typedevent.monitor.TypedEventMonitor) didn't >> arrive within 200ms >> >> I think it could be good to verify the possible flakiness of the tests and >> add GH actions to the repository >> >> czw., 26 lis 2026 o 14:39 Timothy Ward via dev <[email protected]> >> napisał(a): >> >> > Hi, >> > >> > I would like to release Apache Aries Typed Events 1.1.0-RC1. >> > >> > This release is the result of the efforts to update the OSGi Typed Event >> > Service specification to 1.1.0. As the reference implementation Aries >> > Typed Events needs to provide a compliant implementation to complete the >> > Specification release. This release uses the 1.1.0-RC1 API >> > (org.osgi:org.osgi.service.typedevent:1.1.0-RC1, published on Maven >> > Central). >> > >> > Modules in this release: >> > * org.apache.aries.typedevent:typedevent-parent >> > * org.apache.aries.typedevent:typedevent-test-bom >> > * org.apache.aries.typedevent:org.apache.aries.typedevent.bus >> > * org.apache.aries.typedevent.remote:org.apache.aries.typedevent.remote >> > * >> > >> org.apache.aries.typedevent.remote:org.apache.aries.typedevent.remote.api >> > * >> > >> org.apache.aries.typedevent.remote:org.apache.aries.typedevent.remote.spi >> > * >> > >> org.apache.aries.typedevent.remote.remoteservices:org.apache.aries.typedevent.remote.remoteservices >> > >> > Staging repository: >> > https://repository.apache.org/content/repositories/orgapachearies-1225 >> > >> > Source release: >> > >> > >> https://repository.apache.org/content/repositories/orgapachearies-1225/org/apache/aries/typedevent/typedevent-parent/1.1.0-RC1/typedevent-parent-1.1.0-RC1-source-release.zip >> > >> > Source release SHA-512: >> > >> > >> 326ebb65861ba3b4993be8a55c4d8ae3abae1c946caeb5c8f361c5c90f2fb36548e6af1507866a30eb6185c0863b612e57aaeae230ee094ae846eea0c0e1bf28 >> > >> > Git tag: typedevent-parent-1.1.0-RC1 >> > Commit: 2cb6feb9b6569a21c93dc84d0d928495a2079188 >> > >> https://github.com/apache/aries-typedevent/tree/typedevent-parent-1.1.0-RC1 >> > >> > Signing key: 2F83B0359F044BFD5FB13829433B9CE5A5F15909 >> > KEYS: https://downloads.apache.org/aries/KEYS >> > >> > Checks done: signatures and checksums of all staged files, no SNAPSHOT >> > references in the poms, Bundle-Version 1.1.0.RC1 and LICENSE and NOTICE >> in >> > each bundle, and a full build of the source release with JDK 17 >> > (mvn clean verify). >> > >> > Please vote on releasing this package as Apache Aries Typed Events >> > 1.1.0-RC1. The vote is open for at least 72 hours and passes with at >> least >> > three binding +1 votes and more +1 than -1 votes. >> > >> > [ ] +1 Release this package >> > [ ] 0 No opinion >> > [ ] -1 Do not release this package, because ... >> > >> > >> > Please consider this my +1 >> > >> > Tim >> >> >> >> -- >> Regards, >> Dominik Przybysz >> > > > -- > -- > > Computer Scientist > http://www.adobe.com > > -- Regards, Dominik Przybysz
