Skip to content

Releases: projecteru2/cocoon

v0.1.8

05 Mar 13:52

Choose a tag to compare

Changelog

  • c09d1a9 add redroid 14.0 to os-image, support android vm
  • bb1012c add redroid dockerfile try to run android in vm
  • c64d2e1 fix rollback remove same name issue
  • 14bf7af minor changes for better and safe vars
  • 40781dc redorid use nspawn to replace docker
  • 0bba59e unshare ver of redroid

v0.1.7

04 Mar 12:29

Choose a tag to compare

Changelog

  • 91fe60e minor refactor to clean up codebase
  • 9151f0c minor revise for better support of snapshot ID
  • a001019 restore command for existing vm
  • fbb7b32 revise cloudhypervisor coding style

v0.1.6

04 Mar 06:54

Choose a tag to compare

Changelog

  • 5ae7664 ai said he already keep the cow like original one, lets try
  • 567a44b ai said pax will save time, i dont know
  • be0ad3c clone: hotplug cidata when snapshot does not include it
  • 72409e6 cloudhypervisor: allow endpoint-specific success status codes in vmAPI
  • 1ec8a1d cloudimg: add networkd fallback files and refresh clone reinit docs
  • 465a0e6 everytime lint fail due to some minor issue make me angry
  • 288335f feat(clone): patch stale disk paths in state.json
  • cd3a8ca feat(clone): regenerate kernel cmdline for OCI clones
  • 9a141f5 feat(clone): resource inheritance, cidata regeneration, and UX
  • bc34372 feat(snapshot): capture and restore image reference in snapshot metadata
  • 1da5c29 first ver to impl the snapshot, lets test it
  • 132d1de fix(api): correct CH net config JSON tag and add console path logging
  • cddd226 fix(clone): include cidata.img in cloudimg snapshot and restore its path
  • c4f0fe4 fix(clone): preserve CH device IDs by patching config in-place
  • 76b4da5 fix(clone): set serial/console config based on boot mode
  • 9418405 fix(clone): suppress CH default tap IP and fix net multi-queue calculation
  • d5d630c fix(clone): update bootCfg.Cmdline for subsequent restarts
  • 067adb6 fix(console): force SIGWINCH on connect via PTY size nudge
  • c09264a fix(console): inject Ctrl+L for post-restore screen redraw
  • 4adad95 linux lint always failed, dont ask me why
  • 2e844d7 metadata: restore network-config-driven cloud-init workflow
  • bb524d3 move things belong to snapshot, let rnr
  • cf76a04 no gzip high performance? ai said but i dont trust
  • 2731252 oh another pipe issue, i hate this
  • cac2207 ok maybe this version can work, done snapshot
  • 1ede6b1 refactor and cleanup snapshot
  • 5bbeb2b refactor(clone): make Serial/Console pointer types, strip stale paths
  • 4fdca76 refactor(clone): raw JSON patching to preserve CH internal fields, add tests
  • 1db9046 refactor(console): replace containerd/console with moby/term
  • f49b6c8 refactor: consolidate backend utilities and cloudimg metadata pipeline
  • da0c3c8 refactor: split clone cidata/restore helpers and suppress cloud-init warning
  • 824b9f0 restore impl to help clone a new vm from any snapshot
  • 2cfd8b7 scripts to enhance debug
  • 0008921 structs adjustment for snapshot and restore
  • 804c032 thats why people didnt like uefi boot the vm, slow and easy bug
  • 28396d3 update readme and hints for OCI vm clone
  • c1d6868 vm: improve OCI clone post-setup hints
  • 6233963 vm: print MAC-alignment steps before cloudimg clone reinit

v0.1.5

01 Mar 13:29

Choose a tag to compare

Changelog

  • 579e510 refactor whole config part for future integration

v0.1.4

01 Mar 06:10

Choose a tag to compare

Changelog

  • b0f9542 Update Chrome and Chromium launch options in Dockerfile to reduce more
  • 6ab04aa add fake chrome os to test cpu usage
  • 6341056 everyday the AI can scan lot issues and report to me
  • b39ab39 fix lint, adjust workflow, and lets release another version
  • 1d3c35d ignore unknown? wait wait, the cni design is not good as i know ah
  • f3972c7 lets del the cni conf first to restore the ip to the pool
  • d4e9d89 people said host down will clean all nics due to netns gone, well lets fix it
  • 9994a14 refactor gc for networking and remove useless code
  • ccf81ce such minor issues the AI created and forget to revise
  • f78c417 when people said test, ok there is test, good start from http
  • 7d496a9 why cni can not restore ip leh? lets set it back!

v0.1.3

27 Feb 17:34

Choose a tag to compare

Changelog

  • 7844e41 every night my claude code told me lots things to do, have to fix lah

v0.1.2

27 Feb 16:53

Choose a tag to compare

Changelog

  • 7056d90 add ubuntu 24.04 with xface4 desktop and chrome
  • dbe35df huge changes to use xrdp and cleanup
  • 322d5a0 no one want to maintain console, why not use 3rd?
  • 6161223 update readme to ensure user down right file from github and configure the system
  • ebf2da5 well, /var/run is small, lets use /var/lib

v0.1.1

27 Feb 09:20

Choose a tag to compare

Changelog

  • aa7c165 ch: multiply num_queues by 2 in CH net CLI args (virtio-net requires TX+RX pair per queue)
  • e9dca9c cloudimg: skip cidata disk on subsequent VM starts; add FirstBooted flag to VMRecord
  • f2edeab docs/doctor/cni: fix OCI image refs in README; add --subnet flag to doctor with CNI conflist generator; fix dual-stack IPv4 extraction
  • 5e2b0e2 logs: downgrade verbose Info calls to Debug across cloudimg/oci/cni/images; add --log-level flag
  • 27cec38 net: fix tap flags initialization order (VNET_HDR base + ONE_QUEUE/MULTI_QUEUE); close tap fds after LinkAdd
  • 7ee9dff vm: add STORAGE and IP columns to list; refactor enrichRuntime->toVM to expose network/storage; add multi-queue tap support

v0.1.0

26 Feb 18:52

Choose a tag to compare

Changelog

  • dfe0ecf chore: add .cache to gitignore
  • cfe40b2 chore: remove unused CH API endpoint code
  • aa7c221 ci: add github actions workflow for building OS images
  • 88bfa9a ci: add latest tag to os-image build workflow
  • d329585 ci: refactor build-os-images workflow matrix and steps
  • a74562e feat(cmd): add network cleanup on VM delete in rm handler
  • 8ae7319 feat(config): add CH binary path, stop timeout, and boot cmdline fields
  • 837c05c feat(config): add viper-based config file loading with defaults
  • a4f73e9 feat(console): add terminal raw mode and resize handling for PTY
  • 7d6ef0e feat(gc): add VM GC with orphan cleanup and improve blob reference tracking
  • 69d1c1f feat(hypervisor): add CH API client, start, stop, and process management
  • aafab4f feat(hypervisor): add cloud hypervisor backend with VM storage and GC
  • 4524af3 feat(hypervisor): add network config to CH VM create with tap and netns support
  • 0615bff feat(hypervisor): implement list, inspect, and delete for CH backend
  • 38ba583 feat(hypervisor): integrate cidata disk generation into cloudimg VM create
  • e62057b feat(hypervisor): launch CH process inside VM netns for tap device access
  • bc96945 feat(images): add Inspect method to OCI and cloudimg backends
  • 6f81473 feat(network): add CNI delete, rollback on failure, and MAC generation
  • 9fe2968 feat(network): add netns bridge-tap setup with IP/MAC allocation
  • 2feeada feat(network): add platform-specific netns creation with netlink bridge-tap wiring
  • b37d40c feat(network): implement CNI plugin integration with netns and IPAM
  • 6019db2 feat(network): return MAC from TC setup and add VNET_HDR flag to tap device
  • a898d1b feat(network): try 0 queue size for tap device in CNI config
  • b235977 feat(os-image): add DNS resolver configuration to network.sh
  • 585fce2 feat(os-image): add DNS resolver configuration to network.sh init-bottom
  • 5be5354 feat(os-image): add erofs-utils to start.sh and update CI build args
  • 62bf3af feat(os-image): add network connectivity check and DNS config in overlay
  • 16f0051 feat(os-image): add rng and balloon support, set deadline IO scheduler
  • d89f18e feat(os-image): add tcpdump to ubuntu 24.04 image packages
  • 7092927 feat(os-image): add ubuntu 22.04/24.04 dockerfiles and boot scripts
  • 62ee975 feat(os-image): enable overlayfs index and redirect_dir in boot script
  • 6fc92b0 feat(os-image): parse kernel ip= params and generate systemd-networkd configs
  • ae656a3 feat(storage): add Type() method to Storage interface
  • d418952 feat(types): expand VMInfo with runtime fields and state enum
  • af79b8c feat: add CLI run command with CH launch via OCI backend
  • eedc47e feat: add DNS server configuration via config and kernel cmdline injection
  • 13699da feat: add GC orchestrator, flock improvements, and JSON-backed VM storage
  • d42e2b4 feat: add NoCloud cidata metadata generation with FAT12 filesystem
  • 43f8e6d feat: add cloud image backend with HTTP pull, qcow2 support, and JSON storage
  • 10f64bb feat: add cloud image run command with UEFI boot support
  • 5a37fad feat: add cobra CLI framework with all subcommands, Makefile, and CI workflows
  • 1bccb2f feat: add config and OCI storage stub packages
  • 5a90443 feat: add doctor check script for environment validation and dependency checks
  • efce026 feat: add hypervisor interface, boot/storage types, and digest handling
  • 770ced1 feat: add image GC, refactor OCI pull pipeline and digest handling
  • a1cf9c7 feat: add initial storage and VM type definitions
  • f2cf2a8 feat: add network interface with CNI support and network types
  • 4c7ed7e feat: add progress reporting interface for image pull operations
  • db9e2fe feat: add serial console support with PTY query and relay
  • ff5c47b feat: add structured logging throughout hypervisor and VM lifecycle
  • 55e209a feat: expand storage types and tune hack.sh for layer serials
  • 7748fba feat: implement OCI image pull, erofs conversion, and flock-based locking
  • 6f7fb0f feat: implement full VM lifecycle with create, start, stop, and config builder
  • 5ce5879 fix(ci): correct working directory and dockerfile COPY paths
  • 675f506 fix(ci): update goreleaser config to v2 format and add LICENSE
  • 77738ba fix(cloudimg): enable direct IO for qcow2 disk in CH launch
  • 5f8bb66 fix(cloudimg): handle qcow2 overlay creation and improve pull error paths
  • 0aee42f fix(cmd): add sanitizeVMName helper and deduplicate resolved VM refs
  • e5c7b9c fix(cmd): bind default_root_password env var for viper unmarshal
  • 7d48db4 fix(cmd): correct typos in image handler output messages
  • b7d6ba7 fix(doctor): add binary-to-package mapping and improve dependency auto-install
  • e81fb28 fix(doctor): remove set -e to allow check script to continue on failures
  • 65060af fix(gc): handle missing directories gracefully in VM and image GC
  • c1836e3 fix(hypervisor): cap vCPU count to host CPU count in VM config builder
  • 87f3db2 fix(hypervisor): correct error variable shadowing in start flow
  • d00b62c fix(hypervisor): handle idempotent start with proper error classification
  • be3c5a2 fix(hypervisor): improve PTY console path handling and query logic
  • b4504e3 fix(hypervisor): use os.Create for COW file and improve network rollback in create
  • 7dcda6b fix(metadata): correct cloud-init chpasswd list yaml quoting format
  • 4988ecf fix(metadata): enable root login via cloud-init chpasswd and disable_root
  • 03d9775 fix(network): add CNI config validation, GC integration, and error handling
  • 827d82e fix(network): add context parameter to List method signature
  • ea367f1 fix(network): add retry loop for netns deletion after async fd cleanup
  • 842bc1b fix(network): correct CNI type field names and interface signatures
  • a8c3fdd fix(network): disable MAC learning on bridge uplink to prevent ARP misdirection
  • a8edbb4 fix(network): use deleteNetns helper instead of raw os.Remove for cleanup
  • 8198673 fix(oci): add image_type=raw to disk arguments for erofs layers
  • f970bd9 fix(oci): add temp file cleanup and atomic blob commit in pull
  • 72d85bd fix(oci): improve concurrent layer download with proper error propagation
  • 73695f9 fix(oci): improve pull error handling and layer dedup logic
  • 6658204 fix(oci): simplify OCI store initialization and pull retry logic
  • 41cfa4d fix(os-image): add isc-dhcp-client to ubuntu dockerfiles for ipconfig support
  • 52a71b7 fix(os-image): call configure_networking explicitly in overlay for ubuntu 22.04
  • 2a26997 fix(os-image): correct CH launch args for memory, rng, and balloon
  • acd9bf6 fix(os-image): correct COPY path ordering in dockerfiles
  • d135843 fix: add SIGWINCH propagation to console and respect context cancellation in stop
  • c5f7115 fix: add nil checks for network IP/gateway and improve CNI rollback on create failure
  • 2003e93 fix: correct config initialization order and improve CNI error handling
  • 345d841 fix: correct config provider typos in command handlers
  • 3c70ddf fix: correct json struct tags in network types
  • d022263 fix: correct typos in ...
Read more