chore(delivery): add deprecation notices to LegacyShellDelivery#268
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR adds deprecation markers for legacy shell delivery components across the codebase and wires a configurable ChangesLegacy Shell Deprecation and Helper Image Support
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
60a9c77 to
ab8a127
Compare
76d575b to
effc84c
Compare
effc84c to
ad70074
Compare
✅ Deploy Preview for devsydev canceled.
|
…nject.sh Mark LegacyShellDelivery, its exported methods, ExecFuncFromDriver, and the inject.sh/inject.go types and functions with Deprecated godoc comments pointing to platform-native AgentDelivery implementations (LocalDockerDelivery, RemoteDockerDelivery, KubernetesDelivery). Add a runtime deprecation warning via log.Warnf in the delivery factory whenever LegacyShellDelivery is selected. No code removed — everything remains fully functional.
8aee9aa to
d71afa0
Compare
Summary
// Deprecated:godoc comments to LegacyShellDelivery struct, all exported methods, and ExecFuncFromDriver inpkg/agent/delivery/legacy_shell.go// Deprecated:godoc comments to Script, ExecFunc, LocalFile, InjectOptions, and Inject inpkg/inject/inject.gopkg/inject/inject.shlog.Warnfdeprecation warnings inpkg/agent/delivery/factory.gofor all code paths that select LegacyShellDeliveryStacked on PR #267 (
f5d9-cf0b-ws-b-k8s-delivery).Summary by CodeRabbit
Deprecations
New Features