-
-
Notifications
You must be signed in to change notification settings - Fork 278
refactor: reorganize and update protobuf files and configurations #2536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughConsolidates linting/tooling config, upgrades Go and tools, refactors embedded config fields into named fields, standardizes error wrapping and explicit returns, adjusts balancer/context key and Postgres plan-cache handling, removes the tools module, and applies many small formatting and micro-optimizations. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant Make as Makefile
participant Tool as Go Tooling
participant CI as GitHub Actions
participant Serve as serve command
participant CFG as Config loader
participant BAL as Balancer
Dev->>Make: make format / lint-all / release
Make->>Tool: go tool gofumpt / go tool golangci-lint / go test
Dev->>CI: push -> workflow (Go 1.25.1)
Dev->>Serve: permify serve
Serve->>CFG: Load config (named fields: Server.HTTP, Server.GRPC)
Serve->>BAL: NewCheckEngineWithBalancer(cfg.Server.NameOverride)
BAL-->>Serve: Engine instance
Serve-->>Dev: Server started
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Chores
Build/Dependencies
Refactor
Tests
Performance