cloudivisiondocs
cloudivision documentation

Gate date: 2026-08-23

Summary

The v0.2.0 candidate is ready to ship as an alpha release with known issues. The static gates pass, the chart installs on a clean Kubernetes 1.36 kind cluster, all control-plane deployments become Available, API-backed conformance passes, the documented dogfood BuildRun succeeds, the live lifecycle upgrade preserves custom resources, and the limited scale run reaches 10/10 terminal BuildRuns.

The gate initially found a release-critical CRD incompatibility: Kubernetes 1.36 rejected four scalar-list schemas emitted as uniqueItems: true. The list fields now use atomic server-side-apply semantics, generated and chart CRDs were updated, and a security regression check rejects future quadratic schemas. Clean install and all affected live gates passed after the fix.

This recommendation does not make the default chart production-ready. OIDC, rootless BuildKit plus a real registry, an external writable GitOps repository, and the selected optional providers still require environment-specific validation.

Recommendation: ship v0.2.0 with known issues.

Gate result

Area Result Evidence
Go formatting, tests and vet PASS go test ./... and go vet ./... passed, including API, controller, runner, conversion, admission, plugin, SDK and example-contract tests.
Web install and dependency audit PASS WITH KNOWN ISSUES npm ci passed. Full audit reports six development-only findings (three moderate, three high); npm audit --omit=dev --audit-level=high reports zero production findings.
Web build and tests PASS WITH WARNING Production build passed and 28/28 ChromeHeadless tests passed. The initial bundle is 501.63 kB, 1.63 kB above the warning budget and below the error budget.
OpenAPI and SDKs PASS make sdk-check confirmed route parity, deterministic generated clients, Go compilation and TypeScript compilation.
Helm render and security PASS Chart rendered with CRDs; six security checks passed for privilege, Docker socket, hostPath, Pod security context, CRD complexity and RBAC.
Clean Kubernetes install PASS AFTER FIX Kubernetes 1.36 initially rejected four uniqueItems schemas. After the atomic-list fix, controller, API and web reached 1/1 Available with zero restarts.
Conformance PASS WITH ONE SKIP API-backed suite: 5 passed, 0 failed, 1 skipped. Manual success/failure, duplicate Job protection, signed/idempotent GitHub webhook and GitOps Release creation passed; the external Git commit assertion had no writable repository.
Dogfood first build PASS demo-buildrun-manual reached Succeeded; its runner log showed source verification and clean completion.
Upgrade lifecycle PASS WITH LIMITATION Live install, BuildRun, CRD apply, Helm upgrade, second BuildRun and uninstall-retention passed. It was a same-code lifecycle test, not a published v0.1.0 chart-to-v0.2.0 rehearsal.
Limited scale PASS WITH SKIPS 10/10 BuildRuns became terminal in 16 seconds. Metrics-server and API latency sampling were unavailable.
Image build and registry PASS AT UNIT BOUNDARY BuildKit argument, input, timeout, bounded failure, credential, push and digest behavior is covered by Go tests. A local unprivileged example image built successfully, but the gate did not exercise rootless BuildKit against an authenticated registry.
Webhooks PASS Unit coverage verifies signatures, invalid-payload rejection, branch/PR filters and replay handling; live API conformance verified signed GitHub delivery idempotency.
GitOps and Releases PASS WITH EXTERNAL SKIP Helm-values, Kustomize/raw YAML, Release state transitions, idempotency and provider behavior are unit tested; live conformance created a Release, while the external commit was skipped.
UI workflows PASS The 28 tests cover dashboard, first-run, repositories, templates, BuildRun diagnostics/logs, releases, providers and plugins; production compilation passed.
Security model PASS WITH DEPLOYMENT CONDITIONS Threat models, least-privilege RBAC, webhook verification, secret redaction, resource limits and rendered workload checks pass. Auth-disabled remains development-only.
Release metadata PASS VERSION, Helm chart version/appVersion, OpenAPI metadata, docs and changelog are aligned to 0.2.0.
Release artifact smoke test PASS A reduced local build produced API/controller/runner, Linux CLI, web, chart, CRD and manifest artifacts; all eight checksums verified. Full platform/signing/SBOM work remains in tag CI.

Critical blockers

None remain for publishing v0.2.0 as an alpha release.

The following critical findings were resolved during the gate and retested:

High-priority blockers

There are no high-priority blockers to the alpha publication. Before describing v0.2 as production-ready, the release owner must complete these environment gates:

Non-blocking known issues

Post-gate release preparation

Before the release tag, the CLI rollback subcommand was wired to the existing v0.2 API endpoint and covered by a request-contract unit test. The CLI now creates an auditable rollback Release with an explicit target, actor, and reason; server policy still controls whether that rollback is allowed.

Commands and results

Static and application gate:

mise exec -- go test ./...                                  PASS
mise exec -- go vet ./...                                   PASS
npm --prefix web ci                                         PASS (6 dev-only findings)
npm --prefix web run build                                  PASS (1.63 kB budget warning)
npm --prefix web test -- --watch=false                      PASS (28/28)
npm --prefix web audit --omit=dev --audit-level=high        PASS (0 findings)
helm template cloudivision charts/cloudivision --include-crds PASS
make security-check                                         PASS (6/6)
make sdk-check                                               PASS
make upgrade-test                                            PASS (static; live skipped)
SCALE_SCENARIO=limited make scale-test                      PASS (10 generated; live skipped)
git diff --check                                             PASS

Example gate:

cd examples/go-api && go test ./...                         PASS
cd examples/node-api && npm test                            PASS
cd examples/python-fastapi && python -m unittest ...        PASS
cd examples/angular-app && npm test ... && npm run build    PASS (1/1)
cd examples/dockerfile-only && sh test.sh                   PASS
docker build -t cloudivision-example-dockerfile:local .     PASS
cd examples/helm-release && sh test.sh                      PASS
cd examples/kustomize-release && sh test.sh                 PASS
go test ./test/examples                                     PASS (8/8 typed manifests)

Clean-cluster and live gate:

kind create cluster --name cloudivision-v02-gate            PASS (Kubernetes 1.36)
./hack/kind-load-images.sh (IMAGE_TAG=gate-v02)              PASS (4 images)
./hack/install-dev.sh                                        FAIL (quadratic CRD schemas)
make security-check                                          PASS after CRD fix
./hack/install-dev.sh                                        PASS after CRD fix (3/3 deployments)
CONFORMANCE_API_BASE_URL=http://127.0.0.1:18082 make conformance PASS (5 pass, 0 fail, 1 skip)
kubectl apply -f deploy/examples/...                         PASS
kubectl wait ... buildrun/demo-buildrun-manual               PASS (Succeeded)
UPGRADE_TEST_LIVE=true ... make upgrade-test                 PASS
SCALE_TEST_LIVE=true SCALE_SCENARIO=limited ... make scale-test PASS (10/10, 16s)

Release packaging smoke test:

RELEASE_ALLOW_DIRTY=true RELEASE_SKIP_CHECKS=true \
  RELEASE_GENERATE_SBOM=false RELEASE_CLI_PLATFORMS=linux/amd64 \
  ./scripts/release/build-local.sh 0.2.0                       PASS
cd dist/release/v0.2.0 && sha256sum --check SHA256SUMS         PASS (8/8)

Goal review

  1. Image build: BuildKit request construction, credential projection, push diagnostics and digest capture pass tests. Live rootless BuildKit plus a real registry remains an explicit post-alpha environment gate.
  2. Webhooks: signature verification, idempotency, filters and invalid delivery rejection pass unit coverage; signed/idempotent GitHub delivery passes live.
  3. GitOps: strategies and Release state transitions pass unit coverage and live Release creation; external repository mutation remains unverified here.
  4. UI: debugging, logs, first-run and repository onboarding build and pass the Angular test suite.
  5. Security: rendered security and RBAC checks pass, threat models are current, and redaction is covered. Production auth and external providers still require deployment-specific validation.

Final decision

Ship v0.2.0 with known issues and retain the alpha label. Protect publication on CI, production dependency audit, chart/security checks, immutable artifacts, SBOM/provenance/signing, and release-owner review of the unresolved external BuildKit/registry and GitOps environment gates.

Start typing to search the documentation.