test,ci: e2e suite + macOS CI#2
Conversation
Add a Ginkgo/Gomega e2e suite (integration + vm labels) and a Tests workflow. Both labels run on macOS since the provider binary is darwin-only: - integration: manifest generation and provider-binary error handling; no OrbStack required. - vm: full workspace lifecycle on a real OrbStack machine. Adds Taskfile test:e2e / test:e2e:vm targets and an alpine workspace fixture.
OrbStack installs on macos-15 but orbctl start panics with 'vm config get max ipa size: unsupported' — GitHub-hosted runners don't expose the Apple Virtualization capability it needs. Keep the integration job as the CI gate; the vm label is local/self-hosted only (task test:e2e:vm).
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Superseded by #3 (squashed to a single conventional commit; ruleset blocks updating an existing PR branch). |
Summary
Adds an end-to-end test suite and CI for the OrbStack provider (both macOS-based, since the provider binary is darwin-only).
integrationlabel (manifest generation + provider-binary error handling; no OrbStack needed) andvmlabel (full workspace lifecycle on a real OrbStack machine, withDeferCleanup). Alpine fixture;Taskfiletargetstest:e2e/test:e2e:vm.tests.yaml): anintegrationjob onmacos-15(hardened:contents: read,persist-credentials: false).Validated locally (macOS + real OrbStack)
integration: 4/4 (also green in CI on macos-15)vm: 3/3 (~3.5 min: isolated ubuntu machine, docker provisioned, alpine devcontainer up/exec/delete)Why
vmisn't in CIOrbStack installs on GitHub's macOS runners but
orbctl startpanics withvm config get max ipa size: unsupported— the runners don't expose the Apple Virtualization capability OrbStack needs. Sovmis documented as local/self-hosted-only (task test:e2e:vm) and CI runs theintegrationgate.