66 Commits

Author SHA1 Message Date
Finn Sheng
23726d7420 Refactor (#10)
* refactor: cleanup duplicated logic

* refactor: cleanup config.rs

* refactor: cleanup explain.rs

* refactor: cleanup instance.rs

* refactor: cleanup

* refactor: use UnixStream instead of status file

* Refactor vm lifetime (#8)

* fix: handle vm supervisor being killed

* fix: fixed the loop connection retry

* refactor: extracted vm_manager liveness check logic

* Script failure report (#9)

* feat: added script failure report

* feat: vm error report can also report ssh.sh

* refactor: liveness check when connecting to ssh

* fix: fixed the wrong InstanceError::VMError

* fix: fixed the is_lock_stable
2026-02-15 18:09:38 -05:00
robcholz
e1d484ee9d fix: now fixed the invalid password issue 2026-02-10 17:08:37 -05:00
robcholz
8669deb078 fix: try to fix provision.sh 2026-02-09 02:18:22 -05:00
robcholz
a568295bd3 fix: more robust network handling 2026-02-09 01:52:06 -05:00
robcholz
b5cd1f2064 feat: added provision error propagation 2026-02-09 01:48:20 -05:00
robcholz
b433d3ef93 fix: handled edge network issue when doing provisioning 2026-02-09 01:16:20 -05:00
robcholz
ecfce7acf7 fix: enforce shutdown timeout when vm input never becomes ready 2026-02-09 00:59:16 -05:00
Finn Sheng
f6678e7069 feat: added e2e (#5)
* feat: added e2e

* fix: try fix

* fix: try fix

* fix: try fix

* fix: added more observability

* ci: fixed double trigger

* feat: partial e2e test with mock vm

* feat: more monkey tests

* feat: added coverage
2026-02-08 18:50:35 -05:00
Finn Sheng
eafa229542 feat: now it has more timeout and better log (#6) 2026-02-08 17:54:22 -05:00
robcholz
15245fd245 fix: fixed the race condition brought by shutdown triggerred while vm input channel is not ready or closed 2026-02-08 02:51:35 -05:00
robcholz
5659f2a538 fix: now project dir correctly mounted 2026-02-08 02:25:12 -05:00
robcholz
5e008c9471 fix: fixed the annoying dhcp conflict when having concurrent vm 2026-02-08 00:34:01 -05:00
robcholz
935e0cd566 fix: mise install fail will not fail the ssh 2026-02-08 00:32:29 -05:00
robcholz
4dd9c31f74 refactor: now code and claude becomes default mounts 2026-02-07 23:50:25 -05:00
robcholz
a4b9d62873 feat: now added warn for disk size mismatch 2026-02-07 23:16:12 -05:00
robcholz
727adffb4c feat: added disk support 2026-02-07 23:05:52 -05:00
robcholz
57ebe7ffee refactor: added banner source 2026-02-07 22:14:20 -05:00
robcholz
5ba046df4e refactor: now log will be at debug level at default 2026-02-07 21:37:29 -05:00
robcholz
336c03572c ci: fixed again 2026-02-07 21:18:35 -05:00
robcholz
f75aef9e81 ci: fixed 2026-02-07 21:15:09 -05:00
robcholz
68d3af06f5 refactor: removed unused code 2026-02-07 21:08:34 -05:00
robcholz
883b5cc68c refactor: more concise and good log 2026-02-07 21:00:20 -05:00
robcholz
6a5624e608 fix: fixed the ssh login again 2026-02-07 20:53:55 -05:00
robcholz
a85287d8ce refactor: redirect codesign to debug 2026-02-07 20:53:26 -05:00
robcholz
bc58f6bbbb refactor: make supervisor internal 2026-02-07 20:50:49 -05:00
robcholz
8e0439cd75 refactor: change name to vibebox from vibebox-cli 2026-02-07 20:48:56 -05:00
robcholz
3366276af3 fix: fixed mise issue 2026-02-07 20:42:16 -05:00
robcholz
ac67e548c7 feat: added better info log 2026-02-07 20:30:55 -05:00
robcholz
3c25ae47e9 feat: added cli purge-cache to clear the cache. 2026-02-07 20:05:04 -05:00
robcholz
f02cb4c499 refactor: now the log will only show error/warn level before tui 2026-02-07 19:55:14 -05:00
robcholz
2ef4011335 refactor: now make cli more consistent 2026-02-07 18:15:34 -05:00
robcholz
df08e45fae refactor: now uses log for everything and changed serial.log to vm_root.log 2026-02-07 17:47:29 -05:00
robcholz
402f37bae4 feat: added vm info 2026-02-07 17:36:07 -05:00
robcholz
166b035977 fix: fixed the symlink permission issue 2026-02-07 17:26:26 -05:00
robcholz
518ca14fd3 fix: removed the hardcode codex and claude form ssh.sh 2026-02-07 17:12:09 -05:00
robcholz
c0c52a5f8c fix: avoids the “PID reused” false positive while still honoring a real running manager 2026-02-07 17:00:39 -05:00
robcholz
64e2cdb8d4 fix: avoid error from ssh break program 2026-02-07 16:56:27 -05:00
robcholz
dfecd12e12 fix: added back explain 2026-02-07 16:52:33 -05:00
robcholz
fa221419dd feat: added explain command to display network 2026-02-07 16:37:31 -05:00
robcholz
94d941c21a feat: added explain command to display mounts 2026-02-07 16:31:32 -05:00
robcholz
c98bc78f55 feat: added list and clean cli cmd 2026-02-07 16:20:51 -05:00
robcholz
b3ac485ccf feat: added mounts in config file 2026-02-07 15:41:10 -05:00
robcholz
57798d2647 feat: add an actual config file. 2026-02-07 15:29:02 -05:00
robcholz
8c816c38b7 refactor: remove old cli. 2026-02-07 15:10:05 -05:00
robcholz
0d7c4a7c7f refactor: organize all the params. 2026-02-07 14:56:48 -05:00
robcholz
15a5199d5f feat: setup vibebox commands 2026-02-07 14:42:51 -05:00
robcholz
c2dd188767 fix: added config.rs 2026-02-07 14:22:03 -05:00
robcholz
5fc914945c feat: wire up SessionManager. 2026-02-07 14:21:37 -05:00
robcholz
68145e662a feat: VM should be separated by a per-session VM daemon process (only accepts if to shut down vm and itself). 2026-02-07 13:14:38 -05:00
robcholz
fc7e95fa22 feat: use vm.lock to ensure process concurrency safety. 2026-02-07 12:35:34 -05:00