RAFCON icon indicating copy to clipboard operation
RAFCON copied to clipboard

baked session

Open franzlst opened this issue 4 years ago • 2 comments

After debugging a bug which was found in a complex setup of library states and RAFCON configuration parameters I would like to discuss an implementation that extends the baked state machine feature to a baked session feature. Kind of goal is that an user has a problem and reproduce it and bake the session as it is and sent it to the developer which can open the baked session. Sometimes this ends in the failure which the user was reproducing and sometimes this will not work out but this baked session still has all information we need to figure out the particular problem in 99% of failure/bug.

The extension would fully or party target the following elements:

  • [ ] runtime config storage
  • [ ] gui config storage
  • [ ] session storage and recovery (means adaptation of the session runtime configuration to the stored file/folder structure in the baked folder)
  • [ ] store all execution logs available of opened state machines into the baked session folder, too, for elaboration of the previous execution
  • [ ] storing of logger messages (and maybe reloading of those to debug directly in RAFCON)
  • [ ] storing the modification history of state machines (we basically can do this already at least I told @sebastian-brunner about it, I only have to write the re-organisation after re-creation of actions)
  • ~~storing of notifications on higher level with a debug flag which is used to track down higher problems e.g. state machine manager or execution engine and which can not be seen in logger messages (this would be a string format of readable gtkmvc notifications)~~

This is an enhancement and discussion issue. Feel welcome to add ideas and notes.

Originally created by @Rbelder at 2018-03-19 15:35:26+00:00 (moved from RMC internal repository)

franzlst avatar Apr 17 '20 10:04 franzlst

Interesting idea. Sounds like a bigger issue ... and we have several of them ... let's discuss this in the next meeting!

Originally created by @sebastian-brunner ([email protected]) at 2018-03-20 08:25:43+00:00 (moved from RMC internal repository)

franzlst avatar Apr 17 '20 10:04 franzlst

So I add the execution log to the baked session issue, too. It would be easy to send state machines and logs for examination to another user.

Originally created by @Rbelder at 2018-08-16 13:35:17+00:00 (moved from RMC internal repository)

franzlst avatar Apr 17 '20 10:04 franzlst