fix: advertise 100MB limit, files that exceed that limit show a message - #229
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 (6)
📜 Recent review details⏰ Context from checks skipped due to timeout. (4)
🧰 Additional context used📓 Path-based instructions (2)**/*.go📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/!(ltsm)/**/*.go📄 CodeRabbit inference engine (AGENTS.md)
Files:
🔇 Additional comments (7)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe connector adds a shared 100 MiB media limit. Handlers reject oversized media before download or upload, capabilities advertise the limit, and the capability version increases to 3. ChangesFile-size capability and enforcement
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant LineMetadata
participant MediaHandler
participant Matrix
LineMetadata->>MediaHandler: FILE_SIZE metadata
MediaHandler->>MediaHandler: compare with BeeperMaxFileSize
MediaHandler->>LineMetadata: download and decrypt allowed media
MediaHandler->>MediaHandler: check downloaded size
MediaHandler->>Matrix: upload media or send oversized-media notice
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
No description provided.