refactor(arch): finish standardplugins split — remove pluginreg/standardbundle shim and types.go alias#117
Conversation
…ardbundle shim and types.go alias Complete the Phase 3 registry split by removing the remaining transitional indirection: - Delete internal/pluginreg/standardbundle/ and switch the composition root (runtimebundle bootstrap_plan.go) to standardplugins.InstallStandardBundleOn. - Delete internal/standardplugins/types.go and qualify all registry types as pluginreg.X (Registry, BackendFactory, BackendSecurityProfile, etc.). - Update pluginreg package doc to state it is the registry mechanism only. - Update all standardplugins tests to use pluginreg.Registry directly. - Allow runtimebundle/bootstrap_plan.go as the single composition-root call site for InstallStandardBundleOn in the architecture guardrail test. No behavior change; purely boundary/ownership cleanup. Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (32)
💤 Files with no reviewable changes (4)
📜 Recent review details⏰ Context from checks skipped due to timeout. (1)
🧰 Additional context used📓 Path-based instructions (4)**/*.go📄 CodeRabbit inference engine (Custom checks)
Files:
⚙️ CodeRabbit configuration file
Files:
**/*📄 CodeRabbit inference engine (Custom checks)
Files:
internal/**⚙️ CodeRabbit configuration file
Files:
**/*_test.go⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (1)📚 Learning: 2026-07-01T22:57:42.953ZApplied to files:
🔇 Additional comments (28)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR relocates standard plugin distribution tables from ChangesStandard plugin registry relocation
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 8✅ Passed checks (8 passed)
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 |
Append a daily-log entry recording the merge activity this session: architecture-review cleanup triaged into #117-#121, Dependabot bumps #122/#123 (with the aws-sdk-go-v2 go.sum conflict resolved by Dependabot auto-rebase), and 3 obsolete stashes dropped. No wiki page changes needed — pages are current; this is a log append only. Co-authored-by: Cursor <cursoragent@cursor.com>
Completes the remaining Phase 3 registry-split cleanup from the architecture review resolution plan.
What changed
internal/pluginreg/standardbundle/shim.internal/standardplugins/types.goand qualified all registry types aspluginreg.X(Registry,BackendFactory,BackendSecurityProfile,FrontendMount,FeatureFactory, etc.).runtimebundle/bootstrap_plan.goto callstandardplugins.InstallStandardBundleOndirectly.pluginregpackage doc to clarify it is the registry mechanism only.standardpluginstests to usepluginreg.Registrydirectly.internal/archtest/guardrails_test.goso thatruntimebundle/bootstrap_plan.gois the single allowed composition-root call site forInstallStandardBundleOn.Verification
go test ./internal/archtest/... ./internal/standardplugins/... ./internal/infra/runtimebundle/... ./internal/core/config/...passes.This is the first of several PRs splitting the post-review cleanup changes on the local working tree.