Skip to content

chore: Move kubernetes-agent and polly codebases to go/#3266

Draft
maciaszczykm wants to merge 53 commits intomasterfrom
marcin/prod-4459-all-codebases-should-have-docker-compose-files-capable-of
Draft

chore: Move kubernetes-agent and polly codebases to go/#3266
maciaszczykm wants to merge 53 commits intomasterfrom
marcin/prod-4459-all-codebases-should-have-docker-compose-files-capable-of

Conversation

@maciaszczykm
Copy link
Member

@maciaszczykm maciaszczykm commented Feb 26, 2026

Both repos can be archived after it is merged.

TODO:

  • Change polly import paths
  • Add release targets for polly
  • Use single linter action (check performance, fail on errors)
  • Use single build action to check if all workspace modules compile (?)

Test Plan

Tested kubernetes-agent image on plural-dev-aws. Kubernetes Dashboard view works fine.

Checklist

  • If required, I have updated the Plural documentation accordingly.
  • I have added tests to cover my changes.
  • I have added a meaningful title and summary to convey the impact of this PR to a user.

Plural Flow: console

@linear
Copy link

linear bot commented Feb 26, 2026

@socket-security
Copy link

socket-security bot commented Feb 26, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgo.uber.org/​mock@​v0.6.071100100100100
Addedgithub.com/​gin-gonic/​gin@​v1.10.071100100100100
Addedsigs.k8s.io/​controller-runtime@​v0.22.473100100100100
Addedk8s.io/​apiextensions-apiserver@​v0.34.274100100100100
Addedk8s.io/​apimachinery@​v0.33.074100100100100
Addedk8s.io/​apimachinery@​v0.34.274100100100100
Addedk8s.io/​kubectl@​v0.34.275100100100100
Addedk8s.io/​apiserver@​v0.34.275100100100100
Addedgoogle.golang.org/​grpc@​v1.77.075100100100100
Addedk8s.io/​client-go@​v0.34.27510010075100
Addedgoogle.golang.org/​protobuf@​v1.36.1075100100100100
Addedgo.opentelemetry.io/​otel@​v1.38.075100100100100
Addedgithub.com/​satori/​go.uuid@​v1.2.010010010075100
Addedgopkg.in/​igm/​sockjs-go.v2@​v2.1.08610010075100
Addedgithub.com/​getsentry/​sentry-go@​v0.39.076100100100100
Addedk8s.io/​api@​v0.34.276100100100100
Addedgo.opentelemetry.io/​contrib/​instrumentation/​net/​http/​otelhttp@​v0.63.088100100100100
Addedgithub.com/​coder/​websocket@​v1.8.1488100100100100
Addedgithub.com/​redis/​rueidis@​v1.0.6894100100100100
Addedgithub.com/​stretchr/​testify@​v1.10.096100100100100
Addedk8s.io/​cli-runtime@​v0.34.297100100100100
Addedgo.opentelemetry.io/​otel/​exporters/​otlp/​otlptrace/​otlptracehttp@​v1.38.098100100100100
Addedgithub.com/​Yiling-J/​theine-go@​v0.6.098100100100100
Addedgithub.com/​pluralsh/​console/​go/​client@​v1.56.010010010010070
Addedgithub.com/​go-openapi/​spec@​v0.21.09810010010080
Addedgithub.com/​alicebob/​miniredis/​v2@​v2.35.098100100100100
Addedgithub.com/​envoyproxy/​protoc-gen-validate@​v1.2.199100100100100
Addedgithub.com/​grpc-ecosystem/​go-grpc-middleware/​v2@​v2.3.399100100100100
Addedgithub.com/​emicklei/​go-restful-openapi/​v2@​v2.11.099100100100100
Addedgithub.com/​pluralsh/​polly@​v0.3.599100100100100
Addedgoogle.golang.org/​genproto/​googleapis/​rpc@​v0.0.0-20251124214823-79d6a2a4884699100100100100
Addedgolang.org/​x/​sync@​v0.18.099100100100100
Addedgo.opentelemetry.io/​contrib/​instrumentation/​google.golang.org/​grpc/​otelgrpc@​v0.63.0100100100100100
See 8 more rows in the dashboard

View full report

@maciaszczykm maciaszczykm changed the title chore: Reogranize codebase chore: Move kubernetes-agent codebase to go/kubernetes-agent Feb 26, 2026
@maciaszczykm maciaszczykm added the enhancement New feature or request label Feb 26, 2026
@maciaszczykm maciaszczykm changed the title chore: Move kubernetes-agent codebase to go/kubernetes-agent chore: Move kubernetes-agent and polly codebases to go/ Feb 27, 2026
@maciaszczykm maciaszczykm requested a review from Copilot February 27, 2026 12:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR moves the kubernetes-agent and polly codebases from their original locations to a new go/ directory structure, consolidating all Go projects in a single monorepo pattern.

Changes:

  • Relocated kubernetes-agent API implementation to go/kubernetes-agent/api/
  • Relocated polly to go/polly/
  • Updated Go workspace configuration to include the moved modules
  • Updated repository references in charts and workflows
  • Cleaned up and standardized .gitignore files across multiple modules

Reviewed changes

Copilot reviewed 177 out of 819 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go/kubernetes-agent/api/pkg/**/*.go New API implementation files for kubernetes-agent including resource management, client caching, integration handlers, and CSRF middleware
go/go.work Updated workspace to include kubernetes-agent/api, kubernetes-agent/kas, and polly modules
go/**/.gitignore Consolidated .gitignore files removing redundant IDE and OS-specific patterns
.github/workflows/*.yaml Added CI workflows for polly and Trivy security scanning
charts/kas/templates/deployment.yaml Updated repository URL from kubernetes-agent to console repository
.editorconfig Added editor configuration for consistent code formatting across Go, YAML, and other file types

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maciaszczykm
Copy link
Member Author

@greptileai

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 27, 2026

Too many files changed for review. (819 files found, 500 file limit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants