hanahmily opened a new pull request, #1214: URL: https://github.com/apache/skywalking-banyandb/pull/1214
Part of apache/skywalking#13634 ## What this delivers PR1 of the trace-pipeline plugin packaging & developer-tooling work: - **Packaging** — an in-repo `plugins/skywalking/` source home; a CGO/dynamic, slim (no-UI) `-plugins` **host** image on `gcr.io/distroless/base-debian12` (empty `/plugins`) and a busybox `-plugins-carrier` **carrier** image (the `.so`), both under the single `apache/skywalking-banyandb` repo distinguished by tag, built lockstep at the same `<sha>`. Plugins are delivered by **mounting** the carrier at `/plugins` (OCI image-volume or initContainer). The default static image is unchanged (asserted in CI). - **Dev toolkit** — additive SDK helpers (`EncodeTagValue`/`OpenSampler`/`EvaluateChain`+`BypassInfo`; no ABI bump) with a behavior-preserving engine refactor; the `pkg/pipeline/sdk/sdktest` offline kit (fixture builder + differential projection guard + chain harness); a conformance golden test. - **Kind ship-gate** — `test/plugin-sidecar` proves the CGO host + carrier-mount works in real Kubernetes (banyandb images only); runs in CI on plugin-touching PRs. - **CI** — a separate, isolated job in `publish-docker.yml` builds/pushes both plugin images (multi-arch) on `main`. ## Documentation - **Development Guide (start here):** [docs/operation/plugins-development.md](https://github.com/hanahmily/skywalking-banyandb/blob/plugin-packaging/docs/operation/plugins-development.md) - **Packaging & Deployment:** [docs/operation/plugins.md](https://github.com/hanahmily/skywalking-banyandb/blob/plugin-packaging/docs/operation/plugins.md) - **Debugging (offline):** [docs/operation/plugins-debugging.md](https://github.com/hanahmily/skywalking-banyandb/blob/plugin-packaging/docs/operation/plugins-debugging.md) - **Plugin contract / source home:** [plugins/README.md](https://github.com/hanahmily/skywalking-banyandb/blob/plugin-packaging/plugins/README.md) ## Verification - `make lint`, `make check` green; `go build ./...`; `banyand/trace` suite (plain + `-race`); sdk/sdktest/plugins; conformance golden test. - Kind ship-gate **PASSED** on the distroless+slim host (pod boots, carrier delivers the `.so`, plugin loads). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
