feat: add parent to work item comment models - #71
Conversation
The v1 API accepts parent on comment create (a top-level comment on the same work item to reply to) and returns it on read, but the SDK models did not declare it; with extra="ignore" the field was silently dropped.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe work item comment models now support optional parent comment IDs. Comment creation requests can identify the top-level comment that the new comment replies to. The package version changes to ChangesWork item comments
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The SDK now preserves the optional parent comment ID for creating and reading threaded work item comments. No actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
Linked to Plane Work Item(s) References This comment was auto-generated by Plane |
Description
Adds
parenttoCreateWorkItemCommentandWorkItemComment.The v1 API already accepts
parentwhen creating a work item comment (the id of a top-level comment on the same work item to reply to) and returns it on read, but the SDK models did not declare the field — and withextra="ignore"aparent=passed toCreateWorkItemCommentwas silently dropped rather than rejected. Threading a reply through the SDK was therefore impossible.UpdateWorkItemCommentis left unchanged.Test
Consumed by the Pi native-agent threading change in makeplane/plane-ee (PAI-1827).
Summary by CodeRabbit