Skip to content

feat: add upload and download support for work item attachments#49

Merged
Prashant-Surya merged 1 commit into
mainfrom
feat-attachments
Jun 15, 2026
Merged

feat: add upload and download support for work item attachments#49
Prashant-Surya merged 1 commit into
mainfrom
feat-attachments

Conversation

@akhil-vamshi-konam

Copy link
Copy Markdown
Contributor

Description

Adds helper methods for handling work item attachments end-to-end:

  • upload_from_bytes() to upload attachment content directly from memory.
  • get_download_url() to retrieve a presigned download URL for an attachment.
  • Handles the complete attachment upload flow:
    1. Create attachment record
    2. Upload file to S3 using the presigned URL
    3. Mark attachment as uploaded

Also bumps SDK version from 0.2.15 to 0.2.16.

Type of Change

  • Feature (non-breaking change which adds functionality)

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@akhil-vamshi-konam, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 59 minutes and 54 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ec58a64e-95c8-4dc5-80e7-e481f91adb69

📥 Commits

Reviewing files that changed from the base of the PR and between 491a923 and f53aee5.

📒 Files selected for processing (2)
  • plane/api/work_items/attachments.py
  • pyproject.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat-attachments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@akhil-vamshi-konam akhil-vamshi-konam marked this pull request as ready for review June 15, 2026 06:38
@Prashant-Surya Prashant-Surya merged commit 9adeb71 into main Jun 15, 2026
4 checks passed
@Prashant-Surya Prashant-Surya deleted the feat-attachments branch June 15, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants