Git Wortree Set Up & Spawn Orchestrator
New functionalities
- The
spawncommand is now connected to the orchestrator in thepackage.jsonso that it can later be publish in npm and make it fully global accessible in the developer system by using the-gflag - Config changes memory: Every time the system changes the system-config.json the changes are automatically staged and commit so that they are present in the new worktree
Testing
- Created two integration automated test using
jestthat stress test thespawn engineunder different scenarios and flags, implement a cool ghost typist so that no questions arise why testing, since those are handle by the ghost typist and test itself. - Performed an e2e test in an isolated enviroment within my computer, finding some bugs and fixing them properly. (The video shows the e2e test in action)
Fixes
- The system faced a config path mismatch when the command was trigger when the worktree was outside of a prefix folder and then moved to it, making the config file
ENOENT.
e2e test
e2e spawn engine in action
- Create a folder with the prefix if not previously created and move the main worktree dir and other worktrees present there
- Handle the
config-system.jsonpresence if not handle its creation- Create a new worktree with the artifact in lowercase as name and branch to work within the folder with the project identifier prefix
- Connect the
docsof the new worktree to the folder in the markdown editor- Open a VS code instance
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.