manticoresoftware / manticoresoftware/clt
Checkpointing caching while replay the test
Nobody has claimed this yet.
- Dominant language
- Svelte
- Stars
- 8
- Forks
- 3
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 2
Description
When we run a record file that uses blocks to validate that it works fine, it executes all commands. However, once we add some extra commands or fix the last one, we have to run the whole test again, which wastes significant time in most cases redoing the same flow.
To fix this issue, we can approach checkpointing and cache each command execution and state so we can start validating tests only from the point where we actually added changes or new instructions to the rec file. This can significantly speed up the debugging process.
To achieve this, we could get an input command checksum and validate if it's unchanged. We should only checkpoint commands when they succeed. We should investigate docker checkpointing possibilities and consider how we could implement it, either by controlling checkpointing from inside Rust or by configuring the bash environment inside docker if possible.
Contributor guide
No contributing guide indexed for this repository
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
No files or tests are identified. Start by mapping the Rust record-file replay and command-execution paths, then investigate Docker checkpointing and bash-environment options; done means successful unchanged commands can be reused while changed or newly added commands replay from the correct point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, docker, rust
- Domain
- cli, devops, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100