You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the provided BootStateMachineMonitor to monitor transitions, but I noticed that the external transition to the "end" state DELETED is not shown in the traces. If instead the state is not marked as "end", the trace is present as expected.
Moreover I noticed that if I mark a state SF as "end", and trigger a local transition TL to SF (from an intermediate state SI) after an external transition TE to the intermediate state SI, the trace for the preceding external transition TE is lost as well (if needed i can provide an example for this behavior but I didn't want to overcomplicate things).
Is this intended behavior? Am I doing anything wrong? By comparing my code to your samples and docs I cannot see any difference/mistake so I'm inclined to think this could be a bug.
Thanks for this project btw, we're enjoying it a lot! :)
Here is the actual response from localhost:8080/actuator/statemachinetrace after the state machine has gone from READY to DELETED:
Hi!
In this project https://github.com/matteo4diani/spring-statemachine-deployment-demo I am using Spring Statemachine 4.0.0 to model a simple sequential SM (the configuration class is attached below):
initial:READY --event:DEPLOY--> state:DEPLOYING --event:NAMESPACE_STATUS_CHANGE--> state:DEPLOYED --event:DELETE--> state:DELETING --event:NAMESPACE_STATUS_CHANGE--> end:DELETED
I am using the provided
BootStateMachineMonitor
to monitor transitions, but I noticed that the external transition to the "end" stateDELETED
is not shown in the traces. If instead the state is not marked as "end", the trace is present as expected.Moreover I noticed that if I mark a state
SF
as "end", and trigger a local transitionTL
toSF
(from an intermediate stateSI
) after an external transitionTE
to the intermediate stateSI
, the trace for the preceding external transitionTE
is lost as well (if needed i can provide an example for this behavior but I didn't want to overcomplicate things).Is this intended behavior? Am I doing anything wrong? By comparing my code to your samples and docs I cannot see any difference/mistake so I'm inclined to think this could be a bug.
Thanks for this project btw, we're enjoying it a lot! :)
Here is the actual response from
localhost:8080/actuator/statemachinetrace
after the state machine has gone fromREADY
toDELETED
:I would expect to find a similar element in the traces array (which is present if
DELETED
is not marked as an "end" state):This is the configuration class I'm using:
The text was updated successfully, but these errors were encountered: