refactor(box): drop the dead userId field from the runner payload#757
Conversation
userId was a required-but-unused field in the runner CreateBoxDTO/RecoverBoxDTO — nothing reads it; the runner keys off organizationId. Removed from the Go DTOs + stub, the v2/v0 adapter payloads, the generated runner-api-client DTOs, and the swagger docs (json/yaml/docs.go). Auth/User userId is untouched.
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
💤 Files with no reviewable changes (7)
📝 WalkthroughWalkthroughRemoves the ChangesBox creation and recovery userId removal
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
userId was a required-but-unused field in the runner CreateBoxDTO/RecoverBoxDTO — nothing reads it; the runner keys off organizationId. Removed from the Go DTOs + stub, the v2/v0 adapter payloads, the generated runner-api-client DTOs, and the swagger docs (json/yaml/docs.go). Auth/User userId is untouched.
Summary by CodeRabbit
userIdfield from box creation and recovery operations, streamlining the API request structure.