fix(kugetsu): improve session detection in cmd_start with retry logic and logging #107
Reference in New Issue
Block a user
Delete Branch "fix/start-session-detection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.fork.logfor debuggingProblem
When running
kugetsu start, the session detection only waited 1 second before giving up. Ifopencode run --forktook longer to register the session, the command would fail with "Could not find newly created session".This is why
kugetsu delegateworked (uses existing session with--continue) butkugetsu startfailed (creates new session with--fork).Testing
Test with:
kugetsu start git.fbrns.co/shoko/jigaido#2 "your message"If it fails, the fork log will now show the actual output from
opencode run.lgtm
lgtm