Repository navigation
v5.5.0
A gate that checked nothing fails. CI, /component:build and /component:ship read a green gate as "verified", but a test runner that ran 0 tests, kubeconform over an empty build, a render check that compared no files or a secrets scan over an empty file list passed (#285, spec 130, ADR-074). Behaviour change: every covered gate (test, test-fast, validate, render-check, secrets-scan) in every template now counts what the tool reported and fails on 0 with <gate>: checked nothing: <0 tests ran | 0 resources | 0 files compared | 0 files to scan> - <how to fix>. A repo with 0 tests, only skipped tests, an empty build or no files to scan turns red after /platform:update; the fix is to add at least one test or make the build non-empty. There is no opt-out. Also: gitops-app validate now stops at its first failing step, Go tests run with -v (the count comes from the result lines), and a package.json test script with its own --reporter makes the web gate fail. Nothing breaks the CLI or the plugins: the release is a minor.
/platform:release. The platform was released by hand along CONTRIBUTING.md, Releases: ten steps, two of them irreversible (#296). /platform:release [--version X.Y.Z] [--dry-run] (cplat platform release) now does it: it checks the tree and the versions, moves [Unreleased] under the new heading, opens the release PR, waits for its CI, merges, tags and publishes the GitHub release. It stops twice for your yes (CONFIRM: merge, CONFIRM: tag, continued with --confirm merge|tag) and keeps no state file: it reads its progress from git and GitHub, so running it again resumes. /component:release still refuses in this repo and now names the new command.
Plugins: platform 1.4.0, component 1.5.3.
cplat feedback keeps the details readable. The details file went into the issue inside one plain code fence, so a fence in the details closed it early and broke the rest of the issue; and a secret-like key whose value said it was unset (# secretStore: (unset)) had that value redacted, or, with no value at all, the first word of the next line (#262). The fence is now longer than any backtick run in the details; unset, (unset), null, none, n/a, ~ and an empty string stay readable; only a value on the same line is redacted. Every real value under a secret-like key is still redacted.
/platform:update re-renders a cluster repo. The update re-applied the cluster template but left cluster/ (the render's output) as it was, so a renderer change made the review branch fail its own render-check (#264). For a cluster repo the update now runs the updated scripts/render.py and commits what changed in cluster/ with the update; the report names the count. A cluster.yaml the new render rejects stops the update with the render's message. System repos are re-rendered by the update since 5.4.0.
Deploy confirms an external Helm component. /component:ship escalated in phase deploy for a component with an external: {helm: …} entry: Argo CD reports no summary.images for its app, so the deploy check saw "runs nothing" although the Deployment ran the merged build (#251). When an app reports no images, the check now reads the pod templates of the workloads it manages, through the managed <svc>-<env>-chart Application one level down, and smoke and promotion continue as for any other component.
/system:set --operators owner|install. Handing a system's operators to a cluster repo (environments.<env>.operators: owner, what a cluster's check asks for) meant editing system.yaml by hand (#264). /system:set --env <env> --operators owner sets the key and renders; --operators install removes it, so the system installs its operators again.
Plugins: system 1.6.0.
/cluster:new takes the cluster's properties. cplat cluster new wrote cluster.yaml with every default, so setting the API server, the operators or the secret store took a second edit, render and PR (#259). It now takes --server <url>, --operators <a,b> and --secret-store <name>, checks them as the cluster render does (an unknown or repeated operator, a server that is not an http(s) URL, a store without external-secrets) before anything is created, writes them into cluster.yaml, and with operators renders cluster/operators/ before the first commit. Without the flags nothing changes.
Operator applications stay Synced. operator-kyverno stayed OutOfSync / Healthy forever: the chart renders empty annotations: {} / labels: {} on its CRDs, the API server drops them, and Argo CD's default client-side diff kept reporting the difference (#261). Every operator Application (system repos' operators/ and cluster repos' cluster/operators/) now carries argocd.argoproj.io/compare-options: ServerSideDiff=true, so Argo CD compares against what the server applied. Action: run /platform:update in system and cluster repos; the render adds the annotation.
cluster add checks the system before it opens a PR. cplat cluster add (and its --dry-run) opened a PR for a system that the cluster repo's own check rejects right away, for example one whose environments would install operators themselves (#263). It now runs the cluster repo's scripts/check.py with the system added and puts cluster.yaml back; when the check names a problem of that system (set environments.<env>.operators: owner in <repo>, an operator cluster.yaml does not list), it stops with those lines and changes nothing. Problems of other registered systems do not stop it.
Plugins: cluster 1.1.0.
An amended spec with a plan can be approved again. Amending a planned spec changes its criteria, so its plan no longer covered them; cplat spec approve refused because of the plan, and /component:plan only plans an approved spec, so the amend flow could not finish (#208). Approval now checks the spec on its own and moves a plan written for other criteria aside to plan.v<k>.md (it says so and names /component:plan <NNN> as the next step); cplat spec check no longer checks the old plan of an amended draft. /component:spec approve commits the set-aside plan with the spec.
Plugins: component 1.5.2.
cplat pr wait ignores a replaced run while the newer one is queued. A second CI run on the same commit (a label on gh pr create, a PR body edit) cancels the first; its cancelled jobs and failed ci-success made the wait red although the newer run was only queued and later passed (#244, #282). The wait now also reads the head commit's workflow runs, queued ones included, and counts only the newest run of each workflow.
Fixed
A generated password no longer drifts from the running server (#316). A cache or broker could answer WRONGPASS (cache) or an authorization error (broker) until the server restarted, because the password in its Secret was no longer the one the server had started with; a forced refresh also rewrote bucket keys and generate: values of components. This hit in-cluster caches and brokers (since 5.4.0), in-cluster buckets and the generated secrets of components (since they were introduced). Each credential is now written once: a credentials Job per owner creates each Secret if it is absent and keeps an existing one, and a server that refuses its Secret's password restarts once (spec 128, ADR-072). An existing system has nothing to do: /platform:update and the next sync keep every existing password and key, and the change list says so per resource type.
Versions (cplat platform versions --diff v5.4.0 --changelog):
credentials-job3.13.18-alpine3.24 (new)