19 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
b5cd1f2064 feat: added provision error propagation 2026-02-09 01:48: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
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
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
883b5cc68c refactor: more concise and good log 2026-02-07 21:00:20 -05:00
robcholz
bc58f6bbbb refactor: make supervisor internal 2026-02-07 20:50:49 -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
166b035977 fix: fixed the symlink permission issue 2026-02-07 17:26:26 -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
c98bc78f55 feat: added list and clean cli cmd 2026-02-07 16:20:51 -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
5fc914945c feat: wire up SessionManager. 2026-02-07 14:21:37 -05:00
robcholz
fc7e95fa22 feat: use vm.lock to ensure process concurrency safety. 2026-02-07 12:35:34 -05:00
robcholz
ca33633d28 feat: allow multi vibebox to connect to the same vm. 2026-02-07 00:22:24 -05:00