Repository navigation
chore: split audit-syslog-bridge, tunnel and capture-sidecar into submodules; remove svcutil - #995
Conversation
…ules; remove svcutil audit-syslog-bridge, tunnel and capture-sidecar now live in their own GameplanePanel repositories (full history) and are checked out here as submodules at the same paths, like mcp-server. svcutil had no importers and is removed. .gitmodules is the one list of split components (component = true). hack/submodules.sh reads it for CI init steps, Makefile image rules and deploy/kind/e2e.sh, and checks the static workflow path filters name every component. ci_scope.py derives its component ids from it, and the freshness check covers every gitlink with its .gitmodules url and branch. .github/workflows/go-component.yaml is the shared CI the component repos call (lint with this repo's .golangci.yml and .hadolint.yaml, race tests on amd64 and arm64 with the coverage gate, govulncheck, image build). The hadolint download moves to .github/actions/install-hadolint so both use one pin. test/e2e/suite-components.json drops the svcutil unexercised entry (signed off by the maintainer). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
AGENTS.md, README, contributing, dependencies, layout, agent and architecture docs, the ci-triager agent, the submodule-bump skill and CodeRabbit path rules now describe audit-syslog-bridge, tunnel and capture-sidecar as submodules like mcp-server, with hack/submodules.sh and the shared go-component workflow. Links into the moved folders that the doc gates audit point at the component repos on GitHub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
|
Important Review skippedToo many files! This PR contains 119 files, which is 19 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
CI Report - e6762edrun 44150046886 - attempt 1 0 failed - 33 passed - 0 skipped - 52m40s elapsed Test selection: full (selection-rule change) - per-suite table Coverage
Changed
Slowest jobs
e2e buckets run
|
A reusable workflow can't run a composite action from its own repo by path in the caller's checkout, and master doesn't have the action yet, so the component lint jobs failed. Keep the pinned download inline in go-component.yaml and leave ci.yaml's workflow-lint step as it was. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Dropping tunnel from go.work removed the tailscale requirement that raised the workspace's controller-tools to v0.22.0, so controller-gen fell back to operator's own v0.20.1 and regenerated the CRDs differently. Require v0.22.0 in operator/go.mod, the version the committed CRDs were generated with. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…nt-repos Signed-off-by: Claude <noreply@anthropic.com> # Conflicts: # tunnel/Dockerfile.frp # tunnel/Dockerfile.playit # tunnel/Dockerfile.tailscale # tunnel/go.mod # tunnel/go.sum # tunnel/specs.md # tunnel~HEAD
tunnel picks up tunnel#1 (shared CI, tailscale.com v1.104.7 and Go 1.27.4 carried over from #982). audit-syslog-bridge#1 and mcp#1 add each repo's CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
capture-sidecar#1 adds that repo's shared CI; mcp#2 moves mcp onto the shared go-component workflow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
…nt-repos Signed-off-by: Claude <noreply@anthropic.com> # Conflicts: # audit-syslog-bridge/specs.md # audit-syslog-bridge~HEAD # capture-sidecar/specs.md # capture-sidecar~HEAD # docs/agent-architecture.md # docs/dependencies.md # docs/layout.md # tunnel/specs.md # tunnel~HEAD
Summary
audit-syslog-bridge/,tunnel/andcapture-sidecar/move to GameplanePanel/audit-syslog-bridge, GameplanePanel/tunnel and GameplanePanel/capture-sidecar with their full history (35, 109 and 58 commits, trees identical to this repo's folders). They come back as submodules at the same paths, pointing at each repo'smain. Dockerfiles, bake file, chart and image names don't change, and the images are still built and published here.svcutil/is removed. It had no importers.One list of split components
.gitmodulesis the list: each component entry carriescomponent = true(mcp-server included). Everything reads it, so the next split is one.gitmodulesentry:hack/submodules.sh:initchecks out every component, used by build-e2e-images, workflow-lint, capture-sidecar-setcap-proof, publish-edge and release (this replaces the per-imageif mcp-serversteps from chore: move mcp-server to the GameplanePanel/mcp submodule #993).ensure <path>is used by the Makefile image rules anddeploy/kind/e2e.sh.checkfails CI when a component is missing from a static workflow path filter (e2etree,submodules,github, publish-edge, devcontainers), because GitHub can't read.gitmodulesthere. It runs insubmodule freshness.hack/ci_scope.pyderives its component ids and known dirs from.gitmodules, so a pointer bump selects the same e2e suites as before (the ids are unchanged).hack/check-submodule-freshness.shchecks every gitlink plus every.gitmodulespath, using each entry's own url and branch. Its hardcoded pairs are gone, and env overrides becomeSUBMODULE_URL_<PATH>. The existing self-test is unchanged and still covers it.Shared CI for the component repos
.github/workflows/go-component.yamlis a reusable workflow. Each component repo calls it from a ~20-lineci.yaml, pinned by SHA: audit-syslog-bridge#1, tunnel#1, capture-sidecar#1, mcp#2. It runs gofmt, go vet, golangci-lint with this repo's root.golangci.yml, hadolint with.hadolint.yaml, race tests on amd64 and arm64 with each repo's.testcoverage.ymlgate, govulncheck (also weekly) and the image build. No component carries a copied lint config (mcp#2 deletes its copy), so R-010 needs no change. The pinned hadolint download is repeated once in that workflow (same release and checksum asworkflow-lint), because a reusable workflow cannot run a local action from this repo. The tunnel relay profile step moves to the tunnel repo.Other changes here
go.work,GO_MODULES, thelint/gomatrices anddependabot.ymldrop the four modules (Dependabot runs in each repo now).go.work.sumgains one line.hack/gen-devcontainers.py).check-links/check-doc-versionsdropaudit-syslog-bridge/README.md. Links to it in audited docs point at GitHub.operator/go.modrequires controller-tools v0.22.0, the version the committed CRDs were generated with. tunnel's tailscale dependency used to raise it throughgo.work; without tunnel there, controller-gen fell back to v0.20.1 and the codegen drift check failed.tunnelpointer includes ci: add shared CI and Dependabot tunnel#1, which carries over chore(deps)(deps): Bump tailscale.com from 1.104.5 to 1.104.7 in /tunnel in the tunnel-minor-patch group #982 (tailscale.com v1.104.7, Go 1.27.4). chore(deps)(deps): Bump tailscale.com from 1.104.5 to 1.104.7 in /tunnel in the tunnel-minor-patch group #982 merged into the oldtunnel/folder after the split. The audit-syslog-bridge and mcp-server pointers also move to their merged CI PRs.test/e2e/suite-components.jsondrops thesvcutilunexercised entry. No other test files changed.Local checks:
go build ./...in every go.work module,GOWORK=off go build ./...in each new submodule,hack/submodules.sh check,hack/check-submodule-freshness.sh,hack/check-publish-edge-paths.sh,hack/gen-devcontainers.py, YAML parse of every edited workflow.