Commit graph

23 commits

Author SHA1 Message Date
0b1b74255e fix: address CI failures and review feedback 2026-04-11 02:08:58 +00:00
9f74e87348 feat: add toys to guest image 2026-04-11 01:54:21 +00:00
f31a4aae35 fix: upgrade guest kernel to 6.1.155 and neovim to latest via PPA 2026-04-11 00:08:13 +00:00
45d653b96d fix: install jetbrainsmono nerd font for terminal icon rendering 2026-04-10 16:15:36 +00:00
7e270b110e fix: install jetbrainsmono nerd font for terminal icon rendering 2026-04-10 15:46:03 +00:00
a41f1e408e fix: run dbus-launch as node user for xfce service activation 2026-04-10 15:30:05 +00:00
b3d76bfa76 fix: xfce session crash, 10gb disk with resize on boot 2026-04-10 15:07:39 +00:00
75b229f470 fix: bump VM to 3GB RAM / 2 vCPUs, disable XFCE session saving 2026-04-10 03:03:17 +00:00
5854148630 chore: zsh prompt alignment 2026-04-10 00:58:05 +00:00
32ae1e1b26 feat: firecracker mmds identity 2026-04-10 00:53:59 +00:00
6473507308 fix: use Google Chrome .deb instead of Debian Sid chromium 2026-04-10 00:16:40 +00:00
1fcd913352 chore: remove comments from guest desktop scripts 2026-04-10 00:12:07 +00:00
5eb25834af fix: address review feedback on desktop stack 2026-04-10 00:08:47 +00:00
221cbf0588 feat: replace openbox with XFCE4 + Plank desktop stack 2026-04-10 00:00:47 +00:00
f028880bc6 feat: subrepo for guest agentcomputer image 2026-04-09 03:23:35 +00:00
4f2c4b840b chore: fix dockerfile paths, add issue templates and contributing guide 2026-04-09 03:20:20 +00:00
Hari
5e969590a4 host api alignment (#7)
* feat: add Firecracker API client methods for VM pause/resume and snapshots

Add PatchVm, GetVm, PutSnapshotCreate, and PutSnapshotLoad methods to the
API client, along with supporting types (VmState, SnapshotCreateParams,
SnapshotLoadParams, MemBackend).

* feat: add snapshot data layer - contract types, model, store, config

Add SnapshotID and snapshot contract types, SnapshotRecord model,
store interface CRUD methods with file store implementation,
snapshot paths helper, SnapshotsDir config, and directory creation.

* feat: add runtime methods for VM pause, resume, snapshot, and restore

Implement Pause, Resume, CreateSnapshot, and RestoreBoot on the
firecracker Runtime. RestoreBoot launches a jailer, stages snapshot
files into the chroot, loads the snapshot, and resumes the VM.

* feat: add daemon snapshot create, restore, and reconciliation logic

Implement CreateSnapshot (pause, snapshot, COW-copy disk, resume),
RestoreSnapshot (COW-copy disk, RestoreBoot, wait for guest),
GetSnapshot, ListSnapshots, DeleteSnapshotByID, and crash recovery
reconciliation for snapshot and restore operations.

* feat: add HTTP endpoints for snapshot create, get, list, delete, restore

Wire 5 snapshot routes: POST /machines/{id}/snapshots (create),
GET /machines/{id}/snapshots (list), GET /snapshots/{id} (get),
DELETE /snapshots/{id} (delete), POST /snapshots/{id}/restore (restore).

* fix: cross-device rename, restore network, and snapshot cleanup

- Replace os.Rename with copy+remove for moving snapshot files out of
  /proc/<pid>/root/ (cross-device link error on Linux)
- Reconfigure network interface after snapshot load so the restored VM
  uses its own tap device instead of the source VM's
- Clean partial snapshot dirs immediately on failure instead of only
  via reconcile
- Reject snapshot requests while a machine operation is already pending

* fix: test and modify snapshot runtime

* feat: snapshot lifecycle update, align runtime issues between host image
and daemon
2026-04-08 22:21:46 -04:00
35808291a4 chore: naming convention 2026-04-08 18:30:15 -04:00
Hari
ef8f354291 feat: update pure prompt zsh naming nad other guest os files (#6) 2026-04-08 18:19:41 -04:00
Hari
63b6a452b0 feat: preloaded-packages and bundle (#5) 2026-04-08 17:38:27 -04:00
09c9671fcb fix: supervise guest init and desktop services 2026-04-08 14:02:14 -04:00
1e55cb4e81 feat: add guest artifact packaging for bare-metal smoke 2026-04-08 13:42:57 -04:00
Hari
27f7b6318b feat: guestOS docker config (#3) 2026-04-08 12:30:04 -04:00