Referencing the history and history persistence extensions.
This is in reference to the issue raised earlier - Tests are dependent on each other
I was facing the same issue, I actually implemented it with persistent memory by get go and it breaks the listing test because it expects a fresh history file. This is not what would have happened in a real shell.
History default behaviour should be in persistent memory file only, maintaining in memory history then adding it to a persistent history does not mimick real shells and it’s super confusing to work on it this way.
These two extensions should be merged into one always keeping persistent memory in mind.
This is my opnion, would love to know if someone else feels the same and maintainers’ thoughts.
Now I will proabably have to remove my persistent implementation, to a more primitive in memory one just to pass history extension and then introduce a file later to pass the history persistence extension. This pattern although seems to be intended for incremental learning, but in reality is not mimicking the shell behaviour at all.