Interactive mode loses history randomly and unexpectedly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
I will use oci -i then run a command. Then will oci -i again, up arrow to retrieve the previous command, modify the command and run a second time. I'll do the same, perhaps up arrow a few times to an earlier command. Then, without apparent cause, I'll oci -i and now entire history is gone. Up arrow shows nothing. I've not closed the shell window or done anything different than the multiple times it will work so I can't pinpoint what's happening.
% oci --version
3.86.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported sequence with oci -i: run a command, invoke interactive mode again, use the up arrow, modify and rerun it, and repeat until history disappears. Compare the working and failing runs using version 3.86.0; done means previous interactive commands remain available through the up arrow across repeated invocations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100