instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AxDSan__mnemosyne__120 | AxDSan/mnemosyne | 120 | defect | ab0e0ed94ee58db90cfb190836654dac8ed24231 | d8ddf557ef0a1879e9278d1fc950ba256b5b4076 | fix(entities): block meta-word extraction noise in mention annotations | ## Summary
**Problem**: 179 episodic memories produced 7,591 'mentions' annotations (42x amplification). Top extracted "entities" were noise: ASSISTANT(394), USER(375), SKILL(104), Review(104), TARGET(93), CLASS(91), LEVEL(86), SIGNALS(86).
**Root causes**:
1. Stopword list had only standard English stopwords, no met... | diff --git a/CONTINUE_HERE.md b/CONTINUE_HERE.md
new file mode 100644
index 000000000..47778b171
--- /dev/null
+++ b/CONTINUE_HERE.md
@@ -0,0 +1,51 @@
+# Mnemosyne — Session Continuation Reference
+
+## Branch
+`fix/mention-entity-extraction-quality` (fork: ether-btc/mnemosyne)
+
+## PR
+**Open**: https://github.com/Ax... | 8 | 6 | 1 | [{"id": "G0", "claim": "CONTINUE_HERE.md (a 51-line session continuation doc) should not be committed to the repository; session notes belong in commit messages and the PR description, not the project root.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
Axect__Peroxide__90 | Axect/Peroxide | 90 | defect | adf71be2114eb28e092563d2644f76caf25fb219 | e4518f4e0332b746a27b0bb1e63875526fb00b0f | FIX: compare to epsilon during rref | I found a matrix that was numerically unstable while calculating reduced row echelon form. I've updated the comparisons to zero so they instead compare to epsilon, which has been more stable for my use case.
I added a test case for the unstable scenario, as well as a more basic test since one wasn't present yet for ... | diff --git a/src/structure/matrix.rs b/src/structure/matrix.rs
index 72220e2..be93717 100644
--- a/src/structure/matrix.rs
+++ b/src/structure/matrix.rs
@@ -3293,6 +3293,7 @@ impl LinearAlgebra<Matrix> for Matrix {
///
/// Implementation of [RosettaCode](https://rosettacode.org/wiki/Reduced_row_echelon_form)
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The universal hard-coded epsilon value of 1e-10 is arbitrary and should be reconsidered (e.g. machine epsilon / smallest positive normal, with formal justification).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__2246 | AxonFramework/AxonFramework | 2,246 | defect | caf0d1cfe14896fb544dda2a23cb394ebcc4df70 | 847f0dc586398113c26e5a8cb057280b66922dee | Check attribute filter deep equals | Since 4.5.10 when I register a field to be ignored in a fixture test, the field is not ignored. In the DeepEqualsMatcher a check is missing when before calling the equals method of the object. | diff --git a/test/src/main/java/org/axonframework/test/matchers/DeepEqualsMatcher.java b/test/src/main/java/org/axonframework/test/matchers/DeepEqualsMatcher.java
index cbc9d1cba5e..10db7edaf44 100644
--- a/test/src/main/java/org/axonframework/test/matchers/DeepEqualsMatcher.java
+++ b/test/src/main/java/org/axonframew... | 1 | 1 | 1 | [{"id": "G0", "claim": "The check should be broadened to validate whether the configured filter in the DeepEqualsMatcher is the default AllFieldsFilter (nobody set it themselves, or the user set it and doesn't care about the contents) instead of only checking whether the filter contains an IgnoreField.", "category": "d... | null |
AxonFramework__AxonFramework__2487 | AxonFramework/AxonFramework | 2,487 | defect | 657be45705a52f5bb6d5613329d4364a530b99e0 | 22372430de36e826e70d3af3e8ed7faa7e44cfa3 | Introduce the NestingSpanFactory | Allows handler traces to be child traces of their dispatching trace within a certain time limit.
Can be configured using properties in Spring boot:
```properties
axon.tracing.nested-handlers=true
axon.tracing.nested-time-limit=3m
```
Default to a time limit of two minutes. Within this time limit messages will... | diff --git a/messaging/src/main/java/org/axonframework/eventhandling/deadletter/jpa/JpaSequencedDeadLetterQueue.java b/messaging/src/main/java/org/axonframework/eventhandling/deadletter/jpa/JpaSequencedDeadLetterQueue.java
index 6044d7070dd..78c59fb9378 100644
--- a/messaging/src/main/java/org/axonframework/eventhandli... | 12 | 9 | 3 | [{"id": "G0", "claim": "Validate the builder's values before they are used, in a dedicated (overridable) validate() method, so a null delegateSpanFactory fails at start-up instead of when the application runs.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c... | null |
AxonFramework__AxonFramework__2517 | AxonFramework/AxonFramework | 2,517 | defect | 4af458c848c164b0b935eb974a5fe58e44942ea1 | 4b51d5e3985dd03d786016d1e603feda0af24bee | Fix caching mechanism for Sagas | This PR expands the `Cache` interface with a `computeIfAbsent(Object key, Supplier<T> valueSupplier)` method, which lazily fetches data when data is not found in the cache.
The current implementation always queries the Saga store, and puts it in the cache afterwards. The NPE experienced by a customer might be becau... | diff --git a/messaging/src/main/java/org/axonframework/common/caching/Cache.java b/messaging/src/main/java/org/axonframework/common/caching/Cache.java
index b440a5620f0..334524fd463 100644
--- a/messaging/src/main/java/org/axonframework/common/caching/Cache.java
+++ b/messaging/src/main/java/org/axonframework/common/ca... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new method added to the Cache interface should have a workable default implementation so existing implementations don't break, and a default that only throws an UnsupportedOperationException is worse than none because problems would only surface at runtime.", "category": "design", "verdict":... | null |
AxonFramework__AxonFramework__2544 | AxonFramework/AxonFramework | 2,544 | defect | 1c3ffa8614fc70c8d7c741b39e24a7697246ec80 | de0d114e67868008329620743df4375aab9d23e8 | Several fixes to successfully run a JDK17 build | This pull request aims to ensure the build of Axon Framework fully succeeds through all the test cases present.
Although Axon Framework is *already* usable within a JDK17 project, some of the framework's tests took approaches no longer valid in higher version of the JDK.
To sum up, the following adjustments have been... | diff --git a/eventsourcing/src/test/java/org/axonframework/eventsourcing/AbstractSnapshotterTest.java b/eventsourcing/src/test/java/org/axonframework/eventsourcing/AbstractSnapshotterTest.java
index c248c2cafb8..443e211d99b 100644
--- a/eventsourcing/src/test/java/org/axonframework/eventsourcing/AbstractSnapshotterTest... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test changes removed the PR's own assertion that the snapshotter still logs (warn/error) swallowed snapshot-store exceptions, and abuijze asked for that behaviour to be restored, suggesting appending to the Log4J logger so log entries can be asserted.", "category": "testing", "verdict": "sup... | null |
AxonFramework__AxonFramework__2575 | AxonFramework/AxonFramework | 2,575 | defect | 255c40d6e590c113d5da665c66e5658e7d283c34 | 720401a07ffd779ee3409b0a33e456da72cd3db0 | [#2074] Allow to customize saga schema table and columns | Fixes #2074
@smcvb | diff --git a/modelling/src/main/java/org/axonframework/modelling/saga/repository/jdbc/GenericSagaSqlSchema.java b/modelling/src/main/java/org/axonframework/modelling/saga/repository/jdbc/GenericSagaSqlSchema.java
index e9e6d6cc876..9be70cf5977 100644
--- a/modelling/src/main/java/org/axonframework/modelling/saga/reposi... | 3 | 3 | 2 | [{"id": "G0", "claim": "The SQL in sql_loadSaga (and related statements) hardcodes the \"revision\" column instead of using a configurable sagaSchema.revisionColumn(), so the saga schema's revision column cannot be customized.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}... | null |
AxonFramework__AxonFramework__2585 | AxonFramework/AxonFramework | 2,585 | defect | 96607607a3ba17044434f3cd1609446611470c56 | 259e6158f3ebd10c64c7df80d1745d86d8589d79 | Fix not calling shutdown on `EmbeddedEventStore` in combination with `javax` | By moving the trigger for the shutdown of the `EmbeddedEventStore` from using an annotation, to implementing `LifeCycle` it's no longer `javax` or `jakarta` specific. This makes sure it always works, and removes the need for a legacy `EmbeddedEventStore`.
Fixes https://github.com/AxonFramework/AxonFramework/issues/2... | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/EmbeddedEventStore.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/EmbeddedEventStore.java
index 66820e0533b..3fbc1706b4a 100644
--- a/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/... | 2 | 2 | 2 | [{"id": "G0", "claim": "Deleting the legacyjpa (javax) EmbeddedEventStore class cannot be done in this pull request because it may introduce a breaking change.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "EmbeddedEventStore should use the phase INBOUND... | null |
AxonFramework__AxonFramework__2592 | AxonFramework/AxonFramework | 2,592 | defect | 1b74b333fa2aa84ab57ccbaf2fb165163ef68a39 | a655cb1f11f07b59c1a7576bbabeeb23050b29b2 | [#2555] Switch to `ConcurrentHashMap` in Saga related classes | This pull request switches to use a `ConcurrentHashMap` for the `PayloadAssociationResolver` and the `SagaMethodMessageHandlerDefinition`.
Furthermore, tests are added to validate both classes to be thread-safe.
In doing so, this pull request resolves #2555. | diff --git a/modelling/src/main/java/org/axonframework/modelling/saga/PayloadAssociationResolver.java b/modelling/src/main/java/org/axonframework/modelling/saga/PayloadAssociationResolver.java
index 0e0e7e1251b..e85455686ca 100644
--- a/modelling/src/main/java/org/axonframework/modelling/saga/PayloadAssociationResolver... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test class name `PayLoadAssociationResolverTest` should not camel-case `payload` and should be renamed to `PayloadAssociationResolverTest`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__2633 | AxonFramework/AxonFramework | 2,633 | defect | 9951c07ee6239bdda05b053646880e195282bb5e | 73727d4774523019843a4357596d1e71b3a92763 | Add a `registerDeadLetterQueueProvider` method in the `EventProcessingConfigurer`. | Fixes https://github.com/AxonFramework/AxonFramework/issues/2598.
Besides adding the interface, it also contains the implementation in the `EventProcessingModule`.
Auto configuration is added for JPA (both jakarta and legacy).
It also adds a property so when the provider is set, setting a property like `axon.eventha... | diff --git a/config/src/main/java/org/axonframework/config/EventProcessingConfigurer.java b/config/src/main/java/org/axonframework/config/EventProcessingConfigurer.java
index b69d5100d09..0b11465ca52 100644
--- a/config/src/main/java/org/axonframework/config/EventProcessingConfigurer.java
+++ b/config/src/main/java/org... | 10 | 10 | 6 | [{"id": "G0", "claim": "The parameter of the new registerDeadLetterProvider method should be renamed from deadLetterProvider to deadLetterQueueProvider.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The registerDeadLetterProvider JavaDoc should spell ou... | null |
AxonFramework__AxonFramework__2656 | AxonFramework/AxonFramework | 2,656 | defect | ea76923af24068e5b1dbe8c6d747b1cf52f029eb | ff40cfd46882875e66ee45d159f03dd9e4af3562 | [#2640] Support @ExceptionHandler and @MessageHandlerInterceptor annotated methods in Sagas | Fixes https://github.com/AxonFramework/AxonFramework/issues/2640
It does 'break' the `InspectedSagaModel` I don't think this is a problem, but we can create an overloaded constructor setting a `NoMoreInterceptors` instance for the interceptorMemberChain if neccesary. | diff --git a/modelling/src/main/java/org/axonframework/modelling/saga/AnnotatedSaga.java b/modelling/src/main/java/org/axonframework/modelling/saga/AnnotatedSaga.java
index 8a3e620ee7a..c2c4fcc9d7a 100644
--- a/modelling/src/main/java/org/axonframework/modelling/saga/AnnotatedSaga.java
+++ b/modelling/src/main/java/org... | 1 | 1 | 1 | [{"id": "G0", "claim": "The chainedInterceptor() default method (and its NoMoreInterceptors helper) does not belong on the SagaModel interface and should instead be added to the SagaMetaModelFactory, which is exposed on the SagaModel's API.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "int... | null |
AxonFramework__AxonFramework__2662 | AxonFramework/AxonFramework | 2,662 | defect | e5e1020f4e45c45da4e90885222d1360893f5a13 | 22a97d694363fff76b87d77b0a6bd8dc70608150 | Improve error message in case a streaming query gives an error. | The "No suitable handler for query found" could be somewhat confusing. It's now changed to an "Error starting stream" with the exception instead. We might want to have this (also) in 4.7. In that case, I can rebase on the 4.7 branch.
Fixes https://github.com/AxonFramework/AxonFramework/issues/2660 | diff --git a/axon-server-connector/src/test/java/org/axonframework/axonserver/connector/query/StreamingQueryEndToEndTest.java b/axon-server-connector/src/test/java/org/axonframework/axonserver/connector/query/StreamingQueryEndToEndTest.java
index 8011d26802e..c607d78a687 100644
--- a/axon-server-connector/src/test/java... | 3 | 1 | 1 | [{"id": "G0", "claim": "CatchLastError is not side effect free, and the reviewer hopes a more elegant way to solve it can be found.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "With lastError kept in an external AtomicReference instead of the context, a ... | null |
AxonFramework__AxonFramework__2722 | AxonFramework/AxonFramework | 2,722 | defect | 328a416d3e32902cac069c31286646229b0902b6 | 8ffb363b84abc6d7b497108c020b9d4042727b1e | Make the token store claim timeout easily configurable. | Fixes https://github.com/AxonFramework/AxonFramework/issues/2708.
This will also need to be implemented in the Mongo and Kafka extensions for consistency. This is easiest done after this has been merged. | diff --git a/spring-boot-3-integrationtests/src/test/java/org/axonframework/springboot/JpaAutoConfigurationTest.java b/spring-boot-3-integrationtests/src/test/java/org/axonframework/springboot/JpaAutoConfigurationTest.java
index 1c9721da999..0d89a76e5f8 100644
--- a/spring-boot-3-integrationtests/src/test/java/org/axon... | 4 | 4 | 1 | [{"id": "G0", "claim": "Rewrite the JavaDoc of the claim-timeout getter and setter to the clearer suggested wording (which also fixes the \"clam timeout\" typo in the getter's @return tag).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The privat... | null |
AxonFramework__AxonFramework__2750 | AxonFramework/AxonFramework | 2,750 | defect | ca4ce369bed51be667c850006c2543b27560f239 | 27e19b02ea949927e86436df916bfd9bdd322ee4 | Allow property based configuration of load balancing strategies | This pull request introduces a property-based configuration of load-balancing strategies.
This is done by expanding the `AxonServerConfiguration` with `EventProcessingConfiguration` (added under `axon.axonserver.eventhandling` to align with regular event processing configuration).
The `EventProcessingConfiguration`,... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java
index 6da0b4f7860..752fb01ccb8 100644
--- a/axon-server-connector/src/main/java/org/axonframework... | 1 | 1 | 1 | [{"id": "G0", "claim": "Perhaps the load-balancing strategy should be a regular String field instead of an enum, since the options in Axon Server are dynamic and any version of AF and AS should be interoperable.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__2777 | AxonFramework/AxonFramework | 2,777 | defect | a9607bd317c5e8e7a2c7867662ab0af97580afdb | 5d7d275aafc95a7af9af60ab889243fa52fd180f | Add CBOR format and Spring Boot properties for support | CBOR can now be easily configured from Spring Boot properties. Prerequisite is the existence of the CBORMapper on the classpath.
The messaging tests' TestSerializer has been extended with a CBOR serializer. This means all ParameterizedTest methods for serialization now test CBOR as well.
I have extended the EventSt... | diff --git a/axon-server-connector/pom.xml b/axon-server-connector/pom.xml
index 7b59831ea61..c382f8a51b1 100644
--- a/axon-server-connector/pom.xml
+++ b/axon-server-connector/pom.xml
@@ -94,6 +94,11 @@
<artifactId>jackson-databind</artifactId>
<scope>test</scope>
</dependency>
+ ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The cbor dependency has been added twice in messaging/pom.xml, so one of the two declarations should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mvnrepository link comment above the cbor dependency in s... | null |
AxonFramework__AxonFramework__2801 | AxonFramework/AxonFramework | 2,801 | defect | 8a5bf32ce8dd81104d8b830c19d3cbd7e2accaa6 | b1e6506d0dd2f9013c3cbb80e9ef54bc210f8e16 | Add property to easily disable using Axon Server as event store. | With this `axon.axonserver.event-store.enabled=false` can be used to easily leverage Axon Server as command and query router, while not creating an `EventStore` or `EventScheduler` bean using Axon Server. | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java
index 99fcd5d8556..e71a482273c 100644
--- a/axon-server-connector/src/main/java/org/axonframework... | 1 | 1 | 0 | [{"id": "G0", "claim": "The javadoc line in AxonServerConfiguration should read 'Properties describing the settings for the' instead of 'Properties describing the settings for'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__2805 | AxonFramework/AxonFramework | 2,805 | defect | 4d26ee351455d09fce7c871acd50d4964cd1365d | bc6705ee0b5a649d2cad23d62c170036c0fcd566 | Implement StreamingEventProcessor.claimSegment | In order to provide smoother Event Processor operations in the Framework going forward, we have decided to implement a specific action that claims a token for a processor.
Previously, moving processing from one instance to another could only be done by releasing the segment on all instances but the desired, and awai... | diff --git a/integrationtests/src/test/java/org/axonframework/integrationtests/eventhandling/TrackingEventProcessorTest.java b/integrationtests/src/test/java/org/axonframework/integrationtests/eventhandling/TrackingEventProcessorTest.java
index e81d5bd9447..23ece7a36ce 100644
--- a/integrationtests/src/test/java/org/ax... | 8 | 8 | 2 | [{"id": "G0", "claim": "Adding claimSegment to the StreamingEventProcessor interface without a default implementation is a breaking change for other implementations, so provide a default implementation that returns a completed future with false.", "category": "design", "verdict": "supported", "priority": "P1", "scope":... | null |
AxonFramework__AxonFramework__2830 | AxonFramework/AxonFramework | 2,830 | defect | 489422d4ec69f986ce03a5576322de3e01917e49 | a2eb78d821fb32e79a2b3c02344734a9ed84c530 | Add intermediate span factories for Sagas and Repositories | Updates the following interfaces and adds intermediate span factories for all their implementations:
- AbstractSagaManager
- Repository
This PR currently targets the #2829 branch until it is merged to better reflect the individual changes. Once merged, this PR will target main. | diff --git a/config/src/main/java/org/axonframework/config/AggregateConfigurer.java b/config/src/main/java/org/axonframework/config/AggregateConfigurer.java
index a25ebc4f7b5..9f1e1533056 100644
--- a/config/src/main/java/org/axonframework/config/AggregateConfigurer.java
+++ b/config/src/main/java/org/axonframework/con... | 3 | 3 | 1 | [{"id": "G0", "claim": "The javadoc of DefaultRepositorySpanFactory misspells \"aggrate\" and should be reworded to \"the identifier of the aggregate\" as the suggestion proposes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Because @Deprecated ... | null |
AxonFramework__AxonFramework__2853 | AxonFramework/AxonFramework | 2,853 | defect | 599486d66cb9a458ab48b6ba65655d77aeedebf9 | a6e97c89038f77a674542626dbf3cfa1759116d7 | [#2843] Make it possible to have multiple instances of the DbScheduler components. | Change the static methods on the `DbSchedulerEventScheduler` and the `DbSchedulerDeadlineManager` to take a supplier, in favour of using a static atomic reference. This makes it possible to use multiple of the same kind of component with scheduler.
Note this will be a breaking change, but only when either used witho... | diff --git a/integrationtests/src/test/java/org/axonframework/integrationtests/deadline/dbscheduler/BinaryDbSchedulerDeadlineManagerTest.java b/integrationtests/src/test/java/org/axonframework/integrationtests/deadline/dbscheduler/BinaryDbSchedulerDeadlineManagerTest.java
index 96055ef63c6..222489fc70d 100644
--- a/int... | 8 | 6 | 0 | [{"id": "G0", "claim": "The javadoc on DbSchedulerDeadlineManager line 196 should say \"dependency injection\" instead of \"dependency inception\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc on DbSchedulerDeadlineManager line 218 s... | null |
AxonFramework__AxonFramework__2868 | AxonFramework/AxonFramework | 2,868 | defect | ff863199ec621d7b7e592b76ced1a955a3bc397e | 23a390d6848750cabd6112be3a60115565dc18a0 | Add suppressible log message when console client is not on the classpath. | Fixes https://github.com/AxonFramework/AxonFramework/issues/2819.
There are no tests, as it's just logging. I don't think it's worth the hassle. | diff --git a/config/src/main/java/org/axonframework/config/AxonIQConsoleModule.java b/config/src/main/java/org/axonframework/config/AxonIQConsoleModule.java
new file mode 100644
index 00000000000..b15f82c2877
--- /dev/null
+++ b/config/src/main/java/org/axonframework/config/AxonIQConsoleModule.java
@@ -0,0 +1,92 @@
+/*... | 2 | 2 | 0 | [{"id": "G0", "claim": "The system property name \"disable-console-message\" should be made more specific, e.g. \"disable-axoniq-console-message\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment above consoleMessageEnabled(), \"Default to opt... | null |
AxonFramework__AxonFramework__3028 | AxonFramework/AxonFramework | 3,028 | defect | e0a1ef3f368668b08bc504f616eb5009d8fd1f86 | 2cb7d0a6c1f3471285a04dda54909c641db3416b | Rebalance Segments in PooledStreamingEventProcessor | ### Problem Statement
- Currently, The EventProcessors in Axon Framework (specifically PooledStreamingEventProcessor) [parallelize](https://docs.axoniq.io/reference-guide/axon-framework/events/event-processors/streaming#parallel-processing) the processing of events by the number of Segments allocated per event process... | diff --git a/messaging/src/main/java/org/axonframework/eventhandling/pooled/Coordinator.java b/messaging/src/main/java/org/axonframework/eventhandling/pooled/Coordinator.java
index e43c3f879d4..da283357e71 100644
--- a/messaging/src/main/java/org/axonframework/eventhandling/pooled/Coordinator.java
+++ b/messaging/src/m... | 4 | 4 | 1 | [{"id": "G0", "claim": "The segment-releasing logic should live in a separate function (e.g. releaseSegmentsIfTooManyClaimed()) instead of inside claimNewSegments(), which then does more than its name implies.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim"... | null |
AxonFramework__AxonFramework__3057 | AxonFramework/AxonFramework | 3,057 | defect | 27cf0d5c91eb50425f7312a009d011d0fe8d9f76 | c1133d77d5bacb1d66a0bfb589b5f57b9274cc21 | Secure MessageHandlerDefinition | Adding the SecuredMethodMessageHandlerDefinition to authorize messaged by annotating their handlers. | diff --git a/integrationtests/pom.xml b/integrationtests/pom.xml
index b58b1bc6e4e..e84bde6c4e2 100644
--- a/integrationtests/pom.xml
+++ b/integrationtests/pom.xml
@@ -93,6 +93,12 @@
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.springframework.security</grou... | 9 | 3 | 3 | [{"id": "G0", "claim": "Axon Framework 4 is built with Java 8, so the changes in the spring module pom.xml setting the compiler to Java 9 need to be removed.", "category": "build", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Two tests are failing on this PR, SpringBeanResolv... | null |
AxonFramework__AxonFramework__3126 | AxonFramework/AxonFramework | 3,126 | defect | dd1592cbba97f39094b048058fdeb35e9fee15e2 | beca216d7df2f7f0c9c8b5a6bffc7c1d59e8caa6 | Allow DLQ to handle deserialization errors | Currently the DLQ does not enqueue messages with deserialization errors, due to the following stack trace:
```
SerializedMessage.getPayload(SerializedMessage.java:81)
MessageDecorator.getPayload(MessageDecorator.java:56)
MessageDecorator.getPayload(MessageDecorator.java:56)
EventMessageDeadLetterJpaConverter.con... | diff --git a/messaging/src/main/java/org/axonframework/eventhandling/deadletter/jdbc/DefaultDeadLetterStatementFactory.java b/messaging/src/main/java/org/axonframework/eventhandling/deadletter/jdbc/DefaultDeadLetterStatementFactory.java
index 95f0a50df63..0c15de636b7 100644
--- a/messaging/src/main/java/org/axonframewo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The author should check their code style config, because their IDE's different indentation rules cause whitespace-only changes in the PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__3176 | AxonFramework/AxonFramework | 3,176 | defect | 12ec4648e38c900a37b7aef90f89e8b2f54b93e8 | d85d307860fbb430c5f14defd7e1d19f43699c7f | Gracefully await queries in progress in the `AxonServerQueryBus` | We were notified by one of our users that the result from a Query Handler was dropped during a "graceful" shutdown of an Axon Framework application in a distributed setup.
This pull request ensures that the `AxonServerQueryBus` awaits the termination of all "queries in progress" for a configurable `Duration`.
Only ... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/query/AxonServerQueryBus.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/query/AxonServerQueryBus.java
index 577a95b681c..ac57389246e 100644
--- a/axon-server-connector/src/main/java/org/axonframewo... | 1 | 1 | 1 | [{"id": "G0", "claim": "Since shutting down isn't time-critical, the busy-wait in awaitTermination should park for longer (e.g. 1ms or 10ms instead of 50ns) so it doesn't consume CPU needed to finish tasks in progress.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__3228 | AxonFramework/AxonFramework | 3,228 | defect | 9ab631b50ccde12e3f71d4819f4c47ac439e1050 | b79646762908949028f4d54d17c54530814e71db | Introduce a `TagResolver` | This pull request introduces a simple `TagResolver` functional interface.
It can be used to construct a function that resolves a `Set` of `Tags` based on a given event (payload).
I would expect this component to be used whenever events are to be appended to the Event Store.
For example, by the `DefaultEventStoreTr... | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/SimpleTagResolver.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/SimpleTagResolver.java
new file mode 100644
index 00000000000..b99d3bbb8f9
--- /dev/null
+++ b/eventsourcing/src/main/java/org/axonframework... | 2 | 1 | 0 | [{"id": "G0", "claim": "The class name 'SimpleTagResolver' does not say anything about the implementation, and 'CompositeTagResolver' might be a better name (the reviewer is unsure).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer as... | null |
AxonFramework__AxonFramework__3234 | AxonFramework/AxonFramework | 3,234 | defect | 46b57de1e41827aff22a9aaf5174f9814252ba71 | 6a4f4ef39b124abe825ef97dddb42b70fe16e856 | Add `DefaultEventStoreTransactionTest` | Tests added according to https://github.com/AxonFramework/AxonFramework/pull/3216#discussion_r1898541153 | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/inmemory/AsyncInMemoryEventStorageEngine.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/inmemory/AsyncInMemoryEventStorageEngine.java
index 82390023e7b..31f735234a8 100644
--- a/eventsourcing/src/main/java... | 3 | 3 | 0 | [{"id": "G0", "claim": "The test constants TEST_AGGREGATE_ID and TEST_AGGREGATE_CRITERIA should be private instead of protected, since nothing subclasses this test class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In appendEventNotifierRegis... | null |
AxonFramework__AxonFramework__3254 | AxonFramework/AxonFramework | 3,254 | defect | b63b914dc31ec30957f058aeb689afbfe5c97d21 | bd1a4ef732868981aced1c0364a4049ba910047f | Set Consistency Marker on `AppendCondition` from `EventStoreTransaction#source` calls | This PR introduces the implementation and tests for the AsyncEventSourcingRepository to ensure that events are appended using a correct AppendCondition.
It's constructed using the `SourcingConditions` from each of the `source` calls on that repository in the same `ProcessingContext`, combined with the consistency mark... | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/AsyncEventSourcingRepository.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/AsyncEventSourcingRepository.java
index 195884b0bc3..9831ab5d8cb 100644
--- a/eventsourcing/src/main/java/org/axonframework/eventsourcing/AsyncEventSou... | 5 | 2 | 1 | [{"id": "G0", "claim": "The local variable `tracker` should be renamed to `markerReference` because the name suggests a tracking token; the author asks whether the alignment was intended.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Updating t... | null |
AxonFramework__AxonFramework__3255 | AxonFramework/AxonFramework | 3,255 | defect | b63b914dc31ec30957f058aeb689afbfe5c97d21 | e6d5e8501bfa34b0acfe6610adad8d89ccd64158 | The Repository shouldn't expose methods that are EventSourcing specific | The Repository shouldn't expose methods that are EventSourcing specific | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/AsyncEventSourcingRepository.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/AsyncEventSourcingRepository.java
index 195884b0bc3..1a474d8959d 100644
--- a/eventsourcing/src/main/java/org/axonframework/eventsourcing/AsyncEventSou... | 2 | 1 | 1 | [{"id": "G0", "claim": "Removing the start/end parameters leaves no way to load only part of an entity's event stream (the events matching given criteria) from the repository, and nothing replaces that capability.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
AxonFramework__AxonFramework__3260 | AxonFramework/AxonFramework | 3,260 | defect | 4f26da36620b31af66be61b563bbc4e55bd9dca1 | 605c6bbafdf33393639656b216ad83327da8d72c | Fix for deadlock when many queries wait for responses | Splits the thead pool of the AxonServerQueryBus in two, one responsible for handling queries, and the other for handling incoming query responses. By having these two separate, the situation that the pool becomes full while waiting for query responses will no longer lead to a deadlock. | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java
index 83bd2182157..113c36fdb75 100644
--- a/axon-server-connector/src/main/java/org/axonframework... | 7 | 7 | 1 | [{"id": "G0", "claim": "The new javadoc for queryResponseThreads says the default is 10 threads while the code default is 5; the reviewer thinks 5 is fine as a default, but the doc must match it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For ... | null |
AxonFramework__AxonFramework__3262 | AxonFramework/AxonFramework | 3,262 | defect | da40b756c8b0667ef2a1bc3fc5c9d51a7e927528 | 419cb1eca2bd0dcd04a74dd177b93ff18959442a | [#3217] warn and document Persistent Stream uniqueness based on stream name | closes #3217 | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/axon/DefaultPersistentStreamMessageSourceFactory.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/axon/DefaultPersistentStreamMessageSourceFactory.java
new file mode 100644
index 00000000... | 6 | 6 | 3 | [{"id": "G0", "claim": "The used-names tracking in DefaultPersistentStreamMessageSourceFactory is not concurrency-safe (a plain HashSet with a non-atomic contains-then-add), and the MessageSource should be made thread-safe, e.g. with a Set from java.util.concurrent and an atomic add that detects duplicates.", "category... | null |
AxonFramework__AxonFramework__3292 | AxonFramework/AxonFramework | 3,292 | defect | 4a1cb0fdf92bb4d9b82c5030d6156d9fb59f2e19 | aa383d1575f6b1183fe5b85823f5550c301e5459 | [#3285] feat: `EventStateApplier` based on annotations | closes https://github.com/AxonFramework/AxonFramework/issues/3285
| diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/AnnotationBasedEventStateApplier.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/AnnotationBasedEventStateApplier.java
new file mode 100644
index 00000000000..6196a4f2c47
--- /dev/null
+++ b/eventsourcing/src/main/java/org/axonf... | 9 | 6 | 0 | [{"id": "G0", "claim": "Creating a new AnnotationEventHandlerAdapter on every apply() invocation may be inefficient, and the author asks how to improve it, suggesting the type-based handler-inspection logic be extracted and cached.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
AxonFramework__AxonFramework__3302 | AxonFramework/AxonFramework | 3,302 | defect | df3b018f48c82db20b9564d73b4e557022edf729 | 4ef13b69e67345f86161cb7cfdf44e353825957c | Prevent ORIGIN marker when source event stream is empty | In the current implementation of the DefaultEventStoreTransaction the marker for the commit is always the lowest bound of the two. This works correctly if the two streams both return at least one event. However, if one stream returns no events, which means there is no matching event up to HEAD, the lowest of the two wi... | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/DefaultEventStoreTransaction.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/DefaultEventStoreTransaction.java
index a0d1ff6bfec..e96511bfc2b 100644
--- a/eventsourcing/src/main/java/org/axonframework/event... | 3 | 3 | 0 | [{"id": "G0", "claim": "The empty line after the declaration of appendCommitsOfNonExistentTagWhenOfTwoNonOverlappingTagsOneYieldedNoEvents was probably unintended and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The empty li... | null |
AxonFramework__AxonFramework__3342 | AxonFramework/AxonFramework | 3,342 | defect | 74c4fe4a6802601dcfbe99aaf7342c1a19cc4a11 | efdf3f1375567a9bebdf308149b54db6e90995b3 | Allow decorators to be configured in the absence of components | Instead of requiring registration of components before registration of decorators, decorators are now executed just-in-time and ignored when no components are available to be decorated.
Also, decorators no longer overwrite each other when registered with the same 'order'
Resolves #3325 | diff --git a/messaging/src/main/java/org/axonframework/configuration/AbstractConfigurer.java b/messaging/src/main/java/org/axonframework/configuration/AbstractConfigurer.java
index e14c5a4358c..eae16d935ad 100644
--- a/messaging/src/main/java/org/axonframework/configuration/AbstractConfigurer.java
+++ b/messaging/src/m... | 10 | 10 | 0 | [{"id": "G0", "claim": "The overridden registerDecorator in AbstractConfigurer lost the null-checks for the type and decorator arguments.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The loop variables in decorateComponents should be renamed (comp... | null |
AxonFramework__AxonFramework__3383 | AxonFramework/AxonFramework | 3,383 | defect | 638d80ebcf2cbada1ad6e3da854872dea6f8bfc3 | 6f33aa8390b2787c60623eea0f58c7f7d788bf1c | Introduce EventAppender and reduce EventGateway scope | When using annotated message handler methods, users may forget to supply a ProcessingContext. Depending on our implementation, this will 1) lead to an exception of the SimpleEventStore or 2) publish the events in another context, not updating the entity and ignoring the append condition.
This PR seeks to improve thi... | diff --git a/config/src/main/java/org/axonframework/config/DefaultConfigurer.java b/config/src/main/java/org/axonframework/config/DefaultConfigurer.java
index f5f13822d73..b2d366c6d1e 100644
--- a/config/src/main/java/org/axonframework/config/DefaultConfigurer.java
+++ b/config/src/main/java/org/axonframework/config/De... | 16 | 14 | 0 | [{"id": "G0", "claim": "In the lambda-registered command handler of SingleEntityCommandHandlingComponentTest it may be nicer to use one of the binding approaches instead of fetching the gateway from the configuration and passing the context to publish.", "category": "design", "verdict": "supported", "priority": "P2", "... | null |
AxonFramework__AxonFramework__3449 | AxonFramework/AxonFramework | 3,449 | defect | 072ff42be41cc4da3058fd68d57dbbad89d122c6 | 24d88f9d5309e757a7cedce0ddf8bb7f8fe63eb3 | [#3098] feat: revise EventProcessors - replace `TransactionManager` with UnitOfWork | The implementation it's still fully blocking - uses join() for CompletableFuture, but it's a step forward the replacement with the new Async-Native approach.
Next steps:
- Replace StreamableMessageSource to EventMessageSource.
- Introduce async Token Store. | diff --git a/config/src/test/java/org/axonframework/config/EventProcessingModuleTest.java b/config/src/test/java/org/axonframework/config/EventProcessingModuleTest.java
index c7ce17476b9..0dd7c0b954a 100644
--- a/config/src/test/java/org/axonframework/config/EventProcessingModuleTest.java
+++ b/config/src/test/java/org... | 7 | 4 | 2 | [{"id": "G0", "claim": "The legacy `transactionManager` builder method on TrackingEventProcessor.Builder is deliberately left in place to limit the PR scope; eventually there should be just a `unitOfWorkFactory` method (same for other processors).", "category": "design", "verdict": "uncertain", "priority": "P2", "scope... | null |
AxonFramework__AxonFramework__3457 | AxonFramework/AxonFramework | 3,457 | defect | 072ff42be41cc4da3058fd68d57dbbad89d122c6 | a546db54af27079375ed883e6c93b928f8de64f4 | Split ChildEntityMatcher for clearer message forwarding | The current `EntityModel` uses a `ChildEntityMatcher` to determine both to which targets to forward a command, but as well to select a command.
This feels strange in the API, as they have inherently different requirements. For events this has a 0, 1 or many result, and for commands it has 1 or 0.
As such, this PR... | diff --git a/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/administration/ImmutableBuilderEntityModelAdministrationTest.java b/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/administration/ImmutableBuilderEntityModelAdministrationTest.java
index c55a9e54ccc..d0... | 6 | 6 | 0 | [{"id": "G0", "claim": "The getTargetChildEntity method should be annotated @Nullable since the Javadoc already documents that it may return null.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new EventTargetMatcher should point back to the o... | null |
AxonFramework__AxonFramework__3461 | AxonFramework/AxonFramework | 3,461 | defect | 9c636522eb79d18c9b1d0a8ae695372233611021 | 25e1e0e6d7180ff6dfd3e18c78460e3c753d7d34 | Special Token Positions - Rename tail to first and head to latest | Since Axon Framework 3, the `TrackingToken` has two special positions.
These are the **tail** and the **head**.
These respectively point to the beginning of a Message Stream and the end of a Message Stream.
You can think of a snake in this case.
The tail is always behind, so in the past, so the first event of a ... | diff --git a/axon-5/api-changes.md b/axon-5/api-changes.md
index 7472d1ff982..fd63b123dee 100644
--- a/axon-5/api-changes.md
+++ b/axon-5/api-changes.md
@@ -1087,33 +1087,33 @@ This section contains three subsections, called:
### Moved / Renamed Methods and Constructors
-| Constructor / Method ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The @return JavaDoc of latestToken() should say the token is of the latest event, pointing at the next event of the event stream, rather than pointing at the latest event.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__3463 | AxonFramework/AxonFramework | 3,463 | defect | 0c690350540fa7c0031a9801f4f521efca4041e7 | 217be38a3bc5640e929ffc94a917a44f8dabf768 | [#3459] feat: `MessageStream` - add `peek` method | closes #3459 | diff --git a/messaging/src/main/java/org/axonframework/messaging/CompletionCallbackMessageStream.java b/messaging/src/main/java/org/axonframework/messaging/CompletionCallbackMessageStream.java
index ae77510b684..d2dc3b4c9b7 100644
--- a/messaging/src/main/java/org/axonframework/messaging/CompletionCallbackMessageStream... | 4 | 3 | 0 | [{"id": "G0", "claim": "The reviewer questions why peek() invokes the completion callback and suggests a message might still come in later, so the callback could run before the stream is actually done.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The p... | null |
AxonFramework__AxonFramework__3471 | AxonFramework/AxonFramework | 3,471 | defect | 523518ef909f6d5565e11da9cea0fe08eb56c2f3 | 59dc882b7e06f9b21d07fc74bbe8319fd454991a | Add `ComponentRegistry#registerIfNotPresent` methods | This pull request is an addition, resolving a minor pet peeve that started showing up.
It adds a `registerIfNotPresent` method to the `ComponentRegistry` interface.
The implementation of this method is defaulted, as it's a combination of the `hasComponent` check and the `registerComponent` operation.
Just as with ... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/ServerConnectorConfigurationEnhancer.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/ServerConnectorConfigurationEnhancer.java
index 6bcbd01cc1a..7c206d22b49 100644
--- a/axon-server-connector/src/m... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new registerIfNotPresent methods' Javadoc declares @throws ComponentOverrideException for the override policy, which makes no sense because the methods do not override anything when a component already exists; it should be removed from all the added methods.", "category": "documentation", "v... | null |
AxonFramework__AxonFramework__3481 | AxonFramework/AxonFramework | 3,481 | defect | bb296a1a59fda71b2ba652557183b348dea6a45f | 2eafbc67d6bc8141f41f7eb520588330007a4245 | [#3424] Remove `SourcingCondition#end` | We added an end value to a `SourcingCondition` to allow for sourcing until a given sequence.
This would, for example, enable "time travel" through the entity that's being loaded.
However, we have decided this behavior is not a first class citizen of the Event Store.
We will instead provide this behavior as a decor... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/AggregateBasedAxonServerEventStorageEngine.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/AggregateBasedAxonServerEventStorageEngine.java
index d92d0813871..ff5f955272f 100644
--- a/axo... | 2 | 1 | 0 | [{"id": "G0", "claim": "The two kept tests appear already covered by other tests such as sourcingEventsReturnsMatchingAggregateEvents, since they existed to test that events past the end marker are not returned — functionality this PR removes.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "i... | null |
AxonFramework__AxonFramework__3483 | AxonFramework/AxonFramework | 3,483 | defect | a3d82126562c8cf80864a31cbe877306de94cfc3 | 2877eba3f1946f182b915455fbfd9c5927077357 | [#3425 and #3243] Align the `EventGateway` and `EventSink` API with `CommandGateway` and `CommandBus` | This pull request adjusts a couple of things around the `EventGateway`, `EventSink`, and a little on the `EventStore`.
By doing so, the APIs of these three align better with the choices made on the command-side of Axon Framework.
Here's a breakdown of what's done per major component:
### `EventGateway`
The `Eve... | diff --git a/axon-5/api-changes.md b/axon-5/api-changes.md
index 3f8010eaab4..c0f47357dce 100644
--- a/axon-5/api-changes.md
+++ b/axon-5/api-changes.md
@@ -1187,39 +1187,41 @@ This section contains four subsections, called:
### Moved, Renamed, or parameter adjusted Methods
-| Constructor / Method ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new publish logic in SimpleEventStore (invoking the transaction and, for a null ProcessingContext, creating a UnitOfWork) is missing a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__3529 | AxonFramework/AxonFramework | 3,529 | defect | 177c0460ab4faa0135e090d3e4e4e82f548a0f63 | 7b35ed0ce5ae0347ad8280df338cd849b2ed8644 | Convert payload before extracting id from message for AnnotatedEntityMetamodel | The current default configuration of the @EventSourcedEntity annotation is to scan the payload of a message for an annotated field. However, when using a distributed bus, this payload is serialized, and only the AnnotatedEntityMetamodel knows the representation that will be expected.
As such, this PR introduced the ... | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/annotation/EventSourcedEntity.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/annotation/EventSourcedEntity.java
index 7fcdee56519..0ac75d42127 100644
--- a/eventsourcing/src/main/java/org/axonframework/eventsourcing/annotation/... | 6 | 6 | 0 | [{"id": "G0", "claim": "The wildcard should be kept on getExpectedRepresentation's return type, i.e. Class<?> instead of raw Class.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The qualifiedName parameter of getExpectedRepresentation should be ann... | null |
AxonFramework__AxonFramework__3542 | AxonFramework/AxonFramework | 3,542 | defect | 83962b484cbd376321060dad1da05eddb19848df | 9202ebf4b7eb6120b584ad6a72fd13c183094c56 | Fix interruption handling in message handling | The 4.11-introduced timeouts for message handling and the UnitOfWork showed conflicting behavior. This PR ensures the following three situations are handled well:
1. The message handler takes too long
2. The UnitOfWork takes too long
3. Some unrelated interrupt is done, for example during shutdown of VM
By chec... | diff --git a/messaging/src/main/java/org/axonframework/messaging/timeout/AxonTimeLimitedTask.java b/messaging/src/main/java/org/axonframework/messaging/timeout/AxonTimeLimitedTask.java
index c48fe6caade..d9d8e31aab9 100644
--- a/messaging/src/main/java/org/axonframework/messaging/timeout/AxonTimeLimitedTask.java
+++ b/... | 7 | 7 | 1 | [{"id": "G0", "claim": "The JavaDoc should read \"an {@link AxonTimeoutException}\" instead of \"a {@link AxonTimeoutException}\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The JavaDoc typo \"This might happen is someone catches\" should read... | null |
AxonFramework__AxonFramework__3556 | AxonFramework/AxonFramework | 3,556 | defect | 508b215a5e1ab216365561e9d290183f63afb8bf | c9d8390950aad5216274abeaa674c877b57bf7ef | Introduce the `TopologyChangeListener` | This pull request introduces the `TopologyChangeListener` functional interface.
This functional interface extends the `Consumer<TopologyChange>`.
As such, it perfectly fits the new `ControlChannel#registerTopologyChangeHandler(Consumer<TopologyChange>)` method that was introduced in [this](https://github.com/AxonIQ... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/ServerConnectorConfigurerModule.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/ServerConnectorConfigurerModule.java
index 3dbb00990d7..eeec56e214b 100644
--- a/axon-server-connector/src/main/java/o... | 4 | 4 | 3 | [{"id": "G0", "claim": "The JavaDoc wording 'to better comprehend the actual switch' should say 'actual change' instead of 'switch'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The JavaDoc's example TopologyChange is inaccurate: it omits the up... | null |
AxonFramework__AxonFramework__3606 | AxonFramework/AxonFramework | 3,606 | defect | 3f97ec715e9accb773515777a885edfbb54478ac | c961eb89ccf87884a8f9f6cbf29a68f6c1cebae5 | Feature/handler test case | Adds:
- support for handling Mono as return type
- a test case for various return types supported by message handlers, see #3523
Open questions:
- Did I miss any useful cases?
- Should I leave in the comments / Disabled tests?
- Should this be named `TestSuite` or `Test`? | diff --git a/messaging/src/main/java/org/axonframework/messaging/MessageStream.java b/messaging/src/main/java/org/axonframework/messaging/MessageStream.java
index 077ed690ab6..a8cb713b636 100644
--- a/messaging/src/main/java/org/axonframework/messaging/MessageStream.java
+++ b/messaging/src/main/java/org/axonframework/... | 4 | 4 | 1 | [{"id": "G0", "claim": "The test class and its test methods could be package-private instead of public.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test file is missing the copyright notice that the copyright-template.xml provides.", ... | null |
AxonFramework__AxonFramework__3622 | AxonFramework/AxonFramework | 3,622 | defect | deadcf52d50498894e647cbc7c091ff677798d5c | f276cd8cb6949a6e32e6c0f9a8595b7d6813c8a8 | [#3401] Introduce the `CommandDispatcher` | This pull request introduces the `CommandDispatcher`.
The `CommandDispatcher` is intended to be injected into message handling functions, so that the dispatching of a command utilizes the active `ProcessingContext` at that point in time.
It will typically use the `CommandGateway` directly to perform the send operatio... | diff --git a/messaging/src/main/java/org/axonframework/commandhandling/annotation/CommandDispatcherParameterResolverFactory.java b/messaging/src/main/java/org/axonframework/commandhandling/annotation/CommandDispatcherParameterResolverFactory.java
new file mode 100644
index 00000000000..f2c891ee0ae
--- /dev/null
+++ b/m... | 4 | 3 | 1 | [{"id": "G0", "claim": "The CommandDispatcher JavaDoc's opening line should say it publishes commands, not events.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unnecessary Configuration parameter should be removed from CommandDispatcher.forC... | null |
AxonFramework__AxonFramework__3634 | AxonFramework/AxonFramework | 3,634 | defect | 5dfc452dede48f08fbc361748afb8fbd20022ee9 | ce667833e2512d8634fd27c2aa0cf54092e78577 | [#3253] Move `TagResolver` from `DefaultEventStoreTransaction` to `SimpleEventStore` | This pull request resolves #3253 by moving the tagging from the `DefaultEventStoreTransaction` to the `SimpleEventStore`.
This is achieved by taking in a `Function<EventMessage, TaggedEventMessage>` in the `DefaultEventStoreTransaction` instead of the `TagResolver`.
The lambda is inclined to return a `TaggedEventMess... | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/DefaultEventStoreTransaction.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/eventstore/DefaultEventStoreTransaction.java
index 5c12d7c956e..50b1b1a16cf 100644
--- a/eventsourcing/src/main/java/org/axonframework/event... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the `eventPreProcessors` field to the singular `eventPreProcessor` (or, as another idea, `eventTagger`, since attaching a tag is the main use case and it is visible in the Function type declaration).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
AxonFramework__AxonFramework__3639 | AxonFramework/AxonFramework | 3,639 | defect | 9bfdba7accad6134d27c507bccbfd9bd6f7e2817 | f0dc4d9923fffda867ccbc2b1a5f06d4edddc3c9 | [#3513] Validate that decoration result matches the registered type | This pull request adjusts the `DecoratedComponent#doResolve` operation by validating if the original registration type is assignable from the type of the decoration result.
If we do not do this, users may receive a `ClassCastException` in **their** code, without real clarity why a `ClassCastException` is thrown.
By p... | diff --git a/messaging/src/main/java/org/axonframework/configuration/DecoratedComponent.java b/messaging/src/main/java/org/axonframework/configuration/DecoratedComponent.java
index 1afb1ccea07..4d3c89a34c8 100644
--- a/messaging/src/main/java/org/axonframework/configuration/DecoratedComponent.java
+++ b/messaging/src/m... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new assignability validation in DecoratedComponent fails the HierarchicalSpringContextTest Spring setup ('commandBus' bean: SimpleCommandBus is not assignable to decorated DistributedCommandBus), indicating a mistake in the Spring Context impl (likely in how a temporary Component is created ... | null |
AxonFramework__AxonFramework__3655 | AxonFramework/AxonFramework | 3,655 | defect | 1f1b276a1ceaeec700de0390ce8e302935011079 | 1fc08df07310a80126093ae0c7588507d24385da | Additional Integration Test, `AxonTestFixture#stop`, `EventSink` as `DescribableComponent`, `EventAppender` completes publication, and transaction `UnitOfWorkFactory` resource fix | ## Description
This pull request performs a number of fixes required to ensure our Axon Framework 5 Getting Started works as intended.
All are described below, one by one, but stem from the original description at the bottom of this description.
### Additional Integration test
To verify the predicament in Axo... | diff --git a/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/course/StudentAxonTestFixtureAxonServerIntegrationTest.java b/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/course/StudentAxonTestFixtureAxonServerIntegrationTest.java
new file mode 100644
index 000000... | 1 | 1 | 0 | [{"id": "G0", "claim": "One of the two near-identical integration test classes should be dropped — preferably the in-memory variant — since both cover the same fixture flow.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__3657 | AxonFramework/AxonFramework | 3,657 | defect | 289272bab99f3b1e745589426447f98445b926c0 | 7b1a6d6fad95357ca21e6cab019d68dcf81e4c68 | [#3103] Add Dispatch and Handler registration methods | This pull request provides a mechanism to register `MessageDispatchInterceptors` and `MessageHandlerInterceptors` on the `MessagingConfigurer`.
As we are required to retrieve these interceptors for several infrastructure components in Axon Framework, I have made an `InterceptorRegistry`.
This `InterceptorRegistry` ... | diff --git a/messaging/src/main/java/org/axonframework/commandhandling/InterceptingCommandBus.java b/messaging/src/main/java/org/axonframework/commandhandling/InterceptingCommandBus.java
index abef1a2ef2d..17fcba95072 100644
--- a/messaging/src/main/java/org/axonframework/commandhandling/InterceptingCommandBus.java
+++... | 5 | 4 | 1 | [{"id": "G0", "claim": "The interceptor decoration-order constant belongs within InterceptingCommandBus instead of the configuration defaults, so the order is clear where it is used.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The single registerDispatc... | null |
AxonFramework__AxonFramework__3660 | AxonFramework/AxonFramework | 3,660 | defect | 1f1b276a1ceaeec700de0390ce8e302935011079 | 0d674afd73acb220158f7fe8ce6502edf77120dd | [#3103] Integrate Event Handler Interceptors into Event Processing | This pull request introduces `MessageHandlerInterceptor<EventMessage>` registration throughout the Event Processing layer.
The `PooledStreamingEventProcessorConfiguration` and `SubscribingEventProcessorConfiguration` now have a `List<MessageHandlerInterceptor<EventMessage>>` to module event-specific handler intercep... | diff --git a/messaging/src/main/java/org/axonframework/eventhandling/NoHandlerForEventException.java b/messaging/src/main/java/org/axonframework/eventhandling/NoHandlerForEventException.java
new file mode 100644
index 00000000000..76abc5667e6
--- /dev/null
+++ b/messaging/src/main/java/org/axonframework/eventhandling/N... | 9 | 8 | 2 | [{"id": "G0", "claim": "The static factory `builder()` belongs on the `EventHandlingComponentBuilder` interface rather than the concrete `SimpleEventHandlingComponent`, and at the very least should have some JavaDoc.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1"... | null |
AxonFramework__AxonFramework__3666 | AxonFramework/AxonFramework | 3,666 | defect | 93b1f4806aeaf3966c18ed79469fa5607a65af9e | 478dbd219faad3815f15469ea119a831d7b8800b | [#3579] Provide correlation data support | This pull request reintroduce correlation data support for `Messages`.
As such, it ensures that **any** registered `CorrrelationDataProviders` end up in the `CorrelationDataInterceptor`.
This `CorrelationDataInterceptor`, in turn, is set on all intercepting components, ensure correlation data is retrieved.
Since w... | diff --git a/messaging/src/main/java/org/axonframework/configuration/MessagingConfigurationDefaults.java b/messaging/src/main/java/org/axonframework/configuration/MessagingConfigurationDefaults.java
index f0ff2085351..618bc1dfa03 100644
--- a/messaging/src/main/java/org/axonframework/configuration/MessagingConfiguratio... | 1 | 1 | 0 | [{"id": "G0", "claim": "Naming the class \"CorrelationDataProviderRegistry\" is misleading — seeing \"registry\" one intuitively treats it as a component instance, though it registers components and yields the built list (so a name like CorrelationDataProvidersConfigurer or a ComponentCollection may fit better) — and w... | null |
AxonFramework__AxonFramework__3694 | AxonFramework/AxonFramework | 3,694 | defect | c8ed0d2b0a789756916405449fba248a664e2cea | 4096527d039e52eb907d2b4f044b4396f65250e1 | feat: add `EventCriteria#either(Collection<EventCriteria>)` method | For use cases, when you need to create a consistency boundary around some collection of tags. Example: seats in the cinema reservation.
```kotlin
@EventCriteriaBuilder
fun resolveCriteria(consistencyBoundary: ConsistencyBoundaryId): EventCriteria =
EventCriteria.either(
cons... | diff --git a/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/student/state/StudentMentorAssignment.java b/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/student/state/StudentMentorAssignment.java
index 3f140a96f05..6152db30912 100644
--- a/integrationtests/src/te... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `either(Collection<EventCriteria>)` method's collection parameter should be `@Nonnull`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__3714 | AxonFramework/AxonFramework | 3,714 | defect | 653ffddbcff2e5636e88125bd848563fc819dd87 | 68b79bb7e325b9665449cb3064eaa3dc9a7cbb62 | feat(test): `AxonTestFixture` - await assertions, generic expect, AxonServer enabled customization | The univesity-demo application was updated to the newest SNAPSHOT changes and adjusted to the new AxonTestFixture API: https://github.com/AxonIQ/university-demo/pull/9 | diff --git a/messaging/src/main/java/org/axonframework/configuration/ComponentRegistry.java b/messaging/src/main/java/org/axonframework/configuration/ComponentRegistry.java
index 884fda8f377..26ebf1f7f23 100644
--- a/messaging/src/main/java/org/axonframework/configuration/ComponentRegistry.java
+++ b/messaging/src/main... | 11 | 8 | 0 | [{"id": "G0", "claim": "The new String overload of disableEnhancer should declare its parameter as @Nonnull String for consistency with the interface's conventions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Customization API should expo... | null |
AxonFramework__AxonFramework__3748 | AxonFramework/AxonFramework | 3,748 | defect | b7b4409b5047850f4e41c4e8f490f7464c16fa7e | 3afe7687b81a3d31c2dde5af41e7c0d2a57c940e | Send-and-wait API clean-up on the `CommandGateway` | This pull request adjusts some minor pointers on the `CommandGateway` as preparation for the upcoming 5.0.0 release, being:
1. The `CommandResult` has a `wait(Class<R> resultType)` operation, which the `CommandGateway` uses on all `sendAndWait` invocations.
2. The `CommandGateway#sendAndWait(Object)` returns a null... | diff --git a/legacy-saga/src/test/java/org/axonframework/test/saga/StubSaga.java b/legacy-saga/src/test/java/org/axonframework/test/saga/StubSaga.java
index a22e1fe3551..2ea9a786968 100644
--- a/legacy-saga/src/test/java/org/axonframework/test/saga/StubSaga.java
+++ b/legacy-saga/src/test/java/org/axonframework/test/sa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Javadoc of CommandResult#wait should document the thrown CommandExecutionException.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__3769 | AxonFramework/AxonFramework | 3,769 | defect | d5886453f6ed8120e74de546da8c0069bf2e1bac | fbea647860f3ff8fb1c58dfa0452c833c1c5d4db | [#3653] Reintroduce JPA-based Spring Boot autoconfiguration | This PR adds Spring Auto Configuration for the JPA Storage Engine
- Adding new auto configurations
- Adding Spring Boot Properties for the configuration of the JPA Storage Engine
- Fix #3653 | diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml
index 7d531081ee5..81d0c91fbf2 100644
--- a/.github/workflows/pullrequest.yml
+++ b/.github/workflows/pullrequest.yml
@@ -38,17 +38,17 @@ jobs:
- name: Regular Build
if: ${{ !matrix.sonar-enabled }}
run: |
- ... | 7 | 6 | 1 | [{"id": "G0", "claim": "Capitalize the Javadoc @return text of entityManagerProvider to \"An entity manager provider.\" (offered as a suggestion block).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Capitalize the Javadoc @return text of the toke... | null |
AxonFramework__AxonFramework__3774 | AxonFramework/AxonFramework | 3,774 | defect | 1b1ca6b6a034fa838ae7b6a024b350cf16eb7274 | 1ac3957576ec89ce149164f89ee08b5edf8fb252 | [#3672] Abstract sourcing condition position | The position subtypes cannot be directly constructed, as IMHO they should only ever be constructable by the event storage engines, or returned by these engines.
I think there is significant overlap now when it comes to tracking positions. There's `TrackingToken`, `ConsistencyMarker` and now `Position`. `Position` ... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/AggregateBasedAxonServerEventStorageEngine.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/AggregateBasedAxonServerEventStorageEngine.java
index 5dc667ad877..be60d14c191 100644
--- a/axo... | 12 | 9 | 0 | [{"id": "G0", "claim": "The switch pattern variable `gip` in AggregateSequenceNumberPosition has the wrong name and should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc paragraph explaining that `start` refers to the sta... | null |
AxonFramework__AxonFramework__3792 | AxonFramework/AxonFramework | 3,792 | defect | 1b1ca6b6a034fa838ae7b6a024b350cf16eb7274 | 267697f22ed50695fcfd143a95bd01316790211e | [#3465] feat: `TokenStore` - store mask in token entry tables | Resolves #3465
A follow up issue #3807 was created to add migration logic. | diff --git a/messaging/src/main/java/org/axonframework/eventhandling/processors/streaming/pooled/Coordinator.java b/messaging/src/main/java/org/axonframework/eventhandling/processors/streaming/pooled/Coordinator.java
index 64a8803d703..6b5844107e8 100644
--- a/messaging/src/main/java/org/axonframework/eventhandling/pro... | 4 | 2 | 2 | [{"id": "G0", "claim": "storeToken and all the other TokenStore methods accepting a segmentId would be safer requiring a Segment (incl. the id and mask), to avoid situations where a stolen segment could have been split or merged.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"... | null |
AxonFramework__AxonFramework__3948 | AxonFramework/AxonFramework | 3,948 | defect | 9bc43abd30cc60556c515f82697bd72dbce21aab | f8e4abdce40fe84a76efe128b60b13e777e28931 | List all autoconfigurations in Meta-Inf, apply naming convention | Preparation work: some disabled tests fail because the autoconfiguration setup is not correct.
see #3899 | diff --git a/extensions/spring/spring-boot-autoconfigure/pom.xml b/extensions/spring/spring-boot-autoconfigure/pom.xml
index 21cbe5cd35b..489a027ee66 100644
--- a/extensions/spring/spring-boot-autoconfigure/pom.xml
+++ b/extensions/spring/spring-boot-autoconfigure/pom.xml
@@ -261,6 +261,12 @@
<artifactId>t... | 2 | 2 | 0 | [{"id": "G0", "claim": "The ArchUnitTests test class does not need to be declared public and should drop the public modifier.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ArchUnitTests class should get 1-2 sentences of documentation explai... | null |
AxonFramework__AxonFramework__3964 | AxonFramework/AxonFramework | 3,964 | defect | 2d07517362993699c0a4787fdebf4a16883e660d | f3241a90004bcbad8ab5341c370e10460ae6fdd2 | [#3929] Wrap constructed `Repositories` into an `AccessSerializingRepository` | This pull request ensures that the `Repository` instances constructed by Axon Framework are wrapped in an `AccessSerializingRepository`.
In doing so, we ensure the access to entities managed by a `Repository` is serialized.
Thus, concurrent access is managed as desired through the `AccessSerializingRepository`, prote... | diff --git a/eventsourcing/src/main/java/org/axonframework/eventsourcing/configuration/SimpleEventSourcedEntityModule.java b/eventsourcing/src/main/java/org/axonframework/eventsourcing/configuration/SimpleEventSourcedEntityModule.java
index 8253fc7b9d7..60dff53d9fe 100644
--- a/eventsourcing/src/main/java/org/axonframe... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reword the added Javadoc about the repository path to read \"This serializes the access to concurrently invoked entities\" and \"the invoker decides whether an AccessSerializingRepository instance should be used\" instead of the current phrasing.", "category": "documentation", "verdict": "suppor... | null |
AxonFramework__AxonFramework__3999 | AxonFramework/AxonFramework | 3,999 | defect | 76f301dfb1c4cf98a990219eaee63871dbe5963f | 976839adf36e4efdbb4b84ee7bf28ae434283c5f | Allow SimpleUnitOfWorkFactory to augment its work units with enhancers | Resolves #3998 | diff --git a/messaging/src/main/java/org/axonframework/messaging/core/unitofwork/SimpleUnitOfWorkFactory.java b/messaging/src/main/java/org/axonframework/messaging/core/unitofwork/SimpleUnitOfWorkFactory.java
index 744923553f7..625a7e35002 100644
--- a/messaging/src/main/java/org/axonframework/messaging/core/unitofwork... | 2 | 2 | 0 | [{"id": "G0", "claim": "The record's processingLifecycleEnhancers component should be annotated @Nonnull.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The local variable workUnit in SimpleUnitOfWorkFactory#create should be renamed to unitOfWor... | null |
AxonFramework__AxonFramework__4005 | AxonFramework/AxonFramework | 4,005 | defect | 76f301dfb1c4cf98a990219eaee63871dbe5963f | a21cda77c8e1c3f5abf8c550769e9089e4b1b0bd | [#3923] Filter events while streaming with given `EventCriteria` for aggregate-based storage solutions | By introducing event filtering **after** we have retrieved events from the aggregate-based storage layer, this PR resolves #3923. | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/AggregateBasedAxonServerEventStorageEngine.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/AggregateBasedAxonServerEventStorageEngine.java
index 832e981c27c..55c7b41120c 100644
--- a/axo... | 2 | 1 | 1 | [{"id": "G0", "claim": "The reviewer expects the streaming solution to filter on the retrieved event types, believing the implementation only matches the aggregate-type/identifier tag combination.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A test ... | null |
AxonFramework__AxonFramework__4015 | AxonFramework/AxonFramework | 4,015 | defect | 1108a7b8213148f0efda34ddd8a61c24f4b2d515 | 35466959bf537897bac06fc4083d7db73aa509f6 | Introduce ArchUnit into commons module | Adds an ArchUnit test to commons to ensure we're not introducing package cycles or package hierarchy violations into this modules. This is the first of such tests to such detect problems earlier in the development process.
- Package cycles indicate that a package is not focused enough on a specific purpose. Package... | diff --git a/common/src/test/java/org/axonframework/common/ArchitectureTest.java b/common/src/test/java/org/axonframework/common/ArchitectureTest.java
new file mode 100644
index 00000000000..9f4b049d59b
--- /dev/null
+++ b/common/src/test/java/org/axonframework/common/ArchitectureTest.java
@@ -0,0 +1,49 @@
+/*
+ * Copy... | 2 | 1 | 0 | [{"id": "G0", "claim": "The ArchUnit test should follow one shared style (plain JUnit @Test versus @ArchTest/AnalyzeClasses) with other modules' ArchUnit tests, ideally with the choice documented.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A... | null |
AxonFramework__AxonFramework__4017 | AxonFramework/AxonFramework | 4,017 | defect | 6ac110c3943b1d1363a6abffcc31c402a3383209 | 6fcf21bf5665d19f1b9c45dfc485a4d6bfe4f64f | Gracefully handle cancellation for missing deadlines | This PR adds a fix and according regression test case to ensure cancellation of deadlines that have already been cancelled (or are not existing otherwise) is handled gracefully in the DbSchedulerDeadlineManager (as is already the case in the other DeadlineManager implementations).
Resolves #3857 | diff --git a/messaging/src/main/java/org/axonframework/deadline/dbscheduler/DbSchedulerDeadlineManager.java b/messaging/src/main/java/org/axonframework/deadline/dbscheduler/DbSchedulerDeadlineManager.java
index 92a0c23792f..e03ea98e732 100644
--- a/messaging/src/main/java/org/axonframework/deadline/dbscheduler/DbSchedu... | 1 | 1 | 0 | [{"id": "G0", "claim": "The debug log in cancelSchedule should be adjusted because we cannot be 100% sure the task ever existed (users may accidentally provide a wrong scheduleId), using wording like \"Attempted to cancel task [{}] which does not exist. The task may already have been canceled or the given schedule iden... | null |
AxonFramework__AxonFramework__4040 | AxonFramework/AxonFramework | 4,040 | defect | 8dbbd03c6c2674b4d9298649490348fa6aeca3a8 | 2af20b32f45a971ea969736189f689c091506216 | Ensure compatibility of subscription query with 2025.2 connector | The 2025.2 connector removed the dependency on the response type for queries. However, the client may still expect this type to be present. This change ensures that response types are ignored when not provided explicitly. | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/query/subscription/AxonServerSubscriptionQueryResult.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/query/subscription/AxonServerSubscriptionQueryResult.java
index 2bae482d96c..6b4644b502a 100644
-... | 4 | 4 | 1 | [{"id": "G0", "claim": "The integration test should wait using await or join instead of a fixed 1000 ms Thread.sleep before querying.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Collapsing six explicit org.axonframework.queryhandling imports into a w... | null |
AxonFramework__AxonFramework__4087 | AxonFramework/AxonFramework | 4,087 | defect | d44bd735fe281821d5379c64a1ca706ae11c98a7 | 26e590bb4fe9a48c090fca4fadd2b87786e0af5b | Event Processor Config - Remove `MessageMonitor` and `SpanFactory` customization | This pull request removes the capability to configure a `MessageMonitor` and `SpanFactory` for a specific `EventProcessor`.
We made this choice as there's limited usages of customizing the `MessageMonitor`/`SpanFactory` for a single `EventProcessor`.
Differently put, in virtual all occassions these components are con... | diff --git a/messaging/src/main/java/org/axonframework/messaging/eventhandling/configuration/EventProcessorConfiguration.java b/messaging/src/main/java/org/axonframework/messaging/eventhandling/configuration/EventProcessorConfiguration.java
index 1a4ef5b2440..69f807384b6 100644
--- a/messaging/src/main/java/org/axonfra... | 1 | 1 | 1 | [{"id": "G0", "claim": "Some integration tests now fail because they expect monitoring.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
AxonFramework__AxonFramework__4090 | AxonFramework/AxonFramework | 4,090 | defect | fa2b2d852c5d24141ae2a07810109fb999798dd1 | 946269ade9188d7ac341a6b7769ed3df60b5a878 | Feature/3577 module registry inheritance | - Let the registry create module-registries and decide which enhancers and decorated are passed to them.
- Fix #3577
- ⚡ Breaking ⚡ : Renamed HierarchicalConfiguration -> HierarchicalLifecycleRegistry...
I believe the JavaDoc on this class must be improved, since the class is currently doing other stuff that proba... | diff --git a/common/src/main/java/org/axonframework/common/annotation/AnnotationUtils.java b/common/src/main/java/org/axonframework/common/annotation/AnnotationUtils.java
index 842f68cbb12..ad78e8f440a 100644
--- a/common/src/main/java/org/axonframework/common/annotation/AnnotationUtils.java
+++ b/common/src/main/java/... | 17 | 12 | 4 | [{"id": "G0", "claim": "Replace the hard-coded DontCopyToChildRegistry-annotation filtering of enhancers and decorators with an injectable Predicate (or a custom functional interface, settable e.g. via an enhancer or the parent Configuration) so users can control what gets copied to child registries.", "category": "des... | null |
AxonFramework__AxonFramework__4099 | AxonFramework/AxonFramework | 4,099 | defect | b4403b3babe4f6aad2494e854fbf194a0b85632a | 8fd87353de2f3d7ae754d9f548c00531dcf962e2 | fix(eventhandling): TrackingToken#samePositionAs when the other token is null, returns false | Solution for @hjohn comments:
https://github.com/AxonFramework/AxonFramework/pull/4038#pullrequestreview-3634436272
We have similar incosistenty in covers method between GapAwareTrackingToken (throw for null) and GlobalSequenceTrackingToken (false for null). I'm not sure if we should change that as well (breaking c... | diff --git a/messaging/src/main/java/org/axonframework/eventhandling/GapAwareTrackingToken.java b/messaging/src/main/java/org/axonframework/eventhandling/GapAwareTrackingToken.java
index e2284512580..35a4f6084e4 100644
--- a/messaging/src/main/java/org/axonframework/eventhandling/GapAwareTrackingToken.java
+++ b/messag... | 2 | 1 | 0 | [{"id": "G0", "claim": "The error message thrown by the new samePositionAs implementations has a space after the colon while the other 'Incompatible token type provided:' messages in these classes do not; remove the space for consistency (as suggested).", "category": "maintainability", "verdict": "supported", "priority... | null |
AxonFramework__AxonFramework__4113 | AxonFramework/AxonFramework | 4,113 | defect | 8817d47392fb74e76ba0f4ea4565aa7e2461f198 | f385873929b5449240386edd9d89c98eb1aa91c4 | [#4111] Register event processors as interface types for decorator support | ## Summary
This PR enables the decorator pattern for event processors by registering them under their interface types instead of concrete types. This aligns event processors with the existing pattern used by `CommandBus`, `QueryBus`, and `EventStore`.
## Changes
### New Interface: `SubscribingEventProce... | diff --git a/examples/university-java-springboot/src/main/java/org/axonframework/examples/university/FacultyInitializer.java b/examples/university-java-springboot/src/main/java/org/axonframework/examples/university/FacultyInitializer.java
index 4a794434b27..d77be0b282b 100644
--- a/examples/university-java-springboot/s... | 2 | 2 | 2 | [{"id": "G0", "claim": "Do not introduce a SubscribingEventProcessor interface with a SimpleSubscribingEventProcessor implementation in this PR: the interface has no unique requirements compared to EventProcessor, so the existing layering should be kept until there is a true need, especially since decorators can alread... | null |
AxonFramework__AxonFramework__4151 | AxonFramework/AxonFramework | 4,151 | defect | 466e78d1ed20e3ea376a86e0ce555a0acd540a25 | 58717b8545d97fe03f4b139a62fe362a0d4d276b | [#3804] Remove `@RoutingKey` usages | This pull request ensures that Axon Framework 5 no longer uses the `@RoutingKey` annotation on messages to route command.
The replacement is the `@Command` annotation's `routingKey` attribute, specific for the `RoutingStrategy` logic to attach the `CommandMessage#routingKey` field.
However, the `@RoutingKey` **had*... | diff --git a/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/administration/state/immutable/ImmutableTask.java b/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/administration/state/immutable/ImmutableTask.java
index d74b3197236..9db845ee8be 100644
--- a/integrati... | 13 | 13 | 2 | [{"id": "G0", "claim": "The routingKey javadoc should read \"Defaults to an empty string, which means no matching will take place.\" instead of \"no matching is taking place\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The class-level javadoc... | null |
AxonFramework__AxonFramework__4202 | AxonFramework/AxonFramework | 4,202 | defect | 611fe2f953c0d12fd0882ff4e11b9d8e165506d6 | 573eb893f7c16965da5d723d671ffad5b586dccc | [#3517] feat: `CachingSequencedDeadLetterQueue` per Segment | Optimize the solution to reflect what we had in Axon Framework 4.
So on the Segment release, we clear cache just for the given Segment, not all segment caches.
TODO: Validate every method if the ProcessingContext is passed to the delegate? | diff --git a/messaging/src/main/java/org/axonframework/messaging/eventhandling/deadletter/CachingSequencedDeadLetterQueue.java b/messaging/src/main/java/org/axonframework/messaging/eventhandling/deadletter/CachingSequencedDeadLetterQueue.java
index af3d7e866d0..3f40c406465 100644
--- a/messaging/src/main/java/org/axonf... | 2 | 2 | 1 | [{"id": "G0", "claim": "The call to context.withResource(Segment.RESOURCE_KEY, segment) discards the returned ProcessingContext, so the segment is never added to the context passed to the subsequent invalidateCache(context) calls; the code should either use putResource or assign the withResource result and use it in th... | null |
AxonFramework__AxonFramework__4206 | AxonFramework/AxonFramework | 4,206 | defect | 2da0c3079ddfd8524190c05dc2c19b531217f01c | c1729a2d086ef8f975992886a91c373ede5294ca | [#4134] Provide junit extension for fixture lifecycle management | Using junit extension and a configuration property, we can delegate the BeforeEach, AfterEach lifecycle hooks to junit and focus on implementing the test.
fixes #4134 | diff --git a/docs/reference-guide/modules/testing/pages/basic-testing.adoc b/docs/reference-guide/modules/testing/pages/basic-testing.adoc
index dd95a49b11e..09087f67a97 100644
--- a/docs/reference-guide/modules/testing/pages/basic-testing.adoc
+++ b/docs/reference-guide/modules/testing/pages/basic-testing.adoc
@@ -48,... | 10 | 3 | 0 | [{"id": "G0", "claim": "The reviewer asks the author to clarify whether the extension is intended only for non-Spring usage, noting that with Spring Boot users should never call start/stop because Spring manages the context lifecycle itself.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "in... | null |
AxonFramework__AxonFramework__4211 | AxonFramework/AxonFramework | 4,211 | defect | ee3d28d324aa4b662320156a5a33bc5ba95792da | c26054cb1b3079b441927abc1514305585ff9c6d | [#3517] refactor(deadletter): move JPA dead letter classes from stash/todo to messaging module | Move JPA-based SequencedDeadLetterQueue implementation and supporting classes from stash/todo into the messaging module under the org.axonframework.messaging.eventhandling.deadletter.jpa package.
I opened separated PR with the TransactionalExecutorProvider classes moved:
https://github.com/AxonFramework/AxonFramewo... | diff --git a/stash/todo/src/main/java/org/axonframework/messaging/eventhandling/deadletter/jpa/DeadLetterEntry.java b/messaging/src/main/java/org/axonframework/messaging/eventhandling/deadletter/jpa/DeadLetterEntry.java
similarity index 100%
rename from stash/todo/src/main/java/org/axonframework/messaging/eventhandling... | 8 | 8 | 0 | [{"id": "G0", "claim": "The maxSequences Javadoc says the value must be positive and higher or equal to 128 while the code only validates strict positivity, so the Javadoc should be corrected to reflect the actual requirement.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
AxonFramework__AxonFramework__4222 | AxonFramework/AxonFramework | 4,222 | defect | 5688492c22010246ee77ed7c973eb17d7b060203 | 5ecd032ac4cffbd739962081c98f05c961798dcb | [#4172] Allow `TypeReference`-based component lookup | This PR introduces additional `#getComponent` and `#hasComponent` variants to the `org.axonframework.common.configuration.Configuration` interface that allow generic-type aware retrieving of components by `TypeReference`.
Implementations have been added for the `DefaultComponentRegistry` and `SpringComponentRegistry... | diff --git a/common/src/main/java/org/axonframework/common/TypeReference.java b/common/src/main/java/org/axonframework/common/TypeReference.java
index c479ca955a0..c81452a0719 100644
--- a/common/src/main/java/org/axonframework/common/TypeReference.java
+++ b/common/src/main/java/org/axonframework/common/TypeReference.... | 5 | 4 | 2 | [{"id": "G0", "claim": "Configuration.java:170 has a duplicated javadoc line (\"Implementations should make sure the type reference matches exactly (including generic parameters).\" appears twice) and should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
AxonFramework__AxonFramework__4313 | AxonFramework/AxonFramework | 4,313 | defect | 713162ecfe161746f470be068d095981ed19edff | ae7d5342d9615c69bc491aaa2fc5bb7bb0a53874 | Make lastminute/inline payload conversion available for event handling (#3618) | To allow lastminute conversion without the need to retrieve a converter, we attach the converter in all places where EventMessages are created for handling:
* AxonServerEventStorageEngine (via the TaggedEventConverter)
* AggregateBasedAxonServerEventStorageEngine
* AggregateBasedJpaEventStorageEngine
... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/AggregateBasedAxonServerEventStorageEngine.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/event/AggregateBasedAxonServerEventStorageEngine.java
index e3bc575f61d..6a9b28f2747 100644
--- a/axo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request does not adjust the construction of the engines to use the converter, and the EventConverter should be passed when the engines are constructed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
AxonFramework__AxonFramework__4354 | AxonFramework/AxonFramework | 4,354 | defect | 1844519b215eb59d615acff732621cfa2a35e356 | 1e0070d006eeff27c911e72a46caf91c2b371ffd | [#4340] Break cyclic dependencies in spring autoconfiguration | The `EventStoreConfiguration` inside `AxonServerConfiguration` caused a potential circular dependency by depending on configuration properties inside a configuration properties (making a circular dependency on `BoundConfigurationProperties`).
The `ConverterAutoConfiguration` led to a cyclic dependency on `BoundConfi... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java
index a9b3d088481..e7a0e12ddb5 100644
--- a/axon-server-connector/src/main/java/org/axonframework... | 9 | 8 | 1 | [{"id": "G0", "claim": "The commented-out @ConfigurationProperties line above getEventStore() can be removed entirely.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The class-level JavaDoc of ConverterAutoConfiguration should be changed to alig... | null |
AxonIQ__AxonFramework__4151 | AxonIQ/AxonFramework | 4,151 | defect | 466e78d1ed20e3ea376a86e0ce555a0acd540a25 | 58717b8545d97fe03f4b139a62fe362a0d4d276b | [#3804] Remove `@RoutingKey` usages | This pull request ensures that Axon Framework 5 no longer uses the `@RoutingKey` annotation on messages to route command.
The replacement is the `@Command` annotation's `routingKey` attribute, specific for the `RoutingStrategy` logic to attach the `CommandMessage#routingKey` field.
However, the `@RoutingKey` **had*... | diff --git a/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/administration/state/immutable/ImmutableTask.java b/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/administration/state/immutable/ImmutableTask.java
index d74b3197236..9db845ee8be 100644
--- a/integrati... | 12 | 12 | 2 | [{"id": "G0", "claim": "The routingKey javadoc should read \"no matching will take place\" instead of \"no matching is taking place\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The class javadoc should read \"it also applies when\" instead of... | null |
AxonIQ__AxonFramework__4206 | AxonIQ/AxonFramework | 4,206 | defect | 2da0c3079ddfd8524190c05dc2c19b531217f01c | c1729a2d086ef8f975992886a91c373ede5294ca | [#4134] Provide junit extension for fixture lifecycle management | Using junit extension and a configuration property, we can delegate the BeforeEach, AfterEach lifecycle hooks to junit and focus on implementing the test.
fixes #4134 | diff --git a/docs/reference-guide/modules/testing/pages/basic-testing.adoc b/docs/reference-guide/modules/testing/pages/basic-testing.adoc
index dd95a49b11e..09087f67a97 100644
--- a/docs/reference-guide/modules/testing/pages/basic-testing.adoc
+++ b/docs/reference-guide/modules/testing/pages/basic-testing.adoc
@@ -48,... | 10 | 4 | 2 | [{"id": "G0", "claim": "The documentation should state whether the extension is intended for use without Spring only, since Spring Boot users should not call start/stop themselves.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a @since 5.0.3 ... | null |
AxonIQ__AxonFramework__4211 | AxonIQ/AxonFramework | 4,211 | defect | ee3d28d324aa4b662320156a5a33bc5ba95792da | c26054cb1b3079b441927abc1514305585ff9c6d | [#3517] refactor(deadletter): move JPA dead letter classes from stash/todo to messaging module | Move JPA-based SequencedDeadLetterQueue implementation and supporting classes from stash/todo into the messaging module under the org.axonframework.messaging.eventhandling.deadletter.jpa package.
I opened separated PR with the TransactionalExecutorProvider classes moved:
https://github.com/AxonFramework/AxonFramewo... | diff --git a/stash/todo/src/main/java/org/axonframework/messaging/eventhandling/deadletter/jpa/DeadLetterEntry.java b/messaging/src/main/java/org/axonframework/messaging/eventhandling/deadletter/jpa/DeadLetterEntry.java
similarity index 100%
rename from stash/todo/src/main/java/org/axonframework/messaging/eventhandling... | 9 | 9 | 5 | [{"id": "G0", "claim": "The maxSequences Javadoc states the value must be higher or equal to 128 while the validation only enforces strict positivity, so either the validation should enforce a minimum of 128 or the Javadoc should be corrected to match the actual requirement.", "category": "documentation", "verdict": "s... | null |
AxonIQ__AxonFramework__4222 | AxonIQ/AxonFramework | 4,222 | defect | 5688492c22010246ee77ed7c973eb17d7b060203 | 5ecd032ac4cffbd739962081c98f05c961798dcb | [#4172] Allow `TypeReference`-based component lookup | This PR introduces additional `#getComponent` and `#hasComponent` variants to the `org.axonframework.common.configuration.Configuration` interface that allow generic-type aware retrieving of components by `TypeReference`.
Implementations have been added for the `DefaultComponentRegistry` and `SpringComponentRegistry... | diff --git a/common/src/main/java/org/axonframework/common/TypeReference.java b/common/src/main/java/org/axonframework/common/TypeReference.java
index c479ca955a0..c81452a0719 100644
--- a/common/src/main/java/org/axonframework/common/TypeReference.java
+++ b/common/src/main/java/org/axonframework/common/TypeReference.... | 4 | 4 | 1 | [{"id": "G0", "claim": "The javadoc sentence 'Implementations should make sure the type reference matches exactly (including generic parameters).' is duplicated and should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The raw-type loo... | null |
AxonIQ__AxonFramework__4229 | AxonIQ/AxonFramework | 4,229 | defect | 6de4b9e111baac9be622c8a11e531adb850fffd8 | da0919401c864f0c717efe0e89b4cb24fdc0df3e | Resolved some type reliance issues in handler wrappers | The ReplayAwareMessageHandlerWrapper and MethodSequencingPolicyEventHandlerDefinition relied on the type of MessageHandler to decide which type of wrapper to build. However, this is not safe in case handlers have already been wrapped.
This fixes these problems by relying on the `unwrap()`` method instead of `instanc... | diff --git a/messaging/src/main/java/org/axonframework/messaging/core/annotation/HandlerAttributes.java b/messaging/src/main/java/org/axonframework/messaging/core/annotation/HandlerAttributes.java
index c16c6075066..dfe3a8221fc 100644
--- a/messaging/src/main/java/org/axonframework/messaging/core/annotation/HandlerAttr... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test class' Javadoc `@since` tag should read 5.0.3 instead of 5.2.0.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AxonIQ__AxonFramework__4232 | AxonIQ/AxonFramework | 4,232 | defect | 2098e35fabdf0411b33bb9e270b9893997ec7091 | 22392b450cffd59fdcf818c9f0b6e2ac6903c44e | feature(messaging): EntityManagerTransactionManager - supports JPA transactions without Spring | + note about transaction-aware connection handling in SpringTransactionManager
Without that we cannot make non-Spring app and have transactionally with JPA (with JDBC it's the same situation, but one thing at a time). This implementation may be used then in tests like that as well: https://github.com/AxonFramework/A... | diff --git a/extensions/spring/spring/src/main/java/org/axonframework/extension/spring/messaging/unitofwork/SpringTransactionManager.java b/extensions/spring/spring/src/main/java/org/axonframework/extension/spring/messaging/unitofwork/SpringTransactionManager.java
index c0927fbb684..7351d1aded7 100644
--- a/extensions/... | 4 | 4 | 0 | [{"id": "G0", "claim": "M001 asks whether the unreliability that arises when someone uses a non-transaction-aware JDBC ConnectionProvider (each invocation getting a different pooled connection outside the managed transaction) should be addressed as an issue; M003 replies that the same caveat applies to non-Spring Entit... | null |
AxonIQ__AxonFramework__4238 | AxonIQ/AxonFramework | 4,238 | defect | 745a5c6724518c516d35fb3fe8409f1b8176d36b | 114a2eea6e6ba3c03285212fc7906931f08f279c | feature(messaging): EventAppender - add metadata-aware append overloads | Introduce `append(List<?>, Metadata)` and the single-event convenience `append(Object, Metadata)` on `EventAppender`. When the supplied event is already a `Message`, the provided metadata is merged with its existing metadata and provided values take precedence on conflict. Plain objects receive the metadata directly.
... | diff --git a/docs/reference-guide/modules/events/pages/event-publishing.adoc b/docs/reference-guide/modules/events/pages/event-publishing.adoc
index 0f7c1d67258..628ef931707 100644
--- a/docs/reference-guide/modules/events/pages/event-publishing.adoc
+++ b/docs/reference-guide/modules/events/pages/event-publishing.adoc... | 2 | 2 | 1 | [{"id": "G0", "claim": "Adding the new abstract method append(List<?>, Metadata) to the public EventAppender interface breaks compilation of existing in-repo implementers such as EntityEvolvingEventAppender, which do not implement the new overload; update those implementers (or provide a default implementation) to keep... | null |
AxonIQ__AxonFramework__4240 | AxonIQ/AxonFramework | 4,240 | defect | 745a5c6724518c516d35fb3fe8409f1b8176d36b | 15e5e5daec477cf8b1579af5a2cadb5613b7c97b | [#4237] fix(AxonTestFixture): RecordingEventSink positioned before interceptors — interceptor message changes not reflected in recorded events | closes #4237 | diff --git a/examples/university-demo/src/test/java/org/axonframework/examples/demo/university/UniversityApplicationTest.java b/examples/university-demo/src/test/java/org/axonframework/examples/demo/university/UniversityApplicationTest.java
index 7aa6f70446a..526f96a8c0f 100644
--- a/examples/university-demo/src/test/j... | 11 | 7 | 1 | [{"id": "G0", "claim": "The registry and its recording components are retrieved without validation, which can surface a ComponentNotFoundException or a later NPE instead of the previous actionable FixtureExecutionException; validate that the registry exists and both recording components are non-null, throwing a Fixture... | null |
AxonIQ__AxonFramework__4265 | AxonIQ/AxonFramework | 4,265 | defect | fb0fe3e0671e7c4aace7657e8b9b006166cd0276 | 7f032f815d16571d3caf91bcc4f00c50c1c4841b | feat(messaging): EventProcessors - enforce explicitly named event components | It's needed for deterministic DLQ names.
Check this for context:
https://github.com/AxonFramework/AxonFramework/pull/4247#discussion_r2877835936 | diff --git a/examples/university-java/src/main/java/org/axonframework/examples/university/automation/CourseFullyBookedNotifierConfiguration.java b/examples/university-java/src/main/java/org/axonframework/examples/university/automation/CourseFullyBookedNotifierConfiguration.java
index f6501cc81e9..65acfbfe1a6 100644
---... | 4 | 2 | 1 | [{"id": "G0", "claim": "The public `toList()` and `build(Configuration)` methods were removed from `EventHandlingComponentsConfigurer.CompletePhase`, and the reviewer asks why this public API was removed.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Whet... | null |
AxonIQ__AxonFramework__4269 | AxonIQ/AxonFramework | 4,269 | defect | 550d148c999d08eead0c3bfdd3604de7aac92eaf | d2cf8c2d7c8738971be63b6e23f9a6c1eb6189e9 | Fix #4244: Properly shutdown Axon janitor thread on Spring context close | ## Description
Fixes #4244: Ensure the Axon framework’s janitor thread is properly shut down when the Axon Configuration is closed, both in Spring and non‑Spring applications.
## Problem
The janitor `ScheduledExecutorService` introduced in version 4.11 was not being shut down during Spring context shutdown. Si... | diff --git a/spring-boot-autoconfigure/src/main/java/org/axonframework/springboot/autoconfig/AxonTaskJanitorShutdownHandler.java b/spring-boot-autoconfigure/src/main/java/org/axonframework/springboot/autoconfig/AxonTaskJanitorShutdownHandler.java
new file mode 100644
index 00000000000..4207d35fe6d
--- /dev/null
+++ b/s... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Spring-only SmartLifecycle handler would not work for users not using Spring; the reviewer requests the shutdown hook instead be registered via Configurer#onShutdown through a ConfigurerModule listed in META-INF/services, so it is service-loaded in non-Spring environments and applies in Spri... | null |
AxonIQ__AxonFramework__4297 | AxonIQ/AxonFramework | 4,297 | defect | 421cca3cf334d5ffc0b926afce0df20c711ee248 | 163ede00a638805094cbf80cf1f310b613f4f74d | Introduce `ReplayStatusChangedHandler` | This pull request introduces the `ReplayStatusChangedHandler` to the `org.axonframework.messaging.eventhandling.replay` package.
This `ReplayStatusChangedHandler` provides a hook that's triggered whenever the `ReplayStatus` changes.
Triggers for this are two-fold:
1. Whenever the `StreamingEventProcessor#resetToke... | diff --git a/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/student/ReplayStatusChangedHandlerIT.java b/integrationtests/src/test/java/org/axonframework/integrationtests/testsuite/student/ReplayStatusChangedHandlerIT.java
new file mode 100644
index 00000000000..f248c184027
--- /dev/null
+++... | 10 | 9 | 3 | [{"id": "G0", "claim": "The replay-status-changed stream is concatenated without reassigning result, so with lazy streams the handler's logic may never be executed; the status-changed handling should take the returned MessageStream into account (e.g. execute the side effect inside via MessageStream#fromFuture).", "cate... | null |
AxonIQ__AxonFramework__4351 | AxonIQ/AxonFramework | 4,351 | defect | 50e18883db421501b570bdd4266cfbff94861532 | bb8c0d898446c339da993cc3dcb98a5b01918c10 | fix(messaging): prevent `StackOverflowError` from double `LocalConfiguration` in module parent chain | Make createLocalConfiguration idempotent: if the given parent is already
a LocalConfiguration belonging to this registry, return it as-is instead
of wrapping it in another layer.
During module building, buildModules creates a LocalConfiguration (local)
for module.build to discover the module's registry, and then ... | diff --git a/common/src/main/java/org/axonframework/common/configuration/DefaultComponentRegistry.java b/common/src/main/java/org/axonframework/common/configuration/DefaultComponentRegistry.java
index 3fd6f997623..8170be084b2 100644
--- a/common/src/main/java/org/axonframework/common/configuration/DefaultComponentRegis... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since the parent parameter is marked @Nullable, its Javadoc should say that passing null is allowed (\"The optional parent configuration to serve as parent for the created result\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AxonIQ__AxonFramework__4354 | AxonIQ/AxonFramework | 4,354 | defect | 1844519b215eb59d615acff732621cfa2a35e356 | 1e0070d006eeff27c911e72a46caf91c2b371ffd | [#4340] Break cyclic dependencies in spring autoconfiguration | The `EventStoreConfiguration` inside `AxonServerConfiguration` caused a potential circular dependency by depending on configuration properties inside a configuration properties (making a circular dependency on `BoundConfigurationProperties`).
The `ConverterAutoConfiguration` led to a cyclic dependency on `BoundConfi... | diff --git a/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java b/axon-server-connector/src/main/java/org/axonframework/axonserver/connector/AxonServerConfiguration.java
index a9b3d088481..e7a0e12ddb5 100644
--- a/axon-server-connector/src/main/java/org/axonframework... | 7 | 4 | 1 | [{"id": "G0", "claim": "The commented-out @ConfigurationProperties(prefix = \"axon.axonserver.event-store\") line in AxonServerConfiguration should be removed entirely.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The class-level JavaDoc of th... | null |
AxonIQ__AxonFramework__4447 | AxonIQ/AxonFramework | 4,447 | defect | 9bb092efd2f03ecd76c1a55992a8a27a5c6e2f76 | f9c48d8782ec7bda35f5001d1fd6bbf91d60a701 | [#4427] Re-enable Examples build | - removed all fixed 5.1.0-RC2 dependencies
- fixed code imports
- use axoniq-spring-boot-starter for spring itests
This PR resolves #4427. | diff --git a/examples/pom.xml b/examples/pom.xml
index aff08c1d0d6..6befdaaae96 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -37,18 +37,15 @@
<dependencyManagement>
<dependencies>
+ <!-- The axoniq-bom provides the framework-bom plus -->
+ <!-- additional components need... | 2 | 2 | 2 | [{"id": "G0", "claim": "The university-java-springboot-3 and university-java-springboot-4 poms should use io.axoniq.framework:axoniq-spring-boot-starter instead of org.axonframework.extensions.spring:axon-spring-boot-starter, to get Axon Server autoconfiguration.", "category": "correctness", "verdict": "supported", "pr... | null |
AztecProtocol__aztec-packages__19854 | AztecProtocol/aztec-packages | 19,854 | defect | 2a77284312416b5085deb34e639510eabbabc68e | 011e42c7d32ca1884a25fdb243443b02ba1ada4b | fix: (AES audit) remove the buggy pkcs padding from `acir_format` | the padding done in `dsl` module of barretenberg for AES was wrong when all blocks are full.
The correct padding would be an extra block of all `16` but we were not padding at all.
This PR removes the padding from dsl completely and makes the backend to expect full blocks
that have already been padded.
This is i... | diff --git a/.vscode/launch.json b/.vscode/launch.json
index 7e1efd66f242..2c2de00f2989 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -51,7 +51,7 @@
"program": "${workspaceFolder}/barretenberg/cpp/build-debug-fast/bin/bb",
"args": ["prove", "--scheme", "ultra_honk", "--output_path", ".", "... | 1 | 1 | 0 | [{"id": "G0", "claim": "The aes_wrong_padding internal test should be clarified with comments explaining what it demonstrates and possibly renamed, since the name may be misleading without more context.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AztecProtocol__aztec-packages__20042 | AztecProtocol/aztec-packages | 20,042 | defect | 8aae170c2c50cb3a50153ddd1cbf54180bdf1846 | 0ab2d2c5e7da561036dca4c751f26af19a6d9f72 | chore: public inputs represent pairing points using 8 fields | Allows to re-use Codecs for pairing points reconstruction, reduces proof sizes and kernel circuit gate counts
Closes https://github.com/AztecProtocol/barretenberg/issues/1451
| diff --git a/barretenberg/acir_tests/sol-test/src/index.js b/barretenberg/acir_tests/sol-test/src/index.js
index f74735482f25..99a349326ba0 100644
--- a/barretenberg/acir_tests/sol-test/src/index.js
+++ b/barretenberg/acir_tests/sol-test/src/index.js
@@ -5,8 +5,8 @@ import { ethers } from "ethers";
import solc from "s... | 4 | 1 | 0 | [{"id": "G0", "claim": "The new 'Building with AVM enabled' section in barretenberg/cpp/CLAUDE.md may be unnecessary, since building the bb-avm or vm2_tests target alone should suffice.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Serialization pa... | null |
AztecProtocol__aztec-packages__20074 | AztecProtocol/aztec-packages | 20,074 | defect | 89e9741ce5d5108fbd20a29268e9630255d3a46c | ff7c30e97235be2ce506a3f1a893dfb065e04754 | chore: Address DSL audit comments | ### 🧾 Audit Context
Address DSL audit comments.
### 🛠️ Changes Made
- Fix typos in docs
- Fix broken links (they now point at a fixed commit)
- Simplify deserialisation function
- Fix wrong parameter in QuadConstraintTests
- Change usage of `std::visit` from `if`/`else` with `constexpr` to `overloads`. T... | diff --git a/barretenberg/cpp/src/barretenberg/dsl/acir_format/README.md b/barretenberg/cpp/src/barretenberg/dsl/acir_format/README.md
index fea6cc440d86..2c6fb13c37de 100644
--- a/barretenberg/cpp/src/barretenberg/dsl/acir_format/README.md
+++ b/barretenberg/cpp/src/barretenberg/dsl/acir_format/README.md
@@ -16,19 +16... | 1 | 1 | 0 | [{"id": "G0", "claim": "Lambdas that do not capture anything external should not use the [&] capture (use [] instead), including in other files.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AztecProtocol__aztec-packages__20352 | AztecProtocol/aztec-packages | 20,352 | defect | 0d76e208ee9619e3bd60d2b8b465c74234da8c32 | 55448b75a9a29c200215ec3d3a727f848c26b8f9 | fix: [ECCVM] added domain separation for the multiset equality check. | Added domain separation for the multiset equality check, as a matter of good hygiene. | diff --git a/barretenberg/cpp/src/barretenberg/eccvm/eccvm.test.cpp b/barretenberg/cpp/src/barretenberg/eccvm/eccvm.test.cpp
index b433c64e0283..1a955be8bba8 100644
--- a/barretenberg/cpp/src/barretenberg/eccvm/eccvm.test.cpp
+++ b/barretenberg/cpp/src/barretenberg/eccvm/eccvm.test.cpp
@@ -134,12 +134,16 @@ void comple... | 1 | 1 | 1 | [{"id": "G0", "claim": "The beta_quartic computation added to compute_beta_powers makes ECCVM-specific state pollute the kernels and should be removed from there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AztecProtocol__aztec-packages__20389 | AztecProtocol/aztec-packages | 20,389 | defect | 4c68c15ae9ce8ead0f2595ec33c38b96a2d573bb | 19849db0e008362abec26b0daf5945830236b91d | feat(acir static analysis): ec_add constrain + | Added check that gates created by cycle_group::operator+ are actually created | diff --git a/barretenberg/cpp/src/barretenberg/boomerang_value_detection/graph_description_acir.cpp b/barretenberg/cpp/src/barretenberg/boomerang_value_detection/graph_description_acir.cpp
index 00f584d5725f..2a2fe9924191 100644
--- a/barretenberg/cpp/src/barretenberg/boomerang_value_detection/graph_description_acir.cp... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new set_q_elliptic only stores the value while the filter's condition builder never checks q_elliptic, so setting it has no effect on filtering.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In get_and_result and get_or_... | null |
AztecProtocol__aztec-packages__20585 | AztecProtocol/aztec-packages | 20,585 | defect | 0cb3cbd0bccbb83fa4e4dcf060c21230696b7df1 | 0e9cb381310984b4d18300cfc6dc4e31f78c39c0 | chore: cleanup polynomials module | Cleanup and minor changes in the polynomial module.
Changes:
- Delete unused methods in `univariate_coefficient_basis.hpp`
- `is_zero`
- `random_element`
- `to_buffer`
- `serialize_from_buffer`
- `size`
- `get_random`
- Delete unused methods in `polynomial.hpp/cpp`
- `clear()`... | diff --git a/barretenberg/cpp/src/barretenberg/commitment_schemes/small_subgroup_ipa/small_subgroup_ipa.hpp b/barretenberg/cpp/src/barretenberg/commitment_schemes/small_subgroup_ipa/small_subgroup_ipa.hpp
index 8a30480d4899e..d381154f66f59 100644
--- a/barretenberg/cpp/src/barretenberg/commitment_schemes/small_subgroup... | 10 | 9 | 1 | [{"id": "G0", "claim": "The four_inverse member of EvaluationDomain is unused and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The copy constructor should use `other`'s root parameters instead of recomputing the root of unit... | null |
AztecProtocol__aztec-packages__20590 | AztecProtocol/aztec-packages | 20,590 | defect | 45ed7278ddca49f40f6126f36c4729aacd1195b5 | 5fede416dd22eacb96cffd4e19502b19255c946c | feat(acir static analysis): ecdsa constraints | 1) validate that all bytes are constrained to be bytes and take part in conditional assign gates
2) validate that the result is boolean and connected with "something" via conditional assign and assert equal | diff --git a/barretenberg/cpp/src/barretenberg/boomerang_value_detection/graph_description_acir.cpp b/barretenberg/cpp/src/barretenberg/boomerang_value_detection/graph_description_acir.cpp
index 42fe42bf48ad..85e9debfaa12 100644
--- a/barretenberg/cpp/src/barretenberg/boomerang_value_detection/graph_description_acir.cp... | 3 | 2 | 0 | [{"id": "G0", "claim": "Add a marker (TODO) recording that this ECDSA-constraint skip is to be changed in the future.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The candidate loop does not ensure a matching AND gate belongs to an ECDSA constra... | null |
AztecProtocol__aztec-packages__20853 | AztecProtocol/aztec-packages | 20,853 | defect | 09a8edc2093967946635e8c9f972d9ca0c5b1fde | bb3d406eddad52d2c31f624a8f3743f81caac2ee | chore(avm): Class ID Derivation pre-audit docs | Class ID pre-audit PR including:
- New comments/documentation
- Rearranging code
This is just a small 'destination' subtrace which computes a hash, so no significant findings!
Closes [AVM-56](https://linear.app/aztec-labs/issue/AVM-56/bytecode-class-id-deriv)
TODOs/Notes: ~Only TODO is to remove bytecode fr... | diff --git a/barretenberg/cpp/pil/vm2/bytecode/class_id_derivation.pil b/barretenberg/cpp/pil/vm2/bytecode/class_id_derivation.pil
index 604b047daf1ab..a379b4e2d0c67 100644
--- a/barretenberg/cpp/pil/vm2/bytecode/class_id_derivation.pil
+++ b/barretenberg/cpp/pil/vm2/bytecode/class_id_derivation.pil
@@ -1,36 +1,111 @@
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The INTERACTIONS diagram should be reordered because instr_fetching happens after bc_retrieval.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment saying the public_bytecode_commitment \"is constrained by ...\" shou... | null |
AztecProtocol__aztec-packages__20886 | AztecProtocol/aztec-packages | 20,886 | defect | a403c6ca4b033c9726aba3377994dac7c9fe4af6 | 432fbbf1db127ba0d6fc916c14a2a7dfd70db4a9 | chore: ecc group audit 1- remove dead code, documentation and test | there's lots of code that is never used in ecc/group module, especially in WNAF implementation.
This PR removes most of the unused code.
We also:
- add documentation for WNAF
- add edge case testing for WNAF | diff --git a/barretenberg/cpp/src/barretenberg/ecc/groups/affine_element.hpp b/barretenberg/cpp/src/barretenberg/ecc/groups/affine_element.hpp
index 369dbcb0d981..c1d33d7d81fb 100644
--- a/barretenberg/cpp/src/barretenberg/ecc/groups/affine_element.hpp
+++ b/barretenberg/cpp/src/barretenberg/ecc/groups/affine_element.h... | 2 | 2 | 0 | [{"id": "G0", "claim": "The magic constant 0x8000000000000000ULL used in the compression test (and elsewhere) should maybe be declared as a named static constant, especially since it is used in multiple places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
AztecProtocol__aztec-packages__21040 | AztecProtocol/aztec-packages | 21,040 | defect | 42681edfe595174f54344d9e717b61a86d4eace9 | 74b2003da6787b85c307f7dd57606bd84bef4ebb | chore: use free witness for offset generator in `batch_mul` | resolves https://github.com/AztecProtocol/barretenberg/issues/1585
tldr: we make the offset generator a free witness while performing `batch_mul`
### Current Way of Masking Points
While performing `batch_mul` we create ROM tables of linear combinations of the group elements. If we have an MSM of the form $[(s_... | diff --git a/barretenberg/cpp/scripts/test_chonk_standalone_vks_havent_changed.sh b/barretenberg/cpp/scripts/test_chonk_standalone_vks_havent_changed.sh
index e1b8afc01b561..fccab0e7c82d4 100755
--- a/barretenberg/cpp/scripts/test_chonk_standalone_vks_havent_changed.sh
+++ b/barretenberg/cpp/scripts/test_chonk_standalo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reviewer is confused why the quotient commitment's challenge_tag is set to batch_opening_claim.evaluation_point.get_origin_tag() and would expect the challenge_tag to be unnecessary now that the masking challenge is gone.", "category": "documentation", "verdict": "supported", "priority": "P2... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.