Repository navigation
v0.1.2
Fixes from the first two teams on 0.1.1: the Kubernetes Secret namespace, batch-can object
fields, registration of a fragment without the company anchor and the grants rule for other apps'
types; plus trusted publishing, the release gate off the advisory feed, and the glue scripts
reduced to one Go tool.
-
Kubernetes: the overlays set
namespace: kiban, the generated and example Secrets carry it, andmake k8s-checkfails on any rendered resource outside it; in 0.1.1 the Secret moved to the overlay without a namespace, landed in the kubeconfig's current one, and every pod waited on it -
batch-canechoes each result'sobjectas{type, id}again; 0.1.1 wrote the Go field namesType/ID, so the Node and Python SDKs returned an empty object on every row (decisions were right; the Go SDK was unaffected because its decoder matches field names case-insensitively); the OpenAPI object reference is now exactly{type, id}and the live OpenAPI run validates it -
App registration refuses a fragment whose object type lacks the
company_moduleanchor with422, nothing stored; before, it registered and every authorization check for every module failed once the app was enabled, because authz validates the anchor only when it loads the fragment -
Grants: an app's service account that is a member of a company can no longer write tuples on another app's object types there; a non-owner app needs the company's
adminrelation (403 COMPANY_ROLE_REQUIREDotherwise), the superadmin exception and the owning app's own types are unchanged -
Release gate no longer runs the advisory scan at the tag (
make check VULNCHECK=0);govulncheckstays on every PR and runs weekly (vulncheck.yml), opening asecurityissue on a finding, so a release never races the advisory feed -
API docs pages load Redoc from Redocly's CDN through one pinned, integrity-checked
<script>instead of inlining the bundle intodocs/api/*.html; the backend SDK trims the gateway origin's trailing slashes without a regex; the remaining code-scanning alerts were triaged with a written reason each -
SDKs publish to npm and PyPI by trusted publishing (OIDC from
release.yml); theNPM_TOKENandPYPI_APIKEYsecrets are no longer read and can be deleted once the publishers are registered on npmjs.com and pypi.org -
The nine manual proof scripts (
infra/e2e-*.sh,modules/*/curl-proof.sh, the restart-survival proof, org'ssmoke.sh) are removed; the-tags liveGo tests and the Playwright suites cover those journeys in the gate. The Python SDK's build output is no longer tracked -
One developer tool,
go run ./tools/dev <subcommand>, replaces the five gate and generator scripts (coverage-gate.sh,kustomize-check.sh,license-scan.sh,pin-images.sh,gen-quickstart-compose.sh),build-api-docs.mjs,cmd/modvalidateand the threetools/*/cmdbinaries; everymaketarget is one line and nothing is CI-only -
No shell in the images: the migrate job and bootstrap set database role passwords over the wire (
go run ./tools/dev migrate,internal/dbrole), the gateway generates its own self-signed development certificate (KIBAN_TLS_SELF_SIGNED_DIR; nogateway-devcertimage, 12 images), the two Postgres init scripts are one, anddeploy/k8s/kiban.sh secrets|applyreplacesgen-secrets.shandapply.sh -
Full changelog: https://github.com/rosschiu/kiban/blob/v0.1.2/CHANGELOG.md
-
Known limitations: https://rosschiu.github.io/kiban/limitations/